[3.13] gh-46236: Document PyUnicodeIter_Type (GH-132925) (GH-133149)

gh-46236: Document `PyUnicodeIter_Type` (GH-132925)

(cherry picked from commit bba14c3e01)

# Conflicts:
#	Doc/c-api/unicode.rst
This commit is contained in:
Stan Ulbrych 2025-04-29 17:11:31 +01:00 committed by GitHub
parent dcbda412a1
commit ff4134603a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,8 +68,14 @@ Python:
.. c:var:: PyTypeObject PyUnicode_Type
This instance of :c:type:`PyTypeObject` represents the Python Unicode type. It
is exposed to Python code as ``str``.
This instance of :c:type:`PyTypeObject` represents the Python Unicode type.
It is exposed to Python code as ``str``.
.. c:var:: PyTypeObject PyUnicodeIter_Type
This instance of :c:type:`PyTypeObject` represents the Python Unicode
iterator type. It is used to iterate over Unicode string objects.
The following APIs are C macros and static inlined functions for fast checks and