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

This commit is contained in:
Neal Norwitz 2008-05-20 04:39:15 +00:00
parent bf6f0aa837
commit c1fc34a56c
1 changed files with 0 additions and 3 deletions

View File

@ -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 "