2 <page id="Regress.FooObject.append_new_stack_layer"
5 xmlns="http://projectmallard.org/1.0/"
6 xmlns:api="http://projectmallard.org/experimental/api/"
7 xmlns:ui="http://projectmallard.org/1.0/ui/">
9 <link xref="Regress.FooObject" group="method" type="guide"/>
12 <api:type>Regress.FooOtherObject</api:type>
14 <api:name>regress_foo_object_append_new_stack_layer</api:name>
16 <api:type>Regress.FooObject</api:type>
17 <api:name>self</api:name>
20 <api:type>int</api:type>
21 <api:name>x</api:name>
25 <title>Regress.FooObject.append_new_stack_layer</title>
26 <synopsis><code mime="text/x-python">
27 @accepts(Regress.FooObject, int)
28 @returns(Regress.FooOtherObject)
29 def append_new_stack_layer(self, x):
30 # Python wrapper for regress_foo_object_append_new_stack_layer()
32 <p>This shouldn't be scanned as a constructor.</p>
36 <title><code>self</code></title>
40 <title><code>x</code></title>
44 <title><code>Returns</code></title>
45 {formatter.format(node, node.retval.doc)}