diff options
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. |