mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Whitespace normalization.
This commit is contained in:
parent
0a1af4aeb0
commit
c74298a72b
2 changed files with 2 additions and 2 deletions
|
@ -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():
|
||||||
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)):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue