[Python-ideas] An Alternate Suite Delineation Syntax For Python? (was Re: [Python-Dev] [PATCH] Adding braces to __future__)

MRAB python at mrabarnett.plus.com
Sun Dec 11 02:33:27 CET 2011


On 11/12/2011 01:03, Greg Ewing wrote:
> Nick Coghlan suggested:
>
>> x = y if y is not None else {: raise ValueError("y must not be None!")}
>
> I'd want to see {: closed with :} for symmetry.
>
That's just what I was thinking. (Honest! :-))



More information about the Python-ideas mailing list