Created
May 22, 2015 15:05
-
-
Save ricomoss/76ff3d04cf5f72652942 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 Mixin1(Base1): | |
def get_data(self): | |
# Gather some data in some way | |
class Mixin2(Base2): | |
def get_data(self): | |
# Gather some data in another way | |
class MyClass(Mixin1, Mixin2): | |
def get_data(self): | |
# Gather some data in yet another way. Then... | |
# Get Mixin2's version of get_data. Then... | |
# Get Mixin1's version of get_data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment