summaryrefslogtreecommitdiffstats
path: root/bindings/lang_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/lang_python.py')
-rw-r--r--bindings/lang_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/lang_python.py b/bindings/lang_python.py
index 46980c61..f4f051f8 100644
--- a/bindings/lang_python.py
+++ b/bindings/lang_python.py
@@ -461,7 +461,7 @@ if WSF_SUPPORT:
print >> fd, ' value = _lasso.%s(self._cptr%s)' % (
function_name, c_args)
print >> fd, ' if value is not None:'
- print >> fd, ' value = tuple([x._cptr for x in value])'
+ print >> fd, ' value = tuple([cptrToPy(x) for x in value])'
print >> fd, ' return value'
elif self.is_pygobject(m.return_type):
print >> fd, ' return cptrToPy(_lasso.%s(self._cptr%s))' % (