[Python-Dev] Dict access with double-dot (syntactic sugar)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 24 22:19:00 CET 2011


Santoso Wijaya wrote:
> `somedict:foo` looks better than `somedict..foo`.

Parsing ambiguity:
 if foo:bar:baz
Is that
 if (foo:bar): baz
or
 if foo: (bar:baz)
?
-- 
Greg


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /