commit | 46add98758415f6180532326571d73f22966c34e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 30 16:06:23 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 30 16:06:23 2001 +0000 |
tree | ed5fd8f7babfbfea5e8089ef8b00be286802d9bf | |
parent | 13228a6f099cbf4855fa0dc0ee921f174bc967ff [diff] |
Do the int inlining only if the type is really an int, not whenever PyInt_Check() succeeds. That returns true for subtypes of int, which may override __add__ or __sub__.