mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse)
This commit is contained in:
parent
8ed75cd8e9
commit
a4c8c47961
8 changed files with 44 additions and 54 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue