-
-
Save jan-matejka/0ad29af48d2ade842b82314a2ba3696f 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 Sess: | |
| def __init__(self, foo): | |
| self.foo = foo | |
| print("init Sess") | |
| class Lock: | |
| def __init__(self): | |
| print("init Lock") | |
| class AppC: | |
| def __init__(self): | |
| self.apps = dict() | |
| print("init AppC") | |
| class MemSess(Sess, Lock, AppC): | |
| def __init__(self, *args, **kw): | |
| super().__init__(*args, **kw) | |
| print("init MemSess") | |
| m = MemSess("bar") | |
| print(m.apps) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment