<> and DeprecationWarning

Peter Hansen peter at engcorp.com
Mon Oct 20 14:12:10 EDT 2003


Gerrit Holl wrote:
> 
> Wojtek Walczak wrote:
> > Dnia Mon, 20 Oct 2003 12:18:31 +0200, Gerrit Holl napisa³(a):
> > > the <> inequality test operator has been deprecated for a loooooong time.
> > Who said that?
> 
> The documentation calls it obsolete:
> """
> <> and != are alternate spellings for the same operator. != is the preferred spelling; <> is obsolescent.
> """
> (http://www.python.org/dev/doc/devel/lib/comparisons.html)
> 
> Is there a difference between obsolescent, obsolete and deprecated?

The word obsolete is deprecated; use obscolescent instead. ;-)

-Peter




More information about the Python-list mailing list