Skip to content

Instantly share code, notes, and snippets.

@adw0rd
Last active November 22, 2018 19:44
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/5a53eed16af63095dd439594f8ae3552 to your computer and use it in GitHub Desktop.
Save adw0rd/5a53eed16af63095dd439594f8ae3552 to your computer and use it in GitHub Desktop.
Inherentsy issue
class Grandpa:
def print_some_shit(self, item):
print(item)
class Dad(Grandpa):
def __init__(self):
super().__init__()
self.shit = 'hello'
class Child(Dad):
def __init__(self):
super().__init__()
self.output = super().print_some_shit(self.shit)
Child().output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment