You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
34 lines
432 B
Python
34 lines
432 B
Python
class A:
|
|
|
|
class A1:
|
|
def __init__(self):
|
|
self.a1 = True
|
|
|
|
def foo(self):
|
|
self.b = True
|
|
|
|
def __init__(self):
|
|
self.a = True
|
|
|
|
def foo(self):
|
|
self.fooed = True
|
|
|
|
|
|
class B:
|
|
def __init__(self):
|
|
self.bed = True
|
|
|
|
def bar(self):
|
|
self.barred = True
|
|
|
|
|
|
class C(A,B):
|
|
def foobar(self):
|
|
self.foobared = True
|
|
|
|
|
|
c = C()
|
|
c.foo()
|
|
c.bar()
|
|
c.foobar()
|