From 0dc5c3169dcd4853612d11ed8c92b12fa210c07f Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Fri, 14 Apr 2017 21:18:35 +0200 Subject: [PATCH] bpo-30059: Include Py_Ellipsis in C API documentation (#1018) --- Doc/c-api/slice.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 5606ae41a5..aece011a99 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. -- 2.40.0