On 10/12/2013 06:50 PM, Raymond Hettinger wrote:
On Oct 12, 2013, at 4:30 PM, Ethan Furman wrote:
Were you only displaying the same short form above?
Yes. The specific example given was:
with ignore(OSError):
os.remove(somefile)
That is certainly nicer than the multi-line form.
Argh. Okay, okay, I'm +1. If they're not gonna read the docs it doesn't matter what we name it, and in it's proper
setting it certainly reads well.
Now, if you'll pardon me, I need to go add that to my 2.x collection of
goodies. ;)
--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com