mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-04 20:38:06 +02:00
Add one more statement to explanation snippet
This commit is contained in:
parent
41042a61ba
commit
491a98e478
1 changed files with 2 additions and 0 deletions
2
README.md
vendored
2
README.md
vendored
|
@ -2065,6 +2065,8 @@ a, b = a[b] = {}, 5
|
|||
[[...]]
|
||||
>>> some_list is some_list[0]
|
||||
True
|
||||
>>> some_list[0][0][0][0][0][0] == some_list
|
||||
True
|
||||
```
|
||||
Similar is the case in our example (`a[b][0]` is the same object as `a`)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue