summaryrefslogtreecommitdiffstats
path: root/Objects/bytearrayobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-04 11:30:26 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-04 11:30:26 (GMT)
commite5d68aceb529934e75d505bbfaf867e02493a1bc (patch)
tree4b3704507702b98e0ce4107403a72093a5d6b9fc /Objects/bytearrayobject.c
parentf342bfcbd4c5648507fca5504cedb295927bf5b5 (diff)
downloadcpython-e5d68aceb529934e75d505bbfaf867e02493a1bc.zip
cpython-e5d68aceb529934e75d505bbfaf867e02493a1bc.tar.gz
cpython-e5d68aceb529934e75d505bbfaf867e02493a1bc.tar.bz2
Fix misspelling.
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 1442c72..75a8eef 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -947,7 +947,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;
}