mirror of
https://github.com/python/cpython.git
synced 2024-12-02 06:14:49 +08:00
Issue #29112: Fix a questionable wording in sequence doc.
This commit is contained in:
parent
440d70301b
commit
cea904f286
@ -927,7 +927,7 @@ Notes:
|
||||
:ref:`faq-multidimensional-list`.
|
||||
|
||||
(3)
|
||||
If *i* or *j* is negative, the index is relative to the end of the string:
|
||||
If *i* or *j* is negative, the index is relative to the end of sequence *s*:
|
||||
``len(s) + i`` or ``len(s) + j`` is substituted. But note that ``-0`` is
|
||||
still ``0``.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user