<> and DeprecationWarning
Alex Martelli
aleax at aleax.it
Mon Oct 20 12:34:30 EDT 2003
Todd Stephens wrote:
> 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:
http://www.python.org/doc/current/ref/operators.html :
"""
The comparison operators <> and != are alternate spellings of the same
operator. != is the preferred spelling; <> is obsolescent.
"""
Alex
More information about the Python-list
mailing list