A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-February/132650.html below:

[Python-Dev] PEP 463: Exception-catching expressions

[Python-Dev] PEP 463: Exception-catching expressions [Python-Dev] PEP 463: Exception-catching expressionsEthan Furman ethan at stoneleaf.us
Sat Feb 22 05:08:42 CET 2014
On 02/21/2014 07:46 PM, Chris Angelico wrote:
>
> but not this:
>
> value = expr except Exception: default except Exception: default

This should be the way it works.  Nothing is gained in readability by turning a try with multiple except statements into 
an expression.

--
~Ethan~
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4