projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d979ac1
)
missing type cast
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 30 Apr 2009 18:11:08 +0000
(20:11 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 30 Apr 2009 18:11:08 +0000
(20:11 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index a43e5168cb4d3ef86c49163cb30cd1770bbc79a3..6da5e5778c4a30ab059c0136e70a39baa9083cb1 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-1069,7
+1069,7
@@
class FuncDefNode(StatNode, BlockNode):
outer_scope_cname,
env.scope_class.type.declaration_code(''),
Naming.self_cname))
- code.put_incref(outer_scope_cname,
py_object_
type)
+ code.put_incref(outer_scope_cname,
env.scope_class.
type)
code.put_giveref(outer_scope_cname)
# ----- Fetch arguments
self.generate_argument_parsing_code(env, code)