]> granicus.if.org Git - python/commitdiff
Fixed typo
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 14 Jan 2010 11:34:10 +0000 (11:34 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 14 Jan 2010 11:34:10 +0000 (11:34 +0000)
Objects/bytearrayobject.c

index 74cb1f1623d40af6cced4f42f7fd6e3afd1be204..308bd07c5148f9bf91b57226ff0cb429868f5191 100644 (file)
@@ -1032,7 +1032,7 @@ bytearray_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;
         }