Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Document missing built-in types in the C API.
  • Loading branch information
ZeroIntensity committed Nov 4, 2025
commit ac588e518664446367242adcf1200fda290961a0
28 changes: 28 additions & 0 deletions Doc/c-api/builtin.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.. highlight:: c

.. _other-builtin-types:

Other Builtin Types
-------------------

These are built-in types that are included in Python's C API, but provide no
additional functions. They are here for completeness.

.. c:var:: PyTypeObject PyEnum_Type

The type object for :class:`enumerate` objects.


.. c:var:: PyTypeObject PyMap_Type

The type object for :class:`map` objects.


.. c:var:: PyTypeObject PyReversed_Type

The type object for :class:`reversed` objects.


.. c:var:: PyTypeObject PyZip_Type

The type object for :class:`zip` objects.
1 change: 1 addition & 0 deletions Doc/c-api/concrete.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,4 @@ Other Objects
contextvars.rst
datetime.rst
typehints.rst
builtin.rst