Update 28_exception.py

This commit is contained in:
blueloveTH 2025-08-29 23:47:51 +08:00
parent 5f265e5ec8
commit b57b16efaf

View File

@ -233,8 +233,9 @@ def g():
except KeyError:
pass
try:
raise IndexError
except IndexError:
g()
if 0:
try:
raise IndexError
except IndexError:
g()