summaryrefslogtreecommitdiffstats
path: root/Lib/textwrap.py
diff options
context:
space:
mode:
authorJonathan Eunice <jonathan.eunice@gmail.com>2017-06-16 02:19:43 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-06-16 02:19:43 (GMT)
commit7a801839e9a88bdcac5aaab494b532230fcf7caa (patch)
tree77a311e69db1a634038807a752a3465f40587615 /Lib/textwrap.py
parent214f7eed7640f873223427c02a95a70775d2b396 (diff)
downloadcpython-7a801839e9a88bdcac5aaab494b532230fcf7caa.zip
cpython-7a801839e9a88bdcac5aaab494b532230fcf7caa.tar.gz
cpython-7a801839e9a88bdcac5aaab494b532230fcf7caa.tar.bz2
bpo-30620: Remove dead lines from textwrap.dedent (GH-2064)
Diffstat (limited to 'Lib/textwrap.py')
-rw-r--r--Lib/textwrap.py2
1 files changed, 0 insertions, 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: