projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f82bc2b
)
fix infer_types directive check
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 6 Mar 2010 17:14:05 +0000
(18:14 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 6 Mar 2010 17:14:05 +0000
(18:14 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index dab0d0829eeed7ca40c018bedbf72d55ac8d8498..89acf9179bcef87f3c877cfa1e98e74c2cb19af5 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-2025,7
+2025,7
@@
class DefNode(FuncDefNode):
def declare_python_arg(self, env, arg):
if arg:
- if env.directives['infer_types'] !=
'none'
:
+ if env.directives['infer_types'] !=
False
:
type = PyrexTypes.unspecified_type
else:
type = py_object_type