diff options
author | Guido van Rossum <guido@python.org> | 2001-08-30 16:06:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-30 16:06:23 (GMT) |
commit | 46add98758415f6180532326571d73f22966c34e (patch) | |
tree | ed5fd8f7babfbfea5e8089ef8b00be286802d9bf /RISCOS/Python | |
parent | 13228a6f099cbf4855fa0dc0ee921f174bc967ff (diff) | |
download | cpython-46add98758415f6180532326571d73f22966c34e.zip cpython-46add98758415f6180532326571d73f22966c34e.tar.gz cpython-46add98758415f6180532326571d73f22966c34e.tar.bz2 |
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__.
Diffstat (limited to 'RISCOS/Python')
0 files changed, 0 insertions, 0 deletions