summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];