diff options
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r-- | Modules/mathmodule.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index d7aba68..45d842f 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -450,9 +450,6 @@ math_ldexp(PyObject *self, PyObject *args) } } } - else if (PyLong_Check(oexp)) { - exp = PyLong_AS_LONG(oexp); - } else { PyErr_SetString(PyExc_TypeError, "Expected an int or long as second argument " |