---
source: crates/ruff_linter/src/rules/perflint/mod.rs
---
PERF203 `try`-`except` within a loop incurs performance overhead
 --> PERF203.py:5:5
  |
3 |       try:
4 |           print(f"{i}")
5 | /     except:
6 | |         print("error")
  | |______________________^
7 |
8 |   # OK
  |
