-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
| Operation | Result | Notes |
|---|---|---|
s[i] |
ith item of s, origin 0 | (3) |
- If i or j is negative, the index is relative to the end of sequence s:
len(s) + iorlen(s) + jis substituted. But note that-0is still0.
We can add a note: If the sequence is empty or i is outside the sequence range, IndexError will be raised.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo