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

Skip to content

Commit 0b46fcf

Browse files
MSeifert04Mariatta
authored andcommitted
[2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147)
1 parent b2b00e0 commit 0b46fcf

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
@@ -66,3 +66,14 @@ Slice Objects
6666
:c:type:`int *` type for *start*, *stop*, *step*, and *slicelength*. This
6767
might require changes in your code for properly supporting 64-bit
6868
systems.
69+
70+
71+
Ellipsis Object
72+
---------------
73+
74+
75+
.. c:var:: PyObject *Py_Ellipsis
76+
77+
The Python ``Ellipsis`` object. This object has no methods. It needs to be
78+
treated just like any other object with respect to reference counts. Like
79+
:c:data:`Py_None` it is a singleton object.

0 commit comments

Comments
 (0)