summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMichael Seifert <michaelseifert04@yahoo.de>2017-04-14 19:18:35 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-04-14 19:18:35 (GMT)
commit0dc5c3169dcd4853612d11ed8c92b12fa210c07f (patch)
treeb77c2fffa7e46b2a6504aed4729367438a6a1179 /Doc
parente4f961be0946639eb4356e274268dd9b5e90da9b (diff)
downloadcpython-0dc5c3169dcd4853612d11ed8c92b12fa210c07f.zip
cpython-0dc5c3169dcd4853612d11ed8c92b12fa210c07f.tar.gz
cpython-0dc5c3169dcd4853612d11ed8c92b12fa210c07f.tar.bz2
bpo-30059: Include Py_Ellipsis in C API documentation (#1018)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/slice.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst
index 5606ae4..aece011 100644
--- a/Doc/c-api/slice.rst
+++ b/Doc/c-api/slice.rst
@@ -93,3 +93,14 @@ Slice Objects
code.
.. versionadded:: 3.6.1
+
+
+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.