Kevin Horn wrote:
> On Feb 20, 2008 3:04 AM, Tim Golden <[EMAIL PROTECTED]> wrote:
[... snip Python 2.5+ code example ...]

> Note that the above code will only work under Python 2.5, since that's when
> the "with" statement was added.
> 
> (Some of us are still stuck in 2.4 land :) )
> 
> In 2.4 and earlier, it could look something more like:

[...]

Thanks for picking that up, Kevin. I'm normally quite
conservative in my examples but for some reason I've
been doing quite a bit of "with..." code recently, and
it just came more naturally to my fingers!

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to