Whitespace normalization.

This commit is contained in:
Tim Peters 2004-09-16 00:09:19 +00:00
parent 0a1af4aeb0
commit c74298a72b
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ class Template:
mapping = _multimap(kws, args[0]) mapping = _multimap(kws, args[0])
else: else:
mapping = args[0] mapping = args[0]
delimiter = self.delimiter[-1] delimiter = self.delimiter[-1]
# Helper function for .sub() # Helper function for .sub()
def convert(mo): def convert(mo):
named = mo.group('named') named = mo.group('named')

View File

@ -118,7 +118,7 @@ def _test():
else: else:
print "Expect InvalidURL" 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:80", "www.python.org", 80),
("www.python.org", "www.python.org", 80), ("www.python.org", "www.python.org", 80),
("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)): ("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)):