R
rbt
If I have a Python list that I'm iterating over and one of the objects
in the list raises an exception and I have code like this:
try:
do something to object in list
except Exception:
pass
Does the code just skip the bad object and continue with the other
objects in the list, or does it stop?
Thanks
in the list raises an exception and I have code like this:
try:
do something to object in list
except Exception:
pass
Does the code just skip the bad object and continue with the other
objects in the list, or does it stop?
Thanks