mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix misspelling.
This commit is contained in:
parent
f342bfcbd4
commit
e5d68aceb5
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue