From: Michael Seifert Date: Fri, 14 Apr 2017 19:18:35 +0000 (+0200) Subject: bpo-30059: Include Py_Ellipsis in C API documentation (#1018) X-Git-Tag: v3.7.0a1~963 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dc5c3169dcd4853612d11ed8c92b12fa210c07f;p=thirdparty%2FPython%2Fcpython.git bpo-30059: Include Py_Ellipsis in C API documentation (#1018) --- diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 5606ae41a505..aece011a994d 100644 --- a/Doc/c-api/slice.rst +++ b/Doc/c-api/slice.rst @@ -93,3 +93,14 @@ Slice Objects code. .. versionadded:: 3.6.1 + + +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.