2 <page id="Regress.FooBUnion.get_contained_type"
5 xmlns="http://projectmallard.org/1.0/"
6 xmlns:api="http://projectmallard.org/experimental/api/"
7 xmlns:ui="http://projectmallard.org/1.0/ui/">
10 <link xref="Regress.FooBUnion" group="method" type="guide"/>
13 <api:type>int</api:type>
15 <api:name>regress_foo_bunion_get_contained_type</api:name>
17 <api:type>Regress.FooBUnion</api:type>
18 <api:name>self</api:name>
23 <title>Regress.FooBUnion.get_contained_type</title>
25 <synopsis><code mime="text/x-python">
26 @accepts(Regress.FooBUnion)
28 def get_contained_type(self):
29 # Python wrapper for regress_foo_bunion_get_contained_type()
40 <title><code>self</code></title>
44 <title><code>Returns</code></title>
45 {formatter.format(node, node.retval.doc)}