[Python-checkins] bpo-9842: Add cross-reference to the ellipsis object (GH-4063)

Miss Islington (bot) webhook-mailer at python.org
Sun Nov 4 17:36:28 EST 2018


https://github.com/python/cpython/commit/b4db249c9544fc4425c32feb86d610f3224ca3d8
commit: b4db249c9544fc4425c32feb86d610f3224ca3d8
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2018-11-04T14:36:25-08:00
summary:

bpo-9842: Add cross-reference to the ellipsis object (GH-4063)



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

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index b8e773741ce7..02adc0c56ece 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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



More information about the Python-checkins mailing list