diff options
author | Guido van Rossum <guido@python.org> | 2001-01-25 22:12:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-25 22:12:43 (GMT) |
commit | 2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f (patch) | |
tree | 21a2fb306edea0a82fbc54f9941914b46a316d4c /Modules | |
parent | 78dc825a41fefd8f219684c3bb1c452296a622e1 (diff) | |
download | cpython-2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f.zip cpython-2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f.tar.gz cpython-2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f.tar.bz2 |
Correct one-line typo, reported by yole @ SF, bug 130077.
Diffstat (limited to 'Modules')
-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; |