summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-09-16 00:09:19 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-09-16 00:09:19 (GMT)
commitc74298a72b16d2ecca144df014014796f025ea08 (patch)
treeddc582c65b51c08b543d220a3fa8f8a1e62e705b
parent0a1af4aeb07dd9198ad1ff19528d89873219b623 (diff)
downloadcpython-c74298a72b16d2ecca144df014014796f025ea08.zip
cpython-c74298a72b16d2ecca144df014014796f025ea08.tar.gz
cpython-c74298a72b16d2ecca144df014014796f025ea08.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/string.py2
-rw-r--r--Lib/test/test_httplib.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/string.py b/Lib/string.py
index f8b4490..3c37b0b 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -178,7 +178,7 @@ class Template:
mapping = _multimap(kws, args[0])
else:
mapping = args[0]
- delimiter = self.delimiter[-1]
+ delimiter = self.delimiter[-1]
# Helper function for .sub()
def convert(mo):
named = mo.group('named')
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index deca23a..ede0f4b 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -118,7 +118,7 @@ def _test():
else:
print "Expect InvalidURL"
- for hp,h,p in (("[fe80::207:e9ff:fe9b]:8000", "fe80::207:e9ff:fe9b", 8000),
+ for hp,h,p in (("[fe80::207:e9ff:fe9b]:8000", "fe80::207:e9ff:fe9b", 8000),
("www.python.org:80", "www.python.org", 80),
("www.python.org", "www.python.org", 80),
("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)):