diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page index 1212d82a..831e9fb0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page @@ -1,11 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_n_args" 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>gint</api:type> + </api:returns> + <api:name>g_callable_info_get_n_args</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_get_n_args</title> -<p>Obtain the number of arguments (both IN and OUT) for this callable.</p></page> + <title>callable_info_get_n_args</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo) +@returns(gint) +def callable_info_get_n_args(info) +</code></synopsis> +<p>Obtain the number of arguments (both IN and OUT) for this callable.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>The number of arguments this callable expects.</p></td> +</tr> +</table> +</page> |