Files
RustPython/tests/snippets/try_exceptions.py
Windel Bouwman d4e735783e Some formatting
2018-08-23 23:11:57 +02:00

10 lines
161 B
Python

try:
raise BaseException()
except BaseException as ex:
print(ex)
print(type(ex))
# print(ex.__traceback__)
# print(type(ex.__traceback__))