mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
#11565: Fix several typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
e3d09ff269
commit
13925008dc
94 changed files with 126 additions and 126 deletions
|
@ -1712,7 +1712,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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue