""" This type stub file was generated by pyright. """ class DocstringComponents: regexp = ... def __init__(self, comp_dict, strip_whitespace=...) -> None: """Read entries from a dict, optionally stripping outer whitespace.""" ... def __getattr__(self, attr): # -> Any: """Provided dot access to entries.""" ... @classmethod def from_nested_components(cls, **kwargs): # -> Self@DocstringComponents: """Add multiple sub-sets of components.""" ... @classmethod def from_function_params(cls, func): # -> Self@DocstringComponents: """Use the numpydoc parser to extract components from existing func.""" ... _core_params = ... _core_returns = ... _seealso_blurbs = ... _core_docs = ...