Т
Size: a a a
Т
Т
py3
try:
raise ConnectionRefusedError()
except ConnectionError:
print("...")
...
q
py3
try:
raise TypeError()
except (ValueError, TypeError):
print("handle")
handle
Т
q
Т
q
ЮЧ
q
q
Т
py3
try:
raise ValueError()
except TypeError:
print("type err")
except ValueError:
print("value err")
value err
ЮЧ
Т
F
q
ЮЧ
q
DS
q
q