projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a80790d
)
trivial fix: | -> ||
author
Lisandro Dalcin
<dalcinl@gmail.com>
Mon, 15 Mar 2010 14:51:11 +0000
(11:51 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Mon, 15 Mar 2010 14:51:11 +0000
(11:51 -0300)
Cython/Compiler/PyrexTypes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/PyrexTypes.py
b/Cython/Compiler/PyrexTypes.py
index 08649240b9029d7022e2eaf28e960e2b35894e92..afbca5817eff0e3c4b327232b7297faf5c896ce2 100755
(executable)
--- a/
Cython/Compiler/PyrexTypes.py
+++ b/
Cython/Compiler/PyrexTypes.py
@@
-2490,7
+2490,7
@@
type_conversion_functions = """
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
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);
}