summaryrefslogtreecommitdiff
path: root/doc/data/messages/w/wrong-exception-operation/bad.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/w/wrong-exception-operation/bad.py')
-rw-r--r--doc/data/messages/w/wrong-exception-operation/bad.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/data/messages/w/wrong-exception-operation/bad.py b/doc/data/messages/w/wrong-exception-operation/bad.py
index 20fcc2aab..e4aff5d8b 100644
--- a/doc/data/messages/w/wrong-exception-operation/bad.py
+++ b/doc/data/messages/w/wrong-exception-operation/bad.py
@@ -1,4 +1,4 @@
try:
- 1/0
-except (ValueError + TypeError): # [wrong-exception-operation]
+ 1 / 0
+except ValueError + TypeError: # [wrong-exception-operation]
pass