Commit 7a801839 authored by Jonathan Eunice's avatar Jonathan Eunice Committed by Mariatta

bpo-30620: Remove dead lines from textwrap.dedent (GH-2064)

parent 214f7eed
...@@ -450,8 +450,6 @@ def dedent(text): ...@@ -450,8 +450,6 @@ def dedent(text):
if x != y: if x != y:
margin = margin[:i] margin = margin[:i]
break break
else:
margin = margin[:len(indent)]
# sanity check (testing/debugging only) # sanity check (testing/debugging only)
if 0 and margin: if 0 and margin:
......
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