3 ms·
>which currently requires a blowup of one statement into four (try, f(), except, pass). Or ... with suppress(Exception): flaky_thing() ... assuming mod
by NovemberWhiskey 4y ago
>which currently requires a blowup of one statement into four (try, f(), except, pass).
Or ...
with suppress(Exception):
flaky_thing()
... assuming modern Python.
- przemub 4y agoThat's nice, thanks for sharing that.