1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-06-03 03:48:02 +02: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