summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-09 13:27:19 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-09 13:27:19 (GMT)
commit3886026beda0ffb87bbf0bf20a96efb8e520e45d (patch)
tree62fa43d74e1f4a12a42f317c4c7324a752c27507
parent1554b7b061fc8711b2a2ea7781c39b0139c274c0 (diff)
downloadcpython-3886026beda0ffb87bbf0bf20a96efb8e520e45d.zip
cpython-3886026beda0ffb87bbf0bf20a96efb8e520e45d.tar.gz
cpython-3886026beda0ffb87bbf0bf20a96efb8e520e45d.tar.bz2
Remove unreachable code. (Sjoerd)
-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
}