parameters: (scope_node)
return_statement: return ''
docstring: Returns a cleaned version of the docstring token.
docstring_summary: Returns a cleaned version of the docstring token.
docstring_tokens: Returns a cleaned version of the docstring token .
function: def clean_scope_docstring(scope_node):
      """ Returns a cleaned version of the docstring token. """
      node = scope_node.get_doc_node()
      if node is not None:
          # TODO We have to check next leaves until there are no new
          # leaves anymore that might be part of the docstring. A
          # docstring can also look like this: ``'foo' 'bar'
          # Returns a literal cleaned version of the ``Token``.
          cleaned = cleandoc(safe_literal_eval(node.value))
          # Since we want the docstr output to be always unicode, just
          # force it.
          return force_unicode(cleaned)
      return ''
function_tokens: def clean_scope_docstring ( scope_node ) : node = scope_node . get_doc_node ( ) if node is not None : # TODO We have to check next leaves until there are no new # leaves anymore that might be part of the docstring. A # docstring can also look like this: ``'foo' 'bar' # Returns a literal cleaned version of the ``Token``. cleaned = cleandoc ( safe_literal_eval ( node . value ) ) # Since we want the docstr output to be always unicode, just # force it. return force_unicode ( cleaned ) return ''