Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
my2to3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
my2to3
Commits
4901356b
Commit
4901356b
authored
Aug 03, 2020
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nested_except_trace: remove indendation from example
... to facilitate copy and paste in a REPL.
parent
a9abdb90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
my2to3/fixes/fix_nested_except_trace.py
my2to3/fixes/fix_nested_except_trace.py
+11
-11
No files found.
my2to3/fixes/fix_nested_except_trace.py
View file @
4901356b
...
...
@@ -9,9 +9,9 @@ class FixNestedExceptTrace(BaseStaticTraceFix):
Try the following two snippets yourself in Python 2 and Python 3...
try:
try:
raise Exception("foo")
except Exception as e:
except Exception as e:
try:
raise Exception("bar")
except Exception as e:
...
...
@@ -20,9 +20,9 @@ class FixNestedExceptTrace(BaseStaticTraceFix):
---
try:
try:
raise Exception("foo")
except Exception as e:
except Exception as e:
try:
raise Exception("bar")
except Exception as e:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment