]> granicus.if.org Git - python/commitdiff
Remove unreachable code. (Sjoerd)
authorGuido van Rossum <guido@python.org>
Fri, 9 Oct 1998 13:27:19 +0000 (13:27 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 9 Oct 1998 13:27:19 +0000 (13:27 +0000)
Objects/longobject.c

index 7dbb54264a193a6c1e0e93704732593df977b180..db6942be27ec819e68151ce731ed8db8341efcb2 100644 (file)
@@ -398,10 +398,6 @@ PyLong_FromLongLong(ival)
 
                return (PyObject *)v;
        }
-
-       /* If we got here, we're confused... */
-       PyErr_SetString( PyExc_ArithmeticError, "invalid long integer" );
-       return NULL;
 #endif
 }
 
@@ -434,10 +430,6 @@ PyLong_FromUnsignedLongLong(ival)
 
                return (PyObject *)v;
        }
-
-       /* If we got here, we're confused... */
-       PyErr_SetString( PyExc_ArithmeticError, "invalid unsigned long integer" );
-       return NULL;
 #endif
 }