diff options
author | Brett Cannon <brett@python.org> | 2011-03-17 11:16:38 -0700 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2011-03-17 11:16:38 -0700 |
commit | eb8cee83833830630f9d7388bd09d1fcb638b1a2 (patch) | |
tree | 651105352b4f7b17a4e747886562546082e9aaee /Lib/difflib.py | |
parent | ecc2db515202456a67e9702ed94ce19fe5b4711f (diff) | |
parent | e9ff2ef20488eb3d1e8bba04516939585f35a148 (diff) | |
download | cpython-git-eb8cee83833830630f9d7388bd09d1fcb638b1a2.tar.gz |
merge
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r-- | Lib/difflib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py index 381721a251..003e72e283 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -1719,7 +1719,7 @@ class HtmlDiff(object): line = line.replace(' ','\0') # expand tabs into spaces line = line.expandtabs(self._tabsize) - # relace spaces from expanded tabs back into tab characters + # replace spaces from expanded tabs back into tab characters # (we'll replace them with markup after we do differencing) line = line.replace(' ','\t') return line.replace('\0',' ').rstrip('\n') |