def document_custom_signature(section, name, method, include=None, exclude=None):
 (args, varargs, keywords, defaults) = inspect.getargspec(method)
 args = args[1:]
 signature_params = inspect.formatargspec(args, varargs, keywords, defaults)
 signature_params = signature_params.lstrip('(')
 signature_params = signature_params.rstrip(')')
 section.style.start_sphinx_py_method(name, signature_params)

def document_custom_signature ( section , name , method , include = None , exclude = None ) : ( args , varargs , keywords , defaults ) = inspect . getargspec ( method ) args = args [ 1 : ] signature_params = inspect . formatargspec ( args , varargs , keywords , defaults ) signature_params = signature_params . lstrip ( '(' ) signature_params = signature_params . rstrip ( ')' ) section . style . start_sphinx_py_method ( name , signature_params )
documents the signature of a custom method .