Expand description
Various types defined by the Python interpreter such as int, str and tuple.
Modules
- Iteration over Python collections.
Structs
- Represents any Python object.
- Represents a Python
bool. - Represents a Python
bytearray. - Represents a Python
bytesobject. - Represents a builtin Python function object.
- Represents a Python Capsule as described in Capsules:
- PyCodeNon-
Py_LIMITED_APIRepresents a Python code object. - Represents a Python
complexobject. - PyDateNon-
Py_LIMITED_APIBindings arounddatetime.date - PyDateTimeNon-
Py_LIMITED_APIBindings fordatetime.datetime - PyDeltaNon-
Py_LIMITED_APIBindings fordatetime.timedelta - Represents a Python
dict. - PyDictItemsNon-
PyPyRepresents a Pythondict_items. - PyDictKeysNon-
PyPyRepresents a Pythondict_keys. - PyDictValuesNon-
PyPyRepresents a Pythondict_values. - Represents a Python
floatobject. - PyFrameNon-
Py_LIMITED_APIand non-PyPyRepresents a Python frame. - Represents a Python
frozenset - Allows building a Python
frozensetone item at a time - PyFunctionNon-
Py_LIMITED_APIand non-PyPyand not (PyPyand non-Py_3_8)Represents a Python function object. - Represents a Python
intobject. - A Python iterator object.
- Represents a Python
list. - Represents a Python
intobject. - Represents a reference to a Python object supporting the mapping protocol.
- Represents a Python
moduleobject. - Represents a reference to a Python object supporting the sequence protocol.
- Represents a Python
set - Represents a Python
slice. - Return value from
PySlice::indices. - Represents a Python
string(a Unicode string object). - PySuperNon-
PyPyRepresents a Pythonsuperobject. - PyTimeNon-
Py_LIMITED_APIBindings fordatetime.time - Represents a Python traceback.
- Represents a Python
tupleobject. - Represents a reference to a Python
type object. - PyTzInfoNon-
Py_LIMITED_APIBindings fordatetime.tzinfo. - Represents a Python
string(a Unicode string object).
Enums
- PyStringDataNon-
Py_LIMITED_APIRepresents raw data backing a Pythonstr.
Traits
- Conversion trait that allows a sequence of tuples to be converted into
PyDictPrimary use case for this trait iscallandcall_methodmethods as keywords argument. - PyDateAccessNon-
Py_LIMITED_APITrait for accessing the date components of a struct containing a date. - PyDeltaAccessNon-
Py_LIMITED_APITrait for accessing the components of a struct containing a timedelta. - PyTimeAccessNon-
Py_LIMITED_APITrait for accessing the time components of a struct containing a time. - PyTzInfoAccessNon-
Py_LIMITED_APITrait for accessing the components of a struct containing a tzinfo.
Functions
- timezone_utcNon-
Py_LIMITED_APIEquivalent todatetime.timezone.utc