mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix misspelling.
This commit is contained in:
parent
f342bfcbd4
commit
e5d68aceb5
3 changed files with 4 additions and 4 deletions
|
@ -818,7 +818,7 @@ string_richcompare(PyBytesObject *a, PyBytesObject *b, int op)
|
|||
PyObject_IsInstance((PyObject*)b,
|
||||
(PyObject*)&PyUnicode_Type))) {
|
||||
if (PyErr_WarnEx(PyExc_BytesWarning,
|
||||
"Comparsion between bytes and string", 1))
|
||||
"Comparison between bytes and string", 1))
|
||||
return NULL;
|
||||
}
|
||||
result = Py_NotImplemented;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue