mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Whitespace normalization.
This commit is contained in:
parent
922dd7d49d
commit
88ca467ca4
3 changed files with 4 additions and 4 deletions
|
@ -232,7 +232,7 @@ def setquit():
|
||||||
eof = 'Ctrl-Z plus Return'
|
eof = 'Ctrl-Z plus Return'
|
||||||
else:
|
else:
|
||||||
eof = 'Ctrl-D (i.e. EOF)'
|
eof = 'Ctrl-D (i.e. EOF)'
|
||||||
|
|
||||||
class Quitter(object):
|
class Quitter(object):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|
|
@ -46,10 +46,10 @@ def test_main():
|
||||||
try:
|
try:
|
||||||
c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
|
c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]]
|
||||||
except RangeError:
|
except RangeError:
|
||||||
# Skip unsupported characters;
|
# Skip unsupported characters;
|
||||||
# try atleast adding c1 if we are in part1
|
# try atleast adding c1 if we are in part1
|
||||||
if part == "@Part1":
|
if part == "@Part1":
|
||||||
try:
|
try:
|
||||||
c1=unistr(line.split(';')[0])
|
c1=unistr(line.split(';')[0])
|
||||||
except RangeError:
|
except RangeError:
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -666,7 +666,7 @@ def merge_old_version(version, new, old):
|
||||||
new.changed.append((version, zip(bidir_changes, category_changes,
|
new.changed.append((version, zip(bidir_changes, category_changes,
|
||||||
decimal_changes, numeric_changes),
|
decimal_changes, numeric_changes),
|
||||||
normalization_changes))
|
normalization_changes))
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# the following support code is taken from the unidb utilities
|
# the following support code is taken from the unidb utilities
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue