mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
bpo-30620: Remove dead lines from textwrap.dedent (GH-2064)
This commit is contained in:
parent
214f7eed76
commit
7a801839e9
@ -450,8 +450,6 @@ def dedent(text):
|
||||
if x != y:
|
||||
margin = margin[:i]
|
||||
break
|
||||
else:
|
||||
margin = margin[:len(indent)]
|
||||
|
||||
# sanity check (testing/debugging only)
|
||||
if 0 and margin:
|
||||
|
Loading…
Reference in New Issue
Block a user