From: Tim Peters Date: Fri, 10 Mar 2006 23:39:56 +0000 (+0000) Subject: Whitespace normalization. X-Git-Tag: v2.5a0~281 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88ca467ca4b1f13a9fb172712cf25eeae94e3095;p=python Whitespace normalization. --- diff --git a/Lib/site.py b/Lib/site.py index 3fc75377b1..6818e8531f 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -232,7 +232,7 @@ def setquit(): eof = 'Ctrl-Z plus Return' else: eof = 'Ctrl-D (i.e. EOF)' - + class Quitter(object): def __init__(self, name): self.name = name diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py index 55f1b8dba1..8a361fd43e 100644 --- a/Lib/test/test_normalization.py +++ b/Lib/test/test_normalization.py @@ -46,10 +46,10 @@ def test_main(): try: c1,c2,c3,c4,c5 = [unistr(x) for x in line.split(';')[:-1]] except RangeError: - # Skip unsupported characters; + # Skip unsupported characters; # try atleast adding c1 if we are in part1 if part == "@Part1": - try: + try: c1=unistr(line.split(';')[0]) except RangeError: pass diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index c11a1cd09a..41df819451 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py @@ -666,7 +666,7 @@ def merge_old_version(version, new, old): new.changed.append((version, zip(bidir_changes, category_changes, decimal_changes, numeric_changes), normalization_changes)) - + # -------------------------------------------------------------------- # the following support code is taken from the unidb utilities