get_docstring_lists#

pyconverter.xml2py.custom_functions.get_docstring_lists(filename)#

Get lists of strings depending on Python file sections.

Parameters:
filenamestr

Path containing the Python file.

Returns:
list_py_returnsList[str]

List containing the docstring Returns section.

list_py_examplesList[str]

List containing the docstring Examples section.

list_py_codeList[str]

List containing the source code.

list_importList[str]

List containing the library import section.