summaryrefslogtreecommitdiff
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2011-03-17 11:16:38 -0700
committerBrett Cannon <brett@python.org>2011-03-17 11:16:38 -0700
commiteb8cee83833830630f9d7388bd09d1fcb638b1a2 (patch)
tree651105352b4f7b17a4e747886562546082e9aaee /Lib/difflib.py
parentecc2db515202456a67e9702ed94ce19fe5b4711f (diff)
parente9ff2ef20488eb3d1e8bba04516939585f35a148 (diff)
downloadcpython-git-eb8cee83833830630f9d7388bd09d1fcb638b1a2.tar.gz
merge
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r--Lib/difflib.py2
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')