if <assignment>:

Carl Banks imbosol at vt.edu
Tue Nov 26 03:40:09 EST 2002


"Simon Wittber (Maptek)" wrote:
> I remember in my TurboC++ 2.0 days, the compiler would spit out 
> 'Ambiguous assignment' or something like that anyway.

'Possibly incorrect assignment'


> I always found the construct if(x = func()) rather confusing, and
> *never* used it, even though it was available and acceptable to do
> so.

Same here.


-- 
CARL BANKS



More information about the Python-list mailing list