From 0b46fcf45afe32402b34240770e01be9b5da3031 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sat, 15 Apr 2017 04:04:22 +0200 Subject: [PATCH] [2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147) --- 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 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. -- 2.50.0