projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6f0aa
)
Remove duplicate check for PyLong_Check(). It was checked above.
author
Neal Norwitz
<nnorwitz@gmail.com>
Tue, 20 May 2008 04:39:15 +0000
(
04:39
+0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Tue, 20 May 2008 04:39:15 +0000
(
04:39
+0000)
Modules/mathmodule.c
patch
|
blob
|
history
diff --git
a/Modules/mathmodule.c
b/Modules/mathmodule.c
index d7aba68f99f3e468c2fec1fa326ba817977ee232..45d842f3907226ea0b35f6391d73460aaf9d64b3 100644
(file)
--- 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 "