Fix spelling.

This commit is contained in:
Raymond Hettinger 2004-01-29 07:29:32 +00:00
parent e52f3b1e56
commit d0814eb7fe
1 changed files with 2 additions and 2 deletions

View File

@ -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];