summaryrefslogtreecommitdiffstats
path: root/Objects/bytearrayobject.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-01-14 11:34:10 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-01-14 11:34:10 (GMT)
commitd234208588ed84e97d95df294f33e4426211682c (patch)
tree8720e2b6192509730c440a825ad069186377c169 /Objects/bytearrayobject.c
parent7a1b4352973ae572b0e296c2647937cbaa10e4ab (diff)
downloadcpython-d234208588ed84e97d95df294f33e4426211682c.zip
cpython-d234208588ed84e97d95df294f33e4426211682c.tar.gz
cpython-d234208588ed84e97d95df294f33e4426211682c.tar.bz2
Fixed typo
Diffstat (limited to 'Objects/bytearrayobject.c')
-rw-r--r--Objects/bytearrayobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index 74cb1f1..308bd07 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -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;
}