Fix bug in CppInstanceAttributeSetter

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2007-12-28 15:26:56 +00:00
1 parent b7e1831e2a
commit 166eeb1c5a
1 file changed
+1
+1
View File
@@ -144,6 +144,7 @@ class CppInstanceAttributeSetter(PySetter):
else:
## else the value is written directly to a C++ instance attribute
self.return_value.value = "self->obj->%s" % self.attribute_name
self.return_value.REQUIRES_ASSIGNMENT_CONSTRUCTOR = False
self.return_value.convert_python_to_c(self)