projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9687773
)
fix keyword arguments in extension type calls
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 19 Mar 2009 10:22:02 +0000
(11:22 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 19 Mar 2009 10:22:02 +0000
(11:22 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 1fa2255453d4d033ffb32d8614b282b249539cb4..7599d16cad695c98b67f228c28cce085155e756c 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-2527,7
+2527,7
@@
class GeneralCallNode(CallNode):
self.keyword_args.analyse_types(env)
if self.starstar_arg:
self.starstar_arg.analyse_types(env)
- if
self.function.type is not py_object_type
:
+ if
not self.function.type.is_pyobject
:
if hasattr(self.function, 'entry') and not self.function.entry.as_variable:
error(self.pos, "Keyword arguments not allowed in cdef functions.")
else: