summaryrefslogtreecommitdiff
path: root/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
blob: 506e40f36ce3f6ed7ef0a9d6a693c1fb4f6f7791 (plain)
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
42
43
44
45
46
47
48
<?xml version="1.0"?>
<page id="DocExamples.array_function"
      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 type="guide" xref="index" group="function"/>
    <api:function>
      <api:returns>
        <api:type>[int]</api:type>
      </api:returns>
      <api:name>doc_examples_array_function</api:name>
      <api:arg>
        <api:type>int</api:type>
        <api:name>out_len</api:name>
      </api:arg>
    </api:function>

  </info>
  <title>array_function</title>
  
<synopsis><code mime="text/x-python">
@accepts(int)
@returns([int])
def array_function(out_len):
    # Python wrapper for doc_examples_array_function()
</code></synopsis>

  
    <p>This function returns an array with an explicit length,
and the length should be invisible in most introspected bindings.</p>
  
  
  
  
<dl>
<dt><p>out_len :</p></dt>
<dd><p>the length of the returned array</p></dd>
<dt><p>Returns :</p></dt>
<dd><p>an array of numbers.</p></dd>
</dl>

  
  
</page>