<> and DeprecationWarning
Todd Stephens
Huzzah! at Huzzah.com
Mon Oct 20 11:32:16 EDT 2003
Gerrit Holl wrote in article
<mailman.242.1066645130.2192.python-list at python.org>:
> Hi,
>
> the <> inequality test operator has been deprecated for a loooooong time.
>
Deprecated where? Possibly it is kept for backwards compatability, but it
still works fine in Python 2.3:
>>> 1==1
True
>>> 1!=1
False
>>> 1<>1
False
>>> 1<>2
True
>>> 1==2
False
--
Todd Stephens
ICQ# 3150790
"A witty saying proves nothing." -Voltaire
More information about the Python-list
mailing list