Fix another map(...) --> list(map...)

This commit is contained in:
Kurt B. Kaiser 2007-08-26 04:18:40 +00:00
parent 571861d3d3
commit 5b0fdc9d0a
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def get_arg_text(ob):
defaults = fob.__defaults__ or []
defaults = list(map(lambda name: "=%s" % repr(name), defaults))
defaults = [""] * (len(real_args) - len(defaults)) + defaults
items = map(lambda arg, dflt: arg + dflt, real_args, defaults)
items = list(map(lambda arg, dflt: arg + dflt, real_args, defaults))
if fob.__code__.co_flags & 0x4:
items.append("...")
if fob.__code__.co_flags & 0x8: