summaryrefslogtreecommitdiff
path: root/tests/doctool/DocExamples-1.0-Python-expected
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-21 16:22:16 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-21 17:09:28 +0100
commitc383f8569a58d91de9e64d78b777d1a3925c3780 (patch)
treefd4c378b31714d5d39d1ed5b8180aa1d1b71f851 /tests/doctool/DocExamples-1.0-Python-expected
parent52c07daf1fa3a5d17957cc3e3d0d75c65b268b57 (diff)
downloadgobject-introspection-c383f8569a58d91de9e64d78b777d1a3925c3780.tar.gz
g-ir-doc-tool: Add the first argument of signals to the Python docs
Diffstat (limited to 'tests/doctool/DocExamples-1.0-Python-expected')
-rw-r--r--tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
index 5d240fa5..76a89f36 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
@@ -10,7 +10,7 @@
</info>
<title>DocExamples.Obj::signal-example</title>
<synopsis><code mime="text/x-python">
-def callback(float_param, since, user_param1, ...)
+def callback(obj, float_param, since, user_param1, ...)
</code></synopsis>
<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but
non-functional (always None), in older versions. They have been
@@ -18,6 +18,10 @@ available with their current behaviour since version 0.11.7.</p>
<table>
<tr>
+<td><p>obj :</p></td>
+<td><p>instance of DocExamples.Obj that is emitting the signal</p></td>
+</tr>
+<tr>
<td><p>float_param :</p></td>
<td><p>a parameter of type float</p></td>
</tr>