summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 7dbb542..db6942b 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -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
}