${node.name} ${namespace.name}.${node.parent.name}.${node.name} % 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 ): ${formatter.format(node.doc)} % if node.parameters or node.retval: % for arg, ix in zip(node.parameters, range(len(node.parameters))): % endfor % if node.retval and node.retval.type.ctype != 'void': % endif

${arg.argname} :

${formatter.format(arg.doc)}

Returns :

${formatter.format(node.retval.doc)}
% endif % if node.version:

Since ${node.version}

% endif