From 5b0fdc9d0aef58fffe225bee493d62cd905d6b80 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sun, 26 Aug 2007 04:18:40 +0000 Subject: Fix another map(...) --> list(map...) --- Lib/idlelib/CallTips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/CallTips.py b/Lib/idlelib/CallTips.py index 606ab8e..f166867 100644 --- a/Lib/idlelib/CallTips.py +++ b/Lib/idlelib/CallTips.py @@ -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: -- cgit v0.12