1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-06-10 06:59:50 +02:00

Assign "2" to match remainder of class attribute example

This commit is contained in:
Jason A. Ribeiro 2017-09-03 19:26:36 -04:00 committed by GitHub
parent 426cb0c2cb
commit a42587ffb7

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