From 2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 25 Jan 2001 22:12:43 +0000 Subject: [PATCH] Correct one-line typo, reported by yole @ SF, bug 130077. --- Modules/arraymodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 374b3ac3905..edc2f0bec34 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -467,7 +467,7 @@ array_richcompare(PyObject *v, PyObject *w, int op) int cmp; switch (op) { case Py_LT: cmp = vs < ws; break; - case Py_LE: cmp = ws <= ws; break; + case Py_LE: cmp = vs <= ws; break; case Py_EQ: cmp = vs == ws; break; case Py_NE: cmp = vs != ws; break; case Py_GT: cmp = vs > ws; break;