[Python-ideas] An Alternate Suite Delineation Syntax For Python? (was Re: [Python-Dev] [PATCH] Adding braces to __future__)
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Dec 11 02:03:02 CET 2011
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.
--
Greg
More information about the Python-ideas
mailing list