https://github.com/python/cpython/commit/bba14c3e0129dc6c36c304018ab60a5580043f55
commit: bba14c3e0129dc6c36c304018ab60a5580043f55
branch: main
author: Stan Ulbrych <89152624+stanfromirel...@users.noreply.github.com>
committer: encukou <encu...@gmail.com>
date: 2025-04-29T14:23:06+02:00
summary:

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

files:
M Doc/c-api/unicode.rst

diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 1b426ff3841ca4..95987e872ce639 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -33,8 +33,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 :py:class:`str`.
+   This instance of :c:type:`PyTypeObject` represents the Python Unicode type.
+   It is exposed to Python code as :py:class:`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.
 
 
 .. c:type:: Py_UCS4

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to