diff options
| author | Guido van Rossum <guido@python.org> | 2001-08-30 16:06:23 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-08-30 16:06:23 +0000 |
| commit | 46add98758415f6180532326571d73f22966c34e (patch) | |
| tree | ed5fd8f7babfbfea5e8089ef8b00be286802d9bf /Lib/test/test_pow.py | |
| parent | 13228a6f099cbf4855fa0dc0ee921f174bc967ff (diff) | |
| download | cpython-git-46add98758415f6180532326571d73f22966c34e.tar.gz | |
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 'Lib/test/test_pow.py')
0 files changed, 0 insertions, 0 deletions
