Add python-exception/README.md

This commit is contained in:
2024-08-21 08:26:30 -04:00
parent 1f2926a974
commit 157244f894

View File

@@ -0,0 +1,6 @@
```python
import contextlib
_try = contextlib.suppress(Exception)
with _try: print(1/0)
with _try: print(1/1)
```