19 lines
284 B
Python
19 lines
284 B
Python
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)
|
|
|