diff options
| author | Guido van Rossum <guido@python.org> | 2001-01-25 22:12:43 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-01-25 22:12:43 +0000 |
| commit | 90bdce14927cb5c2c756c573d9dc05bcd06b38f3 (patch) | |
| tree | 4e7f7aff052b42adc9f9dd74b596cd24ad514870 /Modules/arraymodule.c | |
| parent | 1617c73c693e2c4cc6bf4ae0526931e88b6fbaec (diff) | |
| download | cpython-90bdce14927cb5c2c756c573d9dc05bcd06b38f3.tar.gz | |
Correct one-line typo, reported by yole @ SF, bug 130077.
Diffstat (limited to 'Modules/arraymodule.c')
| -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 374b3ac390..edc2f0bec3 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; |
