Commit 4901356b authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

nested_except_trace: remove indendation from example

... to facilitate copy and paste in a REPL.
parent a9abdb90
...@@ -9,9 +9,9 @@ class FixNestedExceptTrace(BaseStaticTraceFix): ...@@ -9,9 +9,9 @@ class FixNestedExceptTrace(BaseStaticTraceFix):
Try the following two snippets yourself in Python 2 and Python 3... Try the following two snippets yourself in Python 2 and Python 3...
try: try:
raise Exception("foo") raise Exception("foo")
except Exception as e: except Exception as e:
try: try:
raise Exception("bar") raise Exception("bar")
except Exception as e: except Exception as e:
...@@ -20,9 +20,9 @@ class FixNestedExceptTrace(BaseStaticTraceFix): ...@@ -20,9 +20,9 @@ class FixNestedExceptTrace(BaseStaticTraceFix):
--- ---
try: try:
raise Exception("foo") raise Exception("foo")
except Exception as e: except Exception as e:
try: try:
raise Exception("bar") raise Exception("bar")
except Exception as e: except Exception as e:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment