summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-01-29 07:29:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-01-29 07:29:32 (GMT)
commitd0814eb7fede783563affd40e57e405c9ed560d6 (patch)
tree5f79b6e13ae6bf1cc2ca7f506cd3355dc5259e15 /Modules
parente52f3b1e5696460fc3403d5059d3f8bc9ec53174 (diff)
downloadcpython-d0814eb7fede783563affd40e57e405c9ed560d6.zip
cpython-d0814eb7fede783563affd40e57e405c9ed560d6.tar.gz
cpython-d0814eb7fede783563affd40e57e405c9ed560d6.tar.bz2
Fix spelling.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/collectionsmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/collectionsmodule.c b/Modules/collectionsmodule.c
index 16c6e9a..6780c57 100644
--- a/Modules/collectionsmodule.c
+++ b/Modules/collectionsmodule.c
@@ -109,7 +109,7 @@ deque_pop(dequeobject *deque, PyObject *unused)
block *prevblock;
if (deque->len == 0) {
- PyErr_SetString(PyExc_LookupError, "pop from an emtpy deque");
+ PyErr_SetString(PyExc_LookupError, "pop from an empty deque");
return NULL;
}
item = deque->rightblock->data[deque->rightindex];
@@ -144,7 +144,7 @@ deque_popleft(dequeobject *deque, PyObject *unused)
block *prevblock;
if (deque->len == 0) {
- PyErr_SetString(PyExc_LookupError, "pop from an emtpy deque");
+ PyErr_SetString(PyExc_LookupError, "pop from an empty deque");
return NULL;
}
item = deque->leftblock->data[deque->leftindex];