28 Sep
2015
28 Sep
'15
9:05 p.m.
On Mon, Sep 28, 2015 at 1:56 PM, Guido van Rossum
The rule then is quite simple: each ? does exactly one None check and divides the expression into exactly two branches -- one for the case where the thing preceding ? is None and one for the case where it isn't.
I think this is exactly the right rule (when combined with the previously stated rule that ?. ?() ?[] have the same precedence as the standard versions of those operators). --- Bruce Check out my new puzzle book: http://J.mp/ingToConclusions Get it free here: http://J.mp/ingToConclusionsFree (available on iOS)