]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Check for identical types before comparing objects to see if they
authorGuido van Rossum <guido@python.org>
Mon, 1 Jul 1991 18:44:20 +0000 (18:44 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 1 Jul 1991 18:44:20 +0000 (18:44 +0000)
commitefc0bd02e5a661ede3737ff1d051973166425514
treead197380ae3104a0c90e89ba6e6f5b6994efb390
parent89d55cad95697c6807e8dee1642564478f38fdd6
Check for identical types before comparing objects to see if they
are the same -- 0 and 0.0 compare equal but should be considered different
here!
Python/compile.c