% if len(node.parameters) != 0:
@accepts(\
% for arg, ix in zip(node.parameters, range(len(node.parameters))):
${formatter.format_type(arg.type) | x}\
% if ix != len(node.parameters) - 1:
, \
%endif
% endfor
)
% endif
@returns(${formatter.format_type(node.retval.type) | x})
def \
do_${node.name}(self, \
% for arg, ix in zip(node.parameters, range(len(node.parameters))):
${arg.argname}\
% if ix != len(node.parameters) - 1:
, \
%endif
% endfor
):
${arg.argname} : |
${formatter.format(arg.doc)} |
Returns : |
${formatter.format(node.retval.doc)} |
Since ${node.version}
% endif