We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09e5aac + 8e40afc commit 7c62e97Copy full SHA for 7c62e97
06-class-attributes-1.py
@@ -17,6 +17,7 @@ def set_val(self):
17
18
dd = YourClass()
19
dd.classy # This will fetch the class attribute 10.
20
+dd.set_val()
21
dd.insty # This will fetch the instance attribute 100.
22
23
# Once `dd` is instantiated, we can access both the class and instance
0 commit comments