summaryrefslogtreecommitdiffstats
path: root/Objects
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
parentf342bfcbd4c5648507fca5504cedb295927bf5b5 (diff)
downloadcpython-e5d68aceb529934e75d505bbfaf867e02493a1bc.zip
cpython-e5d68aceb529934e75d505bbfaf867e02493a1bc.tar.gz
cpython-e5d68aceb529934e75d505bbfaf867e02493a1bc.tar.bz2
Fix misspelling.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/bytearrayobject.c2
-rw-r--r--Objects/bytesobject.c2
2 files changed, 2 insertions, 2 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;
}
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index b64178d..3f22e7c 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -818,7 +818,7 @@ string_richcompare(PyBytesObject *a, PyBytesObject *b, int op)
PyObject_IsInstance((PyObject*)b,
(PyObject*)&PyUnicode_Type))) {
if (PyErr_WarnEx(PyExc_BytesWarning,
- "Comparsion between bytes and string", 1))
+ "Comparison between bytes and string", 1))
return NULL;
}
result = Py_NotImplemented;