summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/slice.rst
diff options
context:
space:
mode:
authorMichael Seifert <michaelseifert04@yahoo.de>2017-04-15 02:03:41 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-04-15 02:03:41 (GMT)
commit05bfbcd233b2f5ba0d0634a380092d6ead6b35e1 (patch)
treeeeaa927ebe10e98454b8ad7f67e5c9b9806e4844 /Doc/c-api/slice.rst
parent8e7201342dc6eef201bfa4f533ad89a8144fd693 (diff)
downloadcpython-05bfbcd233b2f5ba0d0634a380092d6ead6b35e1.zip
cpython-05bfbcd233b2f5ba0d0634a380092d6ead6b35e1.tar.gz
cpython-05bfbcd233b2f5ba0d0634a380092d6ead6b35e1.tar.bz2
[3.6] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1149)
Diffstat (limited to 'Doc/c-api/slice.rst')
-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 a825164..8b695e0 100644
--- a/Doc/c-api/slice.rst
+++ b/Doc/c-api/slice.rst
@@ -56,3 +56,14 @@ Slice Objects
.. versionchanged:: 3.2
The parameter type for the *slice* parameter was ``PySliceObject*``
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.