From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:23:42 +0000 (+0100) Subject: [3.13] gh-130214: Document `PyEllipsis_Type` (GH-130215) (#130223) X-Git-Tag: v3.13.3~258 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc1c9f884e84bb33b7bfc5a4591bfca979f6eb17;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-130214: Document `PyEllipsis_Type` (GH-130215) (#130223) gh-130214: Document `PyEllipsis_Type` (GH-130215) (cherry picked from commit fc8c99a8ce483db23fa624592457e350e99193f6) Co-authored-by: Yuki Kobayashi --- diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 8adf6a961378..c6d761fe7fd1 100644 --- a/Doc/c-api/slice.rst +++ b/Doc/c-api/slice.rst @@ -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