[Python-checkins] cpython (2.7): be precise
benjamin.peterson
python-checkins at python.org
Sun Jul 31 05:08:32 CEST 2011
http://hg.python.org/cpython/rev/ac2a695ff888
changeset: 71648:ac2a695ff888
branch: 2.7
parent: 71637:402f94edf11b
user: Benjamin Peterson <benjamin at python.org>
date: Sat Jul 30 22:08:09 2011 -0500
summary:
be precise
files:
Doc/library/stdtypes.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2930,7 +2930,8 @@
supports no special operations. There is exactly one ellipsis object, named
:const:`Ellipsis` (a built-in name).
-It is written as ``Ellipsis`` or ``...``.
+It is written as ``Ellipsis``. When in a subscript, it can also be written as
+``...``, for example ``seq[...]``.
The NotImplemented Object
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list