diff options
-rw-r--r-- | Modules/arraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 374b3ac..edc2f0b 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; |