¨?]@do we need ==?

Greg Ewing see_reply_address at something.invalid
Mon Dec 9 19:52:37 EST 2002


Carsten Gaebler wrote:
 >

> Because then you could not distinguish
> 
> a = b = 1
> 
> from
> 
> a = b == 1


Also, is

   f(a = b)

a call with a positional argument whose value
is a == b, or a keyword argument whose value is b?

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list