diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-06-11 19:42:51 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-06-11 19:42:51 (GMT) |
commit | 4f96f1f2b5068b8e8bd8d0f83f856b6e2883a3ab (patch) | |
tree | c53747593db6eac7dff992f88fec46f4318ae3ae /Lib/textwrap.py | |
parent | 0d5d222959e0422b93065f0661b06061b713e5af (diff) | |
download | cpython-4f96f1f2b5068b8e8bd8d0f83f856b6e2883a3ab.zip cpython-4f96f1f2b5068b8e8bd8d0f83f856b6e2883a3ab.tar.gz cpython-4f96f1f2b5068b8e8bd8d0f83f856b6e2883a3ab.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/textwrap.py')
-rw-r--r-- | Lib/textwrap.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/textwrap.py b/Lib/textwrap.py index e18000a..ccff2ab 100644 --- a/Lib/textwrap.py +++ b/Lib/textwrap.py @@ -344,13 +344,13 @@ def dedent(text): # Current line more deeply indented than previous winner: # no change (previous winner is still on top). - elif indent.startswith(margin): - pass + elif indent.startswith(margin): + pass # Current line consistent with and no deeper than previous winner: # it's the new winner. - elif margin.startswith(indent): - margin = indent + elif margin.startswith(indent): + margin = indent # Current line and previous winner have no common whitespace: # there is no margin. |