mirror of
https://github.com/python/cpython.git
synced 2025-08-17 15:21:26 +00:00
Style fixes.
This commit is contained in:
parent
a0bcc27e65
commit
ffc87d5c8c
1 changed files with 6 additions and 6 deletions
|
@ -29,12 +29,12 @@ def main(args):
|
||||||
pass
|
pass
|
||||||
for arg in args:
|
for arg in args:
|
||||||
pat = re.compile(arg, re.I)
|
pat = re.compile(arg, re.I)
|
||||||
matches = [(x,y) for (x,y) in unicode_names
|
matches = [(y,x) for (x,y) in unicode_names
|
||||||
if pat.search(y) is not None]
|
if pat.search(y) is not None]
|
||||||
if matches:
|
if matches:
|
||||||
print "***", arg, "matches", "***"
|
print "***", arg, "matches", "***"
|
||||||
for (x,y) in matches:
|
for match in matches:
|
||||||
print "%s (%d)" % (y,x)
|
print "%s (%d)" % match
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main(sys.argv[1:])
|
main(sys.argv[1:])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue