cython-devel

changeset 902:19282c553659

public attribute fix
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Aug 02 17:16:52 2008 -0700 (3 years ago)
parents 193fe7e34b57
children 6a8548429322
files Cython/Compiler/Nodes.py
line diff
1.1 --- a/Cython/Compiler/Nodes.py Sat Aug 02 16:33:39 2008 -0700 1.2 +++ b/Cython/Compiler/Nodes.py Sat Aug 02 17:16:52 2008 -0700 1.3 @@ -627,7 +627,7 @@ 1.4 # need_properties [entry] 1.5 1.6 child_attrs = ["base_type", "declarators"] 1.7 - need_properties = [] 1.8 + need_properties = () 1.9 1.10 def analyse_declarations(self, env, dest_scope = None): 1.11 if not dest_scope: 1.12 @@ -639,6 +639,7 @@ 1.13 and self.visibility == 'public' 1.14 and base_type.is_pyobject 1.15 and (base_type.is_builtin_type or base_type.is_extension_type)): 1.16 + self.need_properties = [] 1.17 need_property = True 1.18 visibility = 'private' 1.19 else: