From d0814eb7fede783563affd40e57e405c9ed560d6 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 29 Jan 2004 07:29:32 +0000 Subject: [PATCH] Fix spelling. --- Modules/collectionsmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/collectionsmodule.c b/Modules/collectionsmodule.c index 16c6e9aa3d1..6780c57c349 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];