Created
December 8, 2012 13:00
-
-
Save reorx/4240166 to your computer and use it in GitHub Desktop.
This file contains 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 CMixin(object): | |
def do_something(self): | |
# do something here | |
pass | |
class AHandler(BaseHandler, CMixin): | |
def get(self): | |
# ... | |
self.do_something() | |
# ... | |
class BHandler(BaseHandler, CMixin): | |
def get(self): | |
# ... | |
self.do_something() | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment