Expand description
Various types defined by the Python interpreter such as int, str and tuple.
Modules§
- iter
- Iteration over Python collections.
Structs§
- PyAny
- Represents any Python object.
- PyBool
- Represents a Python
bool. - PyByte
Array - Represents a Python
bytearray. - PyBytes
- Represents a Python
bytesobject. - PyCFunction
- Represents a builtin Python function object.
- PyCapsule
- Represents a Python Capsule as described in Capsules:
- PyCode
- Represents a Python code object.
- PyComplex
- Represents a Python
complexobject. - PyDate
- Bindings around
datetime.date. - PyDate
Time - Bindings for
datetime.datetime. - PyDelta
- Bindings for
datetime.timedelta. - PyDict
- Represents a Python
dict. - PyDict
Items - Represents a Python
dict_items. - PyDict
Keys - Represents a Python
dict_keys. - PyDict
Values - Represents a Python
dict_values. - PyEllipsis
- Represents the Python
Ellipsisobject. - PyFloat
- Represents a Python
floatobject. - PyFrozen
Set - Represents a Python
frozenset. - PyFrozen
SetBuilder - Allows building a Python
frozensetone item at a time - PyInt
- Represents a Python
intobject. - PyIterator
- A Python iterator object.
- PyList
- Represents a Python
list. - PyMapping
- Represents a reference to a Python object supporting the mapping protocol.
- PyMapping
Proxy - Represents a Python
mappingproxy. - PyMemory
View - Represents a Python
memoryview. - PyModule
- Represents a Python
moduleobject. - PyNone
- Represents the Python
Noneobject. - PyNot
Implemented - Represents the Python
NotImplementedobject. - PyRange
- Represents a Python
range. - PySequence
- Represents a reference to a Python object supporting the sequence protocol.
- PySet
- Represents a Python
set. - PySlice
- Represents a Python
slice. - PySlice
Indices - Return value from
PySliceMethods::indices. - PyString
- Represents a Python
string(a Unicode string object). - PySuper
- Represents a Python
superobject. - PyTime
- Bindings for
datetime.time. - PyTraceback
- Represents a Python traceback.
- PyTuple
- Represents a Python
tupleobject. - PyType
- Represents a reference to a Python
typeobject. - PyTz
Info - Bindings for
datetime.tzinfo. - PyWeakref
- Represents any Python
weakrefreference. - PyWeakref
Proxy - Represents any Python
weakrefProxy type. - PyWeakref
Reference - Represents a Python
weakref.ReferenceType.
Enums§
- PyCode
Input - Compilation mode of
PyCode::compile
Traits§
- Deref
ToPy Any - Python objects that have a base type.
- Into
PyDict - Conversion trait that allows a sequence of tuples to be converted into
PyDictPrimary use case for this trait iscallandcall_methodmethods as keywords argument. - PyAny
Methods - This trait represents the Python APIs which are usable on all Python objects.
- PyBool
Methods - Implementation of functionality for
PyBool. - PyByte
Array Methods - Implementation of functionality for
PyByteArray. - PyBytes
Methods - Implementation of functionality for
PyBytes. - PyCapsule
Methods - Implementation of functionality for
PyCapsule. - PyCode
Methods - Implementation of functionality for
PyCode. - PyComplex
Methods - Implementation of functionality for
PyComplex. - PyDict
Methods - Implementation of functionality for
PyDict. - PyFloat
Methods - Implementation of functionality for
PyFloat. - PyFrozen
SetMethods - Implementation of functionality for
PyFrozenSet. - PyList
Methods - Implementation of functionality for
PyList. - PyMapping
Methods - Implementation of functionality for
PyMapping. - PyModule
Methods - Implementation of functionality for
PyModule. - PyRange
Methods - Implementation of functionality for
PyRange. - PySequence
Methods - Implementation of functionality for
PySequence. - PySet
Methods - Implementation of functionality for
PySet. - PySlice
Methods - Implementation of functionality for
PySlice. - PyString
Methods - Implementation of functionality for
PyString. - PyTraceback
Methods - Implementation of functionality for
PyTraceback. - PyTuple
Methods - Implementation of functionality for
PyTuple. - PyType
Methods - Implementation of functionality for
PyType. - PyTz
Info Access - Trait for accessing the components of a struct containing a tzinfo.
- PyWeakref
Methods - Implementation of functionality for
PyWeakref.
Functions§
- timezone_
utc Deprecated - Equivalent to
datetime.timezone.utc