Correct one-line typo, reported by yole @ SF, bug 130077.

This commit is contained in:
Guido van Rossum 2001-01-25 22:12:43 +00:00
parent 78dc825a41
commit 2b597e4f54
1 changed files with 1 additions and 1 deletions

View File

@ -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;