diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-31 03:08:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-31 03:08:09 (GMT) |
commit | 35fd1b9107a54a2161e00c870083b03897bc344e (patch) | |
tree | d5e1af4d16641361cffe9cb9fe5b802c7a4b684b /Doc | |
parent | 110b7811290d1de42399996c108a98b871436642 (diff) | |
download | cpython-35fd1b9107a54a2161e00c870083b03897bc344e.zip cpython-35fd1b9107a54a2161e00c870083b03897bc344e.tar.gz cpython-35fd1b9107a54a2161e00c870083b03897bc344e.tar.bz2 |
be precise
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 7a0cf23..dc3a814 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2930,7 +2930,8 @@ This object is used by extended slice notation (see :ref:`slicings`). It 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 |