Skip to content

Commit a42587f

Browse files
authored
Assign "2" to match remainder of class attribute example
1 parent 426cb0c commit a42587f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ class C(A):
12211221
```py
12221222
>>> A.x, B.x, C.x
12231223
(1, 1, 1)
1224-
>>> B.x = [2]
1224+
>>> B.x = 2
12251225
>>> A.x, B.x, C.x
12261226
(1, 2, 1)
12271227
>>> A.x = 3

0 commit comments

Comments
 (0)