sphinx.pycode.prepare_commentdoc

sphinx.pycode.prepare_commentdoc(s)[source]

Extract documentation comment lines (starting with #:) and return them as a list of lines. Returns an empty list if there is no documentation.