Last active
November 23, 2018 12:58
-
-
Save adw0rd/3a3165ad5e8f07c86865876ff47df547 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 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