]> granicus.if.org Git - python/commitdiff
[3.5] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1148)
authorMichael Seifert <michaelseifert04@yahoo.de>
Sat, 15 Apr 2017 02:05:00 +0000 (04:05 +0200)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 15 Apr 2017 02:05:00 +0000 (19:05 -0700)
Doc/c-api/slice.rst

index a825164918f446c3165cde4414b4a080228c9e53..8b695e065aeffd9532176c5d22f86e8c7fa392e3 100644 (file)
@@ -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.