summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/CallTips.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-08-26 04:18:40 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-08-26 04:18:40 (GMT)
commit5b0fdc9d0aef58fffe225bee493d62cd905d6b80 (patch)
tree45ddd57a2fc44e459141b03bdda62496b216820a /Lib/idlelib/CallTips.py
parent571861d3d323affd1f9283d6cc56d8f682037d2b (diff)
downloadcpython-5b0fdc9d0aef58fffe225bee493d62cd905d6b80.zip
cpython-5b0fdc9d0aef58fffe225bee493d62cd905d6b80.tar.gz
cpython-5b0fdc9d0aef58fffe225bee493d62cd905d6b80.tar.bz2
Fix another map(...) --> list(map...)
Diffstat (limited to 'Lib/idlelib/CallTips.py')
-rw-r--r--Lib/idlelib/CallTips.py2
1 files changed, 1 insertions, 1 deletions
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: