Creating a local variable scope.

Daniel Stutzbach daniel at
Sat Sep 12 17:12:08 CEST 2009

On Sat, Sep 12, 2009 at 10:02 AM, Ethan Furman <ethan at> wrote:

> That's probably why he called it as:
> with do_nothing() as *imaginary*_local_scope:
>    ...
>    del spam, eggs, imaginary_local_scope
> and then as the last item deleted all the variables, except the one he
> wanted to keep.

You're absolutely right.  My apologies.  I need to learn not to post to
mailing lists first thing in the morning! ;-)

Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list