]> granicus.if.org Git - python/commitdiff
bpo-30059: Include Py_Ellipsis in C API documentation (#1018)
authorMichael Seifert <michaelseifert04@yahoo.de>
Fri, 14 Apr 2017 19:18:35 +0000 (21:18 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 14 Apr 2017 19:18:35 +0000 (22:18 +0300)
Doc/c-api/slice.rst

index 5606ae41a505567c9e9e070e49c69e820352d5bb..aece011a994d96ee62a0a0935618cb4f4dbce56e 100644 (file)
@@ -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.