Skip to content

Instantly share code, notes, and snippets.

@adw0rd
Last active November 23, 2018 12:58
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 adw0rd/3a3165ad5e8f07c86865876ff47df547 to your computer and use it in GitHub Desktop.
Save adw0rd/3a3165ad5e8f07c86865876ff47df547 to your computer and use it in GitHub Desktop.
class Dad:
def print_shit(self, shit):
print(shit)
class Son(Dad):
def some_function(self):
def mini_function(word):
super(Son, self).print_shit(word)
mini_function('hello')
Son().some_function()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment