diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-14 11:39:50 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-14 11:39:50 +0000 |
commit | 262c3ce50711bcfc8141277b21a2dabb782fbca5 (patch) | |
tree | 2b91254ab998f53cf135b14b7a83188ee5265bc8 | |
parent | 9fe1d8af48a2ec90f2a83e8d0c34e17f789c66ea (diff) | |
download | cpython-git-262c3ce50711bcfc8141277b21a2dabb782fbca5.tar.gz |
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
........
-rw-r--r-- | Objects/bytearrayobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c index 01c5e11b55..8aa2928d20 100644 --- a/Objects/bytearrayobject.c +++ b/Objects/bytearrayobject.c @@ -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; } |