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