Fill in literal cases in Python unmarshaller (untested)

This commit is contained in:
John J. Camilleri
2021-09-03 15:26:10 +02:00
parent 3ecb937753
commit d53b7587f5
3 changed files with 15 additions and 12 deletions

View File

@@ -856,7 +856,7 @@ Type_richcompare(TypeObject *t1, TypeObject *t2, int op)
} else if (op == Py_NE) {
if (cmp) Py_RETURN_FALSE; else Py_RETURN_TRUE;
} else {
PyErr_SetString(PyExc_TypeError, "the operation is not supported");
PyErr_SetString(PyExc_TypeError, "comparison operation not supported");
return NULL;
}
}