projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb6472
)
support True/False in compile-time statements
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 10 Feb 2008 07:32:43 +0000
(08:32 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 10 Feb 2008 07:32:43 +0000
(08:32 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index c06d82a6eed42732347fb574ad40fc3032bd30a0..824909b994983a31357655e1d5de80c60a547e0c 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-577,7
+577,7
@@
class BoolNode(PyConstNode):
# The constant value True or False
def compile_time_value(self, denv):
- return
Non
e
+ return
self.valu
e
def calculate_result_code(self):
if self.value: