Commit 3886026b authored by Guido van Rossum's avatar Guido van Rossum

Remove unreachable code. (Sjoerd)

parent 1554b7b0
...@@ -398,10 +398,6 @@ PyLong_FromLongLong(ival) ...@@ -398,10 +398,6 @@ PyLong_FromLongLong(ival)
return (PyObject *)v; return (PyObject *)v;
} }
/* If we got here, we're confused... */
PyErr_SetString( PyExc_ArithmeticError, "invalid long integer" );
return NULL;
#endif #endif
} }
...@@ -434,10 +430,6 @@ PyLong_FromUnsignedLongLong(ival) ...@@ -434,10 +430,6 @@ PyLong_FromUnsignedLongLong(ival)
return (PyObject *)v; return (PyObject *)v;
} }
/* If we got here, we're confused... */
PyErr_SetString( PyExc_ArithmeticError, "invalid unsigned long integer" );
return NULL;
#endif #endif
} }
......
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