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__.
Showing
Please register or sign in to comment
PyInt_Check() succeeds. That returns true for subtypes of int, which may override __add__ or __sub__.