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:
- PyCode
Non- Py_LIMITED_APIand non-PyPyand non-GraalPyRepresents a Python code object. - Represents a Python
complexobject. - PyDate
Non- Py_LIMITED_APIBindings arounddatetime.date. - PyDate
Time Non- Py_LIMITED_APIBindings fordatetime.datetime. - PyDelta
Non- Py_LIMITED_APIBindings fordatetime.timedelta. - Represents a Python
dict. - PyDict
Items Neither PyPynorGraalPyRepresents a Pythondict_items. - PyDict
Keys Neither PyPynorGraalPyRepresents a Pythondict_keys. - PyDict
Values Neither PyPynorGraalPyRepresents a Pythondict_values. - Represents the Python
Ellipsisobject. - Represents a Python
floatobject. - PyFrame
Non- Py_LIMITED_APIand non-PyPyand non-GraalPyRepresents a Python frame. - Represents a Python
frozenset. - Allows building a Python
frozensetone item at a time - PyFunction
Non- Py_LIMITED_APIand not (PyPyand non-Py_3_8) and non-GraalPyRepresents a Python function object. - Represents a Python
intobject. - A Python iterator object.
- Represents a Python
list. - Represents a reference to a Python object supporting the mapping protocol.
- Represents a Python
mappingproxy. - Represents a Python
memoryview. - Represents a Python
moduleobject. - Represents the Python
Noneobject. - Represents the Python
NotImplementedobject. - Represents a reference to a Python object supporting the sequence protocol.
- Represents a Python
set. - Represents a Python
slice. - Return value from
PySliceMethods::indices. - Represents a Python
string(a Unicode string object). - PySuper
Neither PyPynorGraalPyRepresents a Pythonsuperobject. - PyTime
Non- Py_LIMITED_APIBindings fordatetime.time. - Represents a Python traceback.
- Represents a Python
tupleobject. - Represents a reference to a Python
typeobject. - PyTz
Info Non- Py_LIMITED_APIBindings fordatetime.tzinfo. - Represents any Python
weakrefreference. - Represents any Python
weakrefProxy type. - Represents a Python
weakref.ReferenceType.
Enums§
- PyString
Data Non- Py_LIMITED_APIRepresents raw data backing a Pythonstr.
Traits§
- Python objects that have a base type.
- Conversion trait that allows a sequence of tuples to be converted into
PyDictPrimary use case for this trait iscallandcall_methodmethods as keywords argument. - This trait represents the Python APIs which are usable on all Python objects.
- Implementation of functionality for
PyBool. - Implementation of functionality for
PyByteArray. - Implementation of functionality for
PyBytes. - Implementation of functionality for
PyCapsule. - Implementation of functionality for
PyComplex. - PyDate
Access Non- Py_LIMITED_APITrait for accessing the date components of a struct containing a date. - PyDelta
Access Non- Py_LIMITED_APITrait for accessing the components of a struct containing a timedelta. - Implementation of functionality for
PyDict. - Implementation of functionality for
PyFloat. - Implementation of functionality for
PyFrozenSet. - Implementation of functionality for
PyList. - Implementation of functionality for
PyMapping. - Implementation of functionality for
PyModule. - Implementation of functionality for
PySequence. - Implementation of functionality for
PySet. - Implementation of functionality for
PySlice. - Implementation of functionality for
PyString. - PyTime
Access Non- Py_LIMITED_APITrait for accessing the time components of a struct containing a time. - Implementation of functionality for
PyTraceback. - Implementation of functionality for
PyTuple. - Implementation of functionality for
PyType. - PyTz
Info Access Non- Py_LIMITED_APITrait for accessing the components of a struct containing a tzinfo. - Implementation of functionality for
PyWeakref.
Functions§
- timezone_
utc Non- Py_LIMITED_APIEquivalent todatetime.timezone.utc - timezone_
utc_ bound Deprecated Non- Py_LIMITED_APIDeprecated name fortimezone_utc.