diff Lib/difflib.py @ 68588:cd8d3c2d3bce 2.7

#11565: Fix several typos. Patch by Piotr Kasprzyk.
author Ezio Melotti <ezio.melotti@gmail.com>
date Wed, 16 Mar 2011 12:34:31 +0200
parents 1a65290e6d03
children 09459397f807
line wrap: on
line diff
--- a/Lib/difflib.py	Wed Mar 16 01:19:49 2011 +0100
+++ b/Lib/difflib.py	Wed Mar 16 12:34:31 2011 +0200
@@ -1714,7 +1714,7 @@
             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')