[Python-ideas] except expression

MRAB python at mrabarnett.plus.com
Sat Feb 15 22:11:41 CET 2014


On 2014-02-15 21:08, MRAB wrote:
> On 2014-02-15 19:57, Steven D'Aprano wrote:
>> On Sat, Feb 15, 2014 at 08:24:09PM +0100, Philipp A. wrote:
>>> hmm i still don’t like the colon. everywhere else in python, it means “new
>>> block follows”
>>
>> That is incorrect. Did you read my full post? I specifically mentioned
>> both dicts and lambda, both of which use colons in expressions, and
>> don't start a new block.
>>
> It's also used in slices.
>
[snip]
I wonder if the reply is going to be: "Well, _apart_ from dicts,
lambdas, and slices, everywhere else in Python...". :-)


More information about the Python-ideas mailing list