diff options
author | Jonathan Eunice <jonathan.eunice@gmail.com> | 2017-06-16 02:19:43 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-16 02:19:43 (GMT) |
commit | 7a801839e9a88bdcac5aaab494b532230fcf7caa (patch) | |
tree | 77a311e69db1a634038807a752a3465f40587615 /Lib/textwrap.py | |
parent | 214f7eed7640f873223427c02a95a70775d2b396 (diff) | |
download | cpython-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.py | 2 |
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: |