Sha256: 668e3e712179bf8e83d6e017150ad20a17e8438af855da298dddc430ea087343

Contents?: true

Size: 841 Bytes

Versions: 6

Compression:

Stored size: 841 Bytes

Contents

<%inherit file="/base.tmpl"/>
<%block name="synopsis">
<synopsis><code mime="text/x-python">
% if formatter.get_parameters(node):
@accepts(\
${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
)
% endif
@returns(${formatter.format_type(node.retval.type) | x})
def \
do_${node.name}(\
${', '.join((arg.argname for arg in formatter.get_parameters(node)))}\
):
</code></synopsis>
</%block>
<%block name="details">
% if formatter.get_parameters(node) or node.retval:
<terms>
% for arg in formatter.get_parameters(node):
<item>
<title><code>${arg.argname}</code></title>
${formatter.format(node, arg.doc)}
</item>
% endfor
% if node.retval and node.retval.type.ctype != 'void':
<item>
<title><code>Returns</code></title>
${formatter.format(node, node.retval.doc)}
</item>
% endif
</terms>
% endif
</%block>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gobject-introspection-2.2.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl
gobject-introspection-2.1.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl
gobject-introspection-2.0.3-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl
gobject-introspection-2.0.2-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl
gobject-introspection-2.0.1-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl
gobject-introspection-2.0.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl