openmedialibrary_platform/Darwin/lib/python2.7/site-packages/twisted/test/myrebuilder2.py

17 lines
218 B
Python
Raw Normal View History

2013-10-11 17:28:32 +00:00
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'