Skip to content

Instantly share code, notes, and snippets.

@sunsided

sunsided/test.py Secret

Created March 15, 2017 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sunsided/3e603f4cf3265fbb61c9da56a265259d to your computer and use it in GitHub Desktop.
Save sunsided/3e603f4cf3265fbb61c9da56a265259d to your computer and use it in GitHub Desktop.
def nope(self):
print(self)
class Test:
def __init__(self):
self.nope = nope
def yup(self):
print(self)
test = Test()
test.yup()
test.nope()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment