mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
17 lines
172 B
Python
17 lines
172 B
Python
#Inconsistent MRO
|
|
|
|
class X(object):
|
|
pass
|
|
|
|
class Y(X):
|
|
pass
|
|
|
|
class Z(X, Y):
|
|
pass
|
|
|
|
class O:
|
|
pass
|
|
|
|
#This is OK in Python 2
|
|
class N(object, O):
|
|
pass |