[Python-Dev] == on object tests identity in 3.x (original) (raw)

Ethan Furman ethan at stoneleaf.us
Mon Jul 7 17:55:08 CEST 2014


On 07/07/2014 04:22 AM, Andreas Maier wrote:

Where is the discrepancy between the documentation of == and its default implementation on object documented?

There's seems to be no discrepancy (at least, you have not shown it), but to answer the question about why the default equals operation is an identity test:

-- Ethan



More information about the Python-Dev mailing list