]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-130214: Document `PyEllipsis_Type` (GH-130215) (#130223)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 17 Feb 2025 16:23:42 +0000 (17:23 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2025 16:23:42 +0000 (19:23 +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 8adf6a961378a3662d0f223d838660dbe09a2111..c6d761fe7fd1c96c9fa542cf33faee4ccfb3576b 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