Skip to content

Commit 7a80183

Browse files
jonathaneuniceMariatta
authored andcommitted
bpo-30620: Remove dead lines from textwrap.dedent (GH-2064)
1 parent 214f7ee commit 7a80183

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/textwrap.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,6 @@ def dedent(text):
450450
if x != y:
451451
margin = margin[:i]
452452
break
453-
else:
454-
margin = margin[:len(indent)]
455453

456454
# sanity check (testing/debugging only)
457455
if 0 and margin:

0 commit comments

Comments
 (0)