aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-27 15:17:12 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-27 15:17:44 -0300
commit51d9d503cd847b5677d7bf438df2f754119f0400 (patch)
treebe1319d747807192568e632649f98f49043f4937 /PySide
parent41bd89393e3203c027cb659771e390a7101c5fc4 (diff)
Add return value docs to functions returning tuples.
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtCore/typesystem_core.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 0df47a9cf..0eafbb1d7 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -706,7 +706,7 @@
-->
<modify-function signature="data() const">
<modify-argument index="return">
- <replace-type modified-type="const char*"/>
+ <replace-type modified-type="str"/>
</modify-argument>
</modify-function>
</object-type>
@@ -727,7 +727,7 @@
<remove-argument/>
</modify-argument>
<modify-argument index="return">
- <replace-type modified-type="PyTuple*"/>
+ <replace-type modified-type="(year, month, day)"/>
</modify-argument>
<inject-code class="target" position="beginning">
int year, month, day;