mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
#11565: Merge with 3.1.
This commit is contained in:
commit
3b3499ba69
93 changed files with 124 additions and 124 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue