[2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147)

This commit is contained in:
Michael Seifert 2017-04-15 04:04:22 +02:00 committed by Mariatta
parent b2b00e039c
commit 0b46fcf45a
1 changed files with 11 additions and 0 deletions

View File

@ -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.