On Sat, Feb 21, 2009 at 16:59, Brett Cannon <br...@python.org> wrote:

>
>
> On Sat, Feb 21, 2009 at 15:20, Rocky Bernstein <ro...@gnu.org> wrote:
>
>> I notice  code.interact() in Python 2.6 has a parameter for locals but not
>> globals. Should it?
>>
>
> What is code.interact()?::
>
>     >>> (lambda: None).__code__.interact
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>     AttributeError: 'code' object has no attribute 'interact'
>

nm, I figured out you mean the code module.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to