File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ def __init__(
173
173
self .__opt_is_full_name = None
174
174
self .__decl_name_only = None
175
175
176
- self ._set_name (name )
176
+ # Set the name through the setter.
177
+ self .name = name
177
178
178
179
self .header_dir = header_dir
179
180
self .header_file = header_file
Original file line number Diff line number Diff line change @@ -37,13 +37,9 @@ def _get__cmp__scope_items(self):
37
37
def _get_declarations_impl (self ):
38
38
return self ._declarations
39
39
40
- @property
41
- def declarations (self ):
42
- """Getter is defined in scopedef.scopedef_t"""
43
- return scopedef .scopedef_t .declarations
44
-
45
- @declarations .setter
40
+ @scopedef .scopedef_t .declarations .setter
46
41
def declarations (self , declarations ):
42
+ """Getter is defined in scopedef.scopedef_t"""
47
43
"""list of all declarations, defined in the namespace"""
48
44
self ._declarations = declarations
49
45
You can’t perform that action at this time.
0 commit comments