Last active
November 22, 2018 19:44
-
-
Save adw0rd/5a53eed16af63095dd439594f8ae3552 to your computer and use it in GitHub Desktop.
Inherentsy issue
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 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