6 lines
113 B
Markdown
6 lines
113 B
Markdown
```python
|
|
import contextlib
|
|
_try = contextlib.suppress(Exception)
|
|
with _try: print(1/0)
|
|
with _try: print(1/1)
|
|
``` |