2021-01-16 16:47:52 +03:00
|
|
|
class Bar(object):
|
|
|
|
def __init__(self):
|
|
|
|
super().__init__(self)
|
|
|
|
|
|
|
|
try:
|
|
|
|
let b = Bar()
|
2023-11-25 05:11:56 +03:00
|
|
|
except as exception:
|
2021-01-16 16:47:52 +03:00
|
|
|
print(exception.arg)
|
|
|
|
|
|
|
|
class Foo():
|
|
|
|
def __init__(self):
|
|
|
|
super().__init__(self)
|
|
|
|
|
|
|
|
try:
|
|
|
|
let f = Foo()
|
2023-11-25 05:11:56 +03:00
|
|
|
except as exception:
|
2021-01-16 16:47:52 +03:00
|
|
|
print(exception.arg)
|
|
|
|
|