]> granicus.if.org Git - python/commitdiff
Merged revisions 77487 via svnmerge from
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 14 Jan 2010 11:39:50 +0000 (11:39 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 14 Jan 2010 11:39:50 +0000 (11:39 +0000)
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
........

Objects/bytearrayobject.c

index 01c5e11b55b7ec2150929d5f64bae4ab22cad843..8aa2928d2034c3486999af91011a348fe1ef4ed8 100644 (file)
@@ -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;
         }