projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082fd06
)
public attribute fix
author
Robert Bradshaw
<robertwb@math.washington.edu>
Sun, 3 Aug 2008 00:16:52 +0000
(17:16 -0700)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Sun, 3 Aug 2008 00:16:52 +0000
(17:16 -0700)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 8046b4ff21a24213515b10015922d0aa802960b6..ec07ae86150618dcd1c693a70415f2df125fd542 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-627,7
+627,7
@@
class CVarDefNode(StatNode):
# need_properties [entry]
child_attrs = ["base_type", "declarators"]
- need_properties =
[]
+ need_properties =
()
def analyse_declarations(self, env, dest_scope = None):
if not dest_scope:
@@
-639,6
+639,7
@@
class CVarDefNode(StatNode):
and self.visibility == 'public'
and base_type.is_pyobject
and (base_type.is_builtin_type or base_type.is_extension_type)):
+ self.need_properties = []
need_property = True
visibility = 'private'
else: