summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-03-10 23:39:56 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-03-10 23:39:56 (GMT)
commit88ca467ca4b1f13a9fb172712cf25eeae94e3095 (patch)
tree44ebe742dadf0f24910db700eea3efe2bbb3539e /Lib
parent922dd7d49da75b07e27f917db0166f67bdbef3d3 (diff)
downloadcpython-88ca467ca4b1f13a9fb172712cf25eeae94e3095.zip
cpython-88ca467ca4b1f13a9fb172712cf25eeae94e3095.tar.gz
cpython-88ca467ca4b1f13a9fb172712cf25eeae94e3095.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/site.py2
-rw-r--r--Lib/test/test_normalization.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 3fc7537..6818e85 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 55f1b8d..8a361fd 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