From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:24:30 +0000 (+0100) Subject: [3.12] gh-130214: Document `PyEllipsis_Type` (GH-130215) (#130224) X-Git-Tag: v3.12.10~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0274115585db8e26d9d1c0218fe65e5041c70f2c;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-130214: Document `PyEllipsis_Type` (GH-130215) (#130224) 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 819929a0e60c..76445045b21c 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