Commit c1fc34a5 authored by Neal Norwitz's avatar Neal Norwitz

Remove duplicate check for PyLong_Check(). It was checked above.

parent bf6f0aa8
......@@ -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 "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment