Last active
March 2, 2016 16:38
-
-
Save sylistine/805bf652ab6fd8ff6a2a to your computer and use it in GitHub Desktop.
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 MyClass: | |
str = "test string" # not an error | |
x = 0 # not an error | |
def __init__(self): | |
print self.str | |
print self.x | |
# outside of class scope |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment