diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page index 99d5139d..52ddc1ba 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page @@ -1,11 +1,48 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_return_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="index" group="function"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_callable_info_get_return_attribute</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_get_return_attribute</title> -<p>Retrieve an arbitrary attribute associated with the return value.</p></page> + <title>callable_info_get_return_attribute</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo, utf8) +@returns(utf8) +def callable_info_get_return_attribute(info, name) +</code></synopsis> +<p>Retrieve an arbitrary attribute associated with the return value.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td> +</tr> +<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> |