mro.py
This commit is contained in:
parent
30f63c56dc
commit
743ac3ce55
1 changed files with 10 additions and 0 deletions
10
python-temel/mro.py
Normal file
10
python-temel/mro.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
class A:
|
||||
pass
|
||||
|
||||
class B(A):
|
||||
pass
|
||||
|
||||
class C(B):
|
||||
pass
|
||||
|
||||
print(C.__mro__)
|
Loading…
Reference in a new issue