diff options
author | Georg Brandl <georg@python.org> | 2014-10-31 09:38:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-31 09:38:49 (GMT) |
commit | a4c8c47961305487ef6c40a6d882bb956f2c5a0b (patch) | |
tree | ade0c211dbcb38c39d91274d8ba6fdadd03bf8bc /Doc/reference/expressions.rst | |
parent | 8ed75cd8e931c075c38246fbd50dd5f18defdba6 (diff) | |
download | cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.zip cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.gz cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.bz2 |
#22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse)
Diffstat (limited to 'Doc/reference/expressions.rst')
-rw-r--r-- | Doc/reference/expressions.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 2b81522..9fc5f4d 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -619,8 +619,8 @@ slice list contains no proper slice). single: stop (slice object attribute) single: step (slice object attribute) -The semantics for a slicing are as follows. The primary must evaluate to a -mapping object, and it is indexed (using the same :meth:`__getitem__` method as +The semantics for a slicing are as follows. The primary is indexed (using the +same :meth:`__getitem__` method as normal subscription) with a key that is constructed from the slice list, as follows. If the slice list contains at least one comma, the key is a tuple containing the conversion of the slice items; otherwise, the conversion of the |