Commit 84972f42 authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent fe3b9d0b
...@@ -178,7 +178,7 @@ class Template: ...@@ -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')
......
...@@ -118,7 +118,7 @@ def _test(): ...@@ -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)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment