summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page
blob: a04abd759c9ddac8c9fe92062cd13959453f8721 (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
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<page id="Regress.AnnotationObject.allow_none"
      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.AnnotationObject" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>GObject.Object</api:type>
      </api:returns>
      <api:name>regress_annotation_object_allow_none</api:name>
      <api:arg>
        <api:type>Regress.AnnotationObject</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>somearg</api:name>
      </api:arg>
    </api:function>

  </info>
  <title>Regress.AnnotationObject.allow_none</title>
  
<synopsis><code mime="text/x-python">
@accepts(Regress.AnnotationObject, unicode)
@returns(GObject.Object)
def allow_none(self, somearg):
    # Python wrapper for regress_annotation_object_allow_none()
</code></synopsis>

  
    
  
  
  
  
<terms>
<item>
<title><code>self</code></title>
<p>a <link xref="GObject.Object"/></p>
</item>
<item>
<title><code>somearg</code></title>

</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

  
  
</page>