mirror of https://github.com/python/cpython
Fixed typo
This commit is contained in:
parent
7a1b435297
commit
d234208588
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue