]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-46236: Document `PyUnicodeIter_Type` (GH-132925)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Tue, 29 Apr 2025 12:23:06 +0000 (13:23 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Apr 2025 12:23:06 +0000 (14:23 +0200)
Doc/c-api/unicode.rst

index 1b426ff3841ca42c57fd70daf4ff47c546240246..95987e872ce639df42d93c935d4cef52117f267d 100644 (file)
@@ -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