From 7a801839e9a88bdcac5aaab494b532230fcf7caa Mon Sep 17 00:00:00 2001 From: Jonathan Eunice Date: Thu, 15 Jun 2017 22:19:43 -0400 Subject: bpo-30620: Remove dead lines from textwrap.dedent (GH-2064) --- Lib/textwrap.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/textwrap.py b/Lib/textwrap.py index 0c18dc5..8103f34 100644 --- a/Lib/textwrap.py +++ b/Lib/textwrap.py @@ -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: -- cgit v0.12