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

16 lines
218 B
Python

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