kuroko/test/testImplicitObjectBase.krk

19 lines
284 B
Python
Raw Permalink Normal View History

class Bar(object):
def __init__(self):
super().__init__(self)
try:
let b = Bar()
except as exception:
print(exception.arg)
class Foo():
def __init__(self):
super().__init__(self)
try:
let f = Foo()
except as exception:
print(exception.arg)