PEP 285: Adding a bool type

Bengt Richter bokr at oz.net
Sun Apr 7 21:06:47 EDT 2002


On 7 Apr 2002 13:43:29 -0400, aahz at pythoncraft.com (Aahz) wrote:
[...]
>
>Assignments in expressions will never happen.
>
I guess you mean they won't be spelled concisely ;-)

 >>> a='eigh'
 >>> a
 'eigh'
 >>> locals().__setitem__('a','bee') and 0 or a
 'bee'

Regards,
Bengt Richter



More information about the Python-list mailing list