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

This commit is contained in:
Michael Seifert 2017-04-15 04:03:41 +02:00 committed by Mariatta
parent 8e7201342d
commit 05bfbcd233

View file

@ -56,3 +56,14 @@ Slice Objects
.. versionchanged:: 3.2 .. versionchanged:: 3.2
The parameter type for the *slice* parameter was ``PySliceObject*`` The parameter type for the *slice* parameter was ``PySliceObject*``
before. before.
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.