"!=" is bad form. Re: sorry....never mind

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Mar 9 09:24:36 CET 2001


Fri, 09 Mar 2001 13:25:18 +1300, Greg Ewing <greg at cosc.canterbury.ac.nz> pisze:

> > Icon uses "~=" for numbers and "~==" for strings. 
> 
> And I seem to recall it also uses ~=== for something else as well
> (lists? dictionaries?).

Identity comparison ('not is' in Python). I think value comparison
for lists must be coded by hand.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list