tests/assign_attr.py | raw changeset files shortlog | value-replacement |
1.1 --- a/tests/assign_attr.py Sat Sep 02 01:19:52 2023 +0200 1.2 +++ b/tests/assign_attr.py Sat Sep 02 01:48:44 2023 +0200 1.3 @@ -20,7 +20,7 @@ 1.4 c.x.x = 2 1.5 print c # C(C(2)) 1.6 print c.x # C(2) 1.7 -print c.x.x 1.8 +print c.x.x # 2 1.9 1.10 print D.x # 1 1.11 D.x = 2 1.12 @@ -33,3 +33,9 @@ 1.13 1.14 f().x = 5 1.15 print D.x # 5 1.16 + 1.17 +D.x = c.x.x 1.18 +print D.x # 2 1.19 + 1.20 +c.x = D.x 1.21 +print c.x # 2