Imported Upstream version 1.35.9
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Python-expected / Regress.FooBUnion.get_contained_type.page
1 <?xml version="1.0"?>
2 <page id="Regress.FooBUnion.get_contained_type"
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     
10     <link xref="Regress.FooBUnion" group="method" type="guide"/>
11     <api:function>
12       <api:returns>
13         <api:type>int</api:type>
14       </api:returns>
15       <api:name>regress_foo_bunion_get_contained_type</api:name>
16       <api:arg>
17         <api:type>Regress.FooBUnion</api:type>
18         <api:name>self</api:name>
19       </api:arg>
20     </api:function>
21
22   </info>
23   <title>Regress.FooBUnion.get_contained_type</title>
24   
25 <synopsis><code mime="text/x-python">
26 @accepts(Regress.FooBUnion)
27 @returns(int)
28 def get_contained_type(self):
29     # Python wrapper for regress_foo_bunion_get_contained_type()
30 </code></synopsis>
31
32   
33     
34   
35   
36   
37   
38 <terms>
39 <item>
40 <title><code>self</code></title>
41
42 </item>
43 <item>
44 <title><code>Returns</code></title>
45 {formatter.format(node, node.retval.doc)}
46 </item>
47 </terms>
48
49   
50   
51 </page>