Skip to content

Commit 1ac0461

Browse files
committed
Minor syntax fix.
1 parent 9704b8b commit 1ac0461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python_Tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Sometimes in an exception handler (`try-except` block), you simply want log the
470470
```python
471471
try:
472472
something_that_might_throw_exception()
473-
exception Exception:
473+
except Exception:
474474
pass
475475
```
476476

0 commit comments

Comments
 (0)