]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-9842: Add cross-reference to the ellipsis object (GH-4063)
authorPablo Galindo <Pablogsal@gmail.com>
Sun, 4 Nov 2018 22:36:25 +0000 (22:36 +0000)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 4 Nov 2018 22:36:25 +0000 (14:36 -0800)
This PR adds a cross-reference to the ellipsis object and the representation of recursive item in containers as indicated in [issue 9842](https://bugs.python.org/issue9842) by @bitdancer.

https://bugs.python.org/issue9842

Doc/glossary.rst

index b8e773741ce7e21fb97cd6927bcd220fca2803d4..02adc0c56ece643072b3bec39c3b10c094261c6c 100644 (file)
@@ -13,10 +13,14 @@ Glossary
       examples which can be executed interactively in the interpreter.
 
    ``...``
-      The default Python prompt of the interactive shell when entering code for
-      an indented code block, when within a pair of matching left and right
-      delimiters (parentheses, square brackets, curly braces or triple quotes),
-      or after specifying a decorator.
+      Can refer to:
+
+      * The default Python prompt of the interactive shell when entering code for
+        an indented code block, when within a pair of matching left and right
+        delimiters (parentheses, square brackets, curly braces or triple quotes),
+        or after specifying a decorator.
+
+      * The :const:`Ellipsis` built-in constant.
 
    2to3
       A tool that tries to convert Python 2.x code to Python 3.x code by