summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-25 22:12:43 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-25 22:12:43 (GMT)
commit2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f (patch)
tree21a2fb306edea0a82fbc54f9941914b46a316d4c /Modules/arraymodule.c
parent78dc825a41fefd8f219684c3bb1c452296a622e1 (diff)
downloadcpython-2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f.zip
cpython-2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f.tar.gz
cpython-2b597e4f54a4fb5ba50b9be617aa0cb2eb1ace9f.tar.bz2
Correct one-line typo, reported by yole @ SF, bug 130077.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c2
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;