def _process_docstring(app, what, name, obj, options, lines):
 result_lines = lines
 docstring = None
 if app.config.napoleon_numpy_docstring:
  docstring = NumpyDocstring(result_lines, app.config, app, what, name, obj, options)
  result_lines = docstring.lines()
 if app.config.napoleon_google_docstring:
  docstring = GoogleDocstring(result_lines, app.config, app, what, name, obj, options)
  result_lines = docstring.lines()
 lines[:] = result_lines[:]

def _process_docstring ( app , what , name , obj , options , lines ) : result_lines = lines docstring = None if app . config . napoleon_numpy_docstring : docstring = NumpyDocstring ( result_lines , app . config , app , what , name , obj , options ) result_lines = docstring . lines ( ) if app . config . napoleon_google_docstring : docstring = GoogleDocstring ( result_lines , app . config , app , what , name , obj , options ) result_lines = docstring . lines ( ) lines [ : ] = result_lines [ : ]
process the docstring for a given python object .