[Python-ideas] except expression

Ron Adam ron3200 at gmail.com
Wed Feb 19 23:13:56 CET 2014



On 02/19/2014 11:09 AM, Alexander Belopolsky wrote:
> On Wed, Feb 19, 2014 at 11:17 AM, Ron Adam
> <ron3200 at gmail.com
> <mailto:ron3200 at gmail.com>> wrote:
>
>     value = catch_else(exc, \expr1, \expr2)   #alternatives to '\'?
>
> λ
>
> .. ducks.

Hehe... So you noticed λ and \ are not that different?

The one with both legs is the one that takes arguments.

The '\' is more agreeable.  ;-)



More information about the Python-ideas mailing list