Commit 8cda3988 authored by Lisandro Dalcin's avatar Lisandro Dalcin

trivial fix: | -> ||

parent a80790de
...@@ -2490,7 +2490,7 @@ type_conversion_functions = """ ...@@ -2490,7 +2490,7 @@ type_conversion_functions = """
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
if (x == Py_True) return 1; if (x == Py_True) return 1;
else if ((x == Py_False) | (x == Py_None)) return 0; else if ((x == Py_False) || (x == Py_None)) return 0;
else return PyObject_IsTrue(x); else return PyObject_IsTrue(x);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment