Skip to content

parser ยค

Classes:

Name Description
ReSTDocstringParser

As recommended by (PEP 287)[https://peps.python.org/pep-0287/],

ReSTDocstringParser ยค

ReSTDocstringParser(docstring: str)

Bases: BaseDocStringParser

As recommended by (PEP 287)[https://peps.python.org/pep-0287/], the recommended docstring format is the reStructuredText format (shortform - reST).

Source code in src/declarai/python_parser/docstring_parsers/reST/parser.py
25
26
def __init__(self, docstring: str):
    self.docstring = docstring