projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb49864
)
Fix trac #107.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Tue, 4 Nov 2008 19:58:29 +0000
(11:58 -0800)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Tue, 4 Nov 2008 19:58:29 +0000
(11:58 -0800)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index ae348b56cc15a2823dd41014d5a81d898c6491e9..5c985202a2eb8ee29d2e320cd5917eb406deccc3 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-585,7
+585,7
@@
class CArgDeclNode(Node):
else:
could_be_name = False
base_type = self.base_type.analyse(env, could_be_name = could_be_name)
- if self.base_type.arg_name:
+ if
hasattr(self.base_type, 'arg_name') and
self.base_type.arg_name:
self.declarator.name = self.base_type.arg_name
return self.declarator.analyse(base_type, env, nonempty = nonempty)
else: