[Python-Dev] Re: cmp(x,x) (original) (raw)

Fred Drake fred at zope.com
Fri May 21 16:07:28 EDT 2004


On Friday 21 May 2004 03:46 pm, Barry Warsaw wrote:

On Fri, 2004-05-21 at 15:37, Casey Duncan wrote:

Finally, a use for <>. Barry will be so happy ;^)

And Just, and Fred.

No, no, no. "<>" is a misapplication of pointy brackets. Note that there's nothing in the middle; what's the point of bracketing if there's nothing to bracket?

The inequality operator should be spelled "!=", mostly so it's not confused with the structured-bracketing operation.

-Fred

-- Fred L. Drake, Jr. PythonLabs at Zope Corporation



More information about the Python-Dev mailing list