Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Python-expected / Regress.TestSubObj.instance_method.page
1 <?xml version="1.0"?>
2 <page id="Regress.TestSubObj.instance_method"
3       type="topic"
4       style="method"
5       xmlns="http://projectmallard.org/1.0/"
6       xmlns:api="http://projectmallard.org/experimental/api/"
7       xmlns:ui="http://projectmallard.org/1.0/ui/">
8   <info>
9     <link xref="Regress.TestSubObj" group="method" type="guide"/>
10     <api:function>
11       <api:returns>
12         <api:type>int</api:type>
13       </api:returns>
14       <api:name>regress_test_sub_obj_instance_method</api:name>
15       <api:arg>
16         <api:type>Regress.TestSubObj</api:type>
17         <api:name>self</api:name>
18       </api:arg>
19     </api:function>
20   </info>
21   <title>Regress.TestSubObj.instance_method</title>
22   <synopsis><code mime="text/x-python">
23 @accepts(Regress.TestSubObj)
24 @returns(int)
25 def instance_method(self):
26     # Python wrapper for regress_test_sub_obj_instance_method()
27   </code></synopsis>
28
29
30 <terms>
31 <item>
32 <title><code>self</code></title>
33
34 </item>
35 <item>
36 <title><code>Returns</code></title>
37 {formatter.format(node, node.retval.doc)}
38 </item>
39 </terms>
40
41 </page>