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

2
README.md vendored
View File

@@ -1221,7 +1221,7 @@ class C(A):
```py ```py
>>> A.x, B.x, C.x >>> A.x, B.x, C.x
(1, 1, 1) (1, 1, 1)
>>> B.x = [2] >>> B.x = 2
>>> A.x, B.x, C.x >>> A.x, B.x, C.x
(1, 2, 1) (1, 2, 1)
>>> A.x = 3 >>> A.x = 3