diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page new file mode 100644 index 00000000..fa1908d1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_return_array" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link xref="index" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_annotation_return_array</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_return_array</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns([unicode]) +def annotation_return_array(length): + # Python wrapper for regress_annotation_return_array() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>length</code></title> +<p>Number of return values</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> |