parameters: (scope_node)
return_statement: return '%s\n\n%s' % (call_signature, doc)
docstring: Return a document string including call signature.
docstring_summary: Return a document string including call signature.
docstring_tokens: Return a document string including call signature .
function: def get_doc_with_call_signature(scope_node):
      """
      Return a document string including call signature.
      """
      call_signature = None
      if scope_node.type == 'classdef':
          for funcdef in scope_node.iter_funcdefs():
              if funcdef.name.value == '__init__':
                  call_signature = \
                      get_call_signature(funcdef, call_string=scope_node.name.value)
      elif scope_node.type in ('funcdef', 'lambdef'):
          call_signature = get_call_signature(scope_node)
  
      doc = clean_scope_docstring(scope_node)
      if call_signature is None:
          return doc
      return '%s\n\n%s' % (call_signature, doc)
function_tokens: def get_doc_with_call_signature ( scope_node ) : call_signature = None if scope_node . type == 'classdef' : for funcdef in scope_node . iter_funcdefs ( ) : if funcdef . name . value == '__init__' : call_signature = get_call_signature ( funcdef , call_string = scope_node . name . value ) elif scope_node . type in ( 'funcdef' , 'lambdef' ) : call_signature = get_call_signature ( scope_node ) doc = clean_scope_docstring ( scope_node ) if call_signature is None : return doc return '%s\n\n%s' % ( call_signature , doc )