| Safe Haskell | None |
|---|
CPython.System
- 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
Reset sys.warnoptions to an empty list.
addWarnOption :: Text -> IO ()Source
Add an entry to sys.warnoptions.