summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index f4b4264..9f154f3 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -55,7 +55,6 @@ PyObject *
PyString_FromStringAndSize(const char *str, Py_ssize_t size)
{
register PyStringObject *op;
- assert(size >= 0);
if (size < 0) {
PyErr_SetString(PyExc_SystemError,
"Negative size passed to PyString_FromStringAndSize");