parameters: (docstr)
return_statement: return newdocstr
docstring: To reduce docstrings from RawTurtle class for functions
docstring_summary: To reduce docstrings from RawTurtle class for functions
docstring_tokens: To reduce docstrings from RawTurtle class for functions
function: def _turtle_docrevise(docstr):
      """To reduce docstrings from RawTurtle class for functions
      """
      import re
      if docstr is None:
          return None
      turtlename = _CFG["exampleturtle"]
      newdocstr = docstr.replace("%s." % turtlename,"")
      parexp = re.compile(r' \(.+ %s\):' % turtlename)
      newdocstr = parexp.sub(":", newdocstr)
      return newdocstr
function_tokens: def _turtle_docrevise ( docstr ) : import re if docstr is None : return None turtlename = _CFG [ "exampleturtle" ] newdocstr = docstr . replace ( "%s." % turtlename , "" ) parexp = re . compile ( r' \(.+ %s\):' % turtlename ) newdocstr = parexp . sub ( ":" , newdocstr ) return newdocstr