mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Merged revisions 77487 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77487 | ezio.melotti | 2010-01-14 13:34:10 +0200 (Thu, 14 Jan 2010) | 1 line Fixed typo ........
This commit is contained in:
parent
9fe1d8af48
commit
262c3ce507
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,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