Skip to content

Commit 39480cc

Browse files
authored
Fix typo
Assign "2" to match remainder of class attribute example
2 parents 426cb0c + a42587f commit 39480cc

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)