PEP 285: Adding a bool type

Martin v. Loewis martin at v.loewis.de
Mon Apr 1 08:27:28 EST 2002


Roy Smith <roy at panix.com> writes:

> Stefan Schwarzer <s.schwarzer at ndh.net> wrote:
> > Example: "(val1, val2)[0]" is pretty clear, but "(val1, val2)[False]"
> > looks quite strange.
> 
> Does it look any stranger than "False : val1 ? val2" ?

Indeed. I'd just spell this is "val11".

Regards,
Martin



More information about the Python-list mailing list