Last active
August 29, 2015 14:06
-
-
Save sivy/2ed52b8e0a79d0698764 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Thing(object): | |
__run = True | |
run = True | |
def check_run(self): | |
print "run: %s" % self.run | |
print "__run: %s" % self.__run | |
thing = Thing() | |
thing.check_run() | |
thing.run = False | |
thing.__run = False | |
thing.check_run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment