[Python-ideas] except expression
Paul Moore
p.f.moore at gmail.com
Mon Feb 17 11:45:52 CET 2014
On 17 February 2014 10:00, M.-A. Lemburg <mal at egenix.com> wrote:
> Please also add examples where the expression notation is
> used as part of a larger expression
+1. When I see isolated exception-catching expressions as examples, I
think in terms of assigning them to something, and that is often
better done with a try/except statement. So it doesn't show the
benefits of the expression form.
Paul
More information about the Python-ideas
mailing list