Fixed typo

This commit is contained in:
Ezio Melotti 2010-01-14 11:34:10 +00:00
parent 7a1b435297
commit d234208588
1 changed files with 1 additions and 1 deletions

View File

@ -1032,7 +1032,7 @@ bytearray_richcompare(PyObject *self, PyObject *other, int op)
PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type)) {
if (Py_BytesWarningFlag && op == Py_EQ) {
if (PyErr_WarnEx(PyExc_BytesWarning,
"Comparsion between bytearray and string", 1))
"Comparison between bytearray and string", 1))
return NULL;
}