Skip to content

Instantly share code, notes, and snippets.

@leafduo
Created July 2, 2012 11:06
Show Gist options
  • Save leafduo/3032714 to your computer and use it in GitHub Desktop.
Save leafduo/3032714 to your computer and use it in GitHub Desktop.
class Class:
pass
def say_hello(self):
print "Hello"
Class.say_hello = say_hello
Class().say_hello()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment