mirror of
https://github.com/satwikkansal/wtfpython
synced 2025-07-04 20:38:06 +02:00
Assign "2" to match remainder of class attribute example
This commit is contained in:
parent
426cb0c2cb
commit
a42587ffb7
1 changed files with 1 additions and 1 deletions
2
README.md
vendored
2
README.md
vendored
|
@ -1221,7 +1221,7 @@ class C(A):
|
|||
```py
|
||||
>>> A.x, B.x, C.x
|
||||
(1, 1, 1)
|
||||
>>> B.x = [2]
|
||||
>>> B.x = 2
|
||||
>>> A.x, B.x, C.x
|
||||
(1, 2, 1)
|
||||
>>> A.x = 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue