From: Michael Seifert Date: Sat, 15 Apr 2017 02:04:22 +0000 (+0200) Subject: [2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147) X-Git-Tag: v2.7.14rc1~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b46fcf45afe32402b34240770e01be9b5da3031;p=python [2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147) --- diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 0de950ab12..08d5b94e72 100644 --- a/Doc/c-api/slice.rst +++ b/Doc/c-api/slice.rst @@ -66,3 +66,14 @@ Slice Objects :c:type:`int *` type for *start*, *stop*, *step*, and *slicelength*. This might require changes in your code for properly supporting 64-bit systems. + + +Ellipsis Object +--------------- + + +.. c:var:: PyObject *Py_Ellipsis + + The Python ``Ellipsis`` object. This object has no methods. It needs to be + treated just like any other object with respect to reference counts. Like + :c:data:`Py_None` it is a singleton object.