return raw_input(prompt)
-def interact(banner=None, readfunc=None, locals=None):
+def interact(banner=None, readfunc=None, local=None):
"""Closely emulate the interactive Python interpreter.
This is a backwards compatible interface to the InteractiveConsole
banner -- passed to InteractiveConsole.interact()
readfunc -- if not None, replaces InteractiveConsole.raw_input()
- locals -- passed to InteractiveInterpreter.__init__()
+ local -- passed to InteractiveInterpreter.__init__()
"""
- console = InteractiveConsole(locals)
+ console = InteractiveConsole(local)
if readfunc is not None:
console.raw_input = readfunc
else: