For review: PEP 308 - If-then-else expression
Samuele Pedroni
pedronis at bluewin.ch
Mon Feb 10 14:18:46 EST 2003
"Andrew Koenig" <ark at research.att.com> ha scritto nel messaggio
news:yu99vfzsq7tn.fsf at europa.research.att.com...
> This code works as written, but only by coincidence. If, for example,
> I were to change the initialization of d to
>
> d = {"": 0, "one": 1, "two": 2, "three": 3}
>
> then the code would break.
this one is ROFL provoking.
Honestly, please, you have already found a bug, declare victory and stop.
More information about the Python-list
mailing list