summaryrefslogtreecommitdiffstats
path: root/Objects/funcobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-30 16:06:23 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-30 16:06:23 (GMT)
commit46add98758415f6180532326571d73f22966c34e (patch)
treeed5fd8f7babfbfea5e8089ef8b00be286802d9bf /Objects/funcobject.c
parent13228a6f099cbf4855fa0dc0ee921f174bc967ff (diff)
downloadcpython-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 'Objects/funcobject.c')
0 files changed, 0 insertions, 0 deletions