| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CPython.System
Synopsis
- getObject :: Text -> IO (Maybe SomeObject)
- setObject :: Object a => Text -> a -> IO ()
- deleteObject :: Text -> IO ()
- resetWarnOptions :: IO ()
- addWarnOption :: Text -> IO ()
- setPath :: Text -> IO ()
Documentation
getObject :: Text -> IO (Maybe SomeObject) Source #
Return the object name from the sys module, or Nothing if it does
not exist.
deleteObject :: Text -> IO () Source #
Delete name from the sys module.
resetWarnOptions :: IO () Source #
Add an entry to sys.warnoptions.
Reset sys.warnoptions to an empty list.
addWarnOption :: Text -> IO () Source #