Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AClass:
- staticVar = 3
- def func():
- # Refer to staticVar as AClass.staticVar instead of self.staticVar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement