openmedialibrary_platform/Linux/lib/python2.7/site-packages/twisted/test/myrebuilder1.py
2014-05-16 01:20:41 +02:00

15 lines
217 B
Python

class A:
def a(self):
return 'a'
try:
object
except NameError:
pass
else:
class B(object, A):
def b(self):
return 'b'
class Inherit(A):
def a(self):
return 'c'