class documentation

Undocumented

Static Method min_section_indent Undocumented
Method exceptions Undocumented
Method has_params Undocumented
Method has_property_returns Undocumented
Method has_property_type Undocumented
Method has_returns Undocumented
Method has_rtype Undocumented
Method has_yields Undocumented
Method has_yields_type Undocumented
Method match_param_docs Undocumented
Method matching_sections Returns the number of matching docstring sections.
Class Variable re_container_type Undocumented
Class Variable re_keyword_param_section Undocumented
Class Variable re_multiple_type Undocumented
Class Variable re_param_line Undocumented
Class Variable re_param_section Undocumented
Class Variable re_property_returns_line Undocumented
Class Variable re_raise_line Undocumented
Class Variable re_raise_section Undocumented
Class Variable re_returns_line Undocumented
Class Variable re_returns_section Undocumented
Class Variable re_yields_section Undocumented
Class Variable supports_yields True if the docstring supports a "yield" section.
Static Method _is_section_header Undocumented
Method _first_line Undocumented
Method _parse_section Undocumented
Class Variable _re_section_template Undocumented

Inherited from Docstring:

Method __init__ Undocumented
Method __repr__ Undocumented
Method params_documented_elsewhere Undocumented
Class Variable re_for_parameters_see Undocumented
Instance Variable doc Undocumented
@staticmethod
def min_section_indent(section_match: re.Match[str]) -> int: (source)
def matching_sections(self) -> int: (source)

Returns the number of matching docstring sections.

re_container_type = (source)

Undocumented

re_keyword_param_section = (source)

Undocumented

re_multiple_type = (source)

Undocumented

re_param_section = (source)
re_property_returns_line = (source)

Undocumented

re_raise_section = (source)
re_returns_section = (source)
re_yields_section = (source)
supports_yields: bool = (source)

True if the docstring supports a "yield" section. False if the docstring uses the returns section to document generators.

@staticmethod
def _is_section_header(_: str) -> bool: (source)
def _first_line(self) -> str: (source)

Undocumented

def _parse_section(self, section_re: re.Pattern[str]) -> list[str]: (source)

Undocumented

_re_section_template: str = (source)