diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page index 4979c514..3af42049 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page @@ -1,11 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.get_attribute" type="topic" style="function" xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" xmlns:ui="http://projectmallard.org/experimental/ui/"> <info> <link type="guide" xref="GIRepository.BaseInfo" group="function"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_base_info_get_attribute</api:name> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.get_attribute</title> -<p>Retrieve an arbitrary attribute associated with this node.</p></page> + <title>get_attribute</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def get_attribute(name) +</code></synopsis> +<p>Retrieve an arbitrary attribute associated with this node.</p> + +<table> +<tr> +<td><p>name :</p></td> +<td><p>a freeform string naming an attribute</p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>The value of the attribute, or None if no such attribute exists</p></td> +</tr> +</table> +</page> |