-
-
Save frogstarr78/9a0f3d08a6829d1e1fb8 to your computer and use it in GitHub Desktop.
natural open struct in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Class: | |
pass | |
x = Class() | |
x.something = 42 | |
print(x.something) # 42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment