1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-25 12:34:23 +01:00
Assign "2" to match remainder of class attribute example
This commit is contained in:
Satwik Kansal 2017-09-04 03:24:14 -07:00 committed by GitHub
commit 39480cc579

2
README.md vendored
View File

@ -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