Fix misspelling.

This commit is contained in:
Georg Brandl 2008-06-04 11:30:26 +00:00
parent f342bfcbd4
commit e5d68aceb5
3 changed files with 4 additions and 4 deletions

View file

@ -947,7 +947,7 @@ bytes_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;
}