Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f40e72d

Browse files
MSeifert04Mariatta
authored andcommitted
[3.5] bpo-30059: Include Py_Ellipsis in C API documentation (pythonGH-1018) (pythonGH-1148)
1 parent c40740c commit f40e72d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Doc/c-api/slice.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,14 @@ Slice Objects
5656
.. versionchanged:: 3.2
5757
The parameter type for the *slice* parameter was ``PySliceObject*``
5858
before.
59+
60+
61+
Ellipsis Object
62+
---------------
63+
64+
65+
.. c:var:: PyObject *Py_Ellipsis
66+
67+
The Python ``Ellipsis`` object. This object has no methods. It needs to be
68+
treated just like any other object with respect to reference counts. Like
69+
:c:data:`Py_None` it is a singleton object.

0 commit comments

Comments
 (0)