Maintainer | John Goerzen, |
---|---|
Safe Haskell | Safe-Infered |
Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable
Interfaces to low-level Python types. You should probably not use this module directly. You probably want Python.Objects instead.
You'll only need this module directly if you are importing new functions from the Python C API.
Written by John Goerzen, jgoerzen@complete.org
- newtype PyObject = PyObject (ForeignPtr CPyObject)
- type CPyObject = ()
- data PyException = PyException {}
- data StartFrom
- newtype PyGILState = PyGILState (ForeignPtr CPyGILState)
- type CPyGILState = ()
Documentation
The type of Python objects.
Eq PyObject | |
Show PyObject | |
FromPyObject a => FromPyObject [(a, PyObject)] | |
FromPyObject [(PyObject, PyObject)] | ALs from Dicts |
FromPyObject [PyObject] | Tuples and Lists to [PyObject] lists |
ToPyObject a => ToPyObject [(a, PyObject)] | This is a common variant used for arg lists |
ToPyObject [(PyObject, PyObject)] | Dicts from ALs |
ToPyObject [PyObject] | Lists from a PyObject |
data PyException Source
The type of Python exceptions.
PyException | |
|
How to interpret a snippet of Python code.
type CPyGILState = ()Source