]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-130214: Document `PyEllipsis_Type` (GH-130215) (#130224)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 17 Feb 2025 16:24:30 +0000 (17:24 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2025 16:24:30 +0000 (19:24 +0300)
gh-130214: Document `PyEllipsis_Type` (GH-130215)
(cherry picked from commit fc8c99a8ce483db23fa624592457e350e99193f6)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
Doc/c-api/slice.rst

index 819929a0e60ca75a8d076931c1718b9918585498..76445045b21c410e8cfe6bdd68910947f6a2ef30 100644 (file)
@@ -118,6 +118,12 @@ Ellipsis Object
 ^^^^^^^^^^^^^^^
 
 
+.. c:var:: PyTypeObject PyEllipsis_Type
+
+   The type of Python :const:`Ellipsis` object.  Same asĀ :class:`types.EllipsisType`
+   in the Python layer.
+
+
 .. c:var:: PyObject *Py_Ellipsis
 
    The Python ``Ellipsis`` object.  This object has no methods.  Like