Mercurial > cpython-lru_cache-weakref
diff Lib/difflib.py @ 68585:bf94b6a73fc8 3.1
#11565: Fix several typos. Patch by Piotr Kasprzyk.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Wed, 16 Mar 2011 11:05:33 +0200 |
| parents | 3a2b149ae66e |
| children | 707078ca0a77 dc245d681901 |
line wrap: on
line diff
--- a/Lib/difflib.py Tue Mar 15 17:41:13 2011 -0400 +++ b/Lib/difflib.py Wed Mar 16 11:05:33 2011 +0200 @@ -1712,7 +1712,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')
