module documentation

Classes for docstring parsing and formatting.

Unknown Field: copyright
Copyright 2007-2022 by the Sphinx team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Variable logger Undocumented
Class ​Google​Docstring Convert Google style docstrings to reStructuredText.
Class ​Numpy​Docstring Convert NumPy style docstrings to reStructuredText.
Function ​_convert​_numpy​_type​_spec Undocumented
Function ​_convert​_type​_spec Convert type specification to reference in reST.
Function ​_recombine​_set​_tokens Undocumented
Function ​_token​_type Undocumented
Function ​_tokenize​_type​_spec Undocumented
Constant ​_SINGLETONS Undocumented
Variable ​_bullet​_list​_regex Undocumented
Variable ​_default​_regex Undocumented
Variable ​_directive​_regex Undocumented
Variable ​_enumerated​_list​_regex Undocumented
Variable ​_google​_section​_regex Undocumented
Variable ​_google​_typed​_arg​_regex Undocumented
Variable ​_numpy​_section​_regex Undocumented
Variable ​_single​_colon​_regex Undocumented
Variable ​_token​_regex Undocumented
Variable ​_xref​_or​_code​_regex Undocumented
Variable ​_xref​_regex Undocumented
logger =

Undocumented

def _convert_numpy_type_spec(_type, location=None, translations={}):

Undocumented

Parameters
​_type:strUndocumented
location:strUndocumented
translations:dictUndocumented
Returns
strUndocumented
def _convert_type_spec(_type, translations={}):
Convert type specification to reference in reST.
Parameters
​_type:strUndocumented
translations:Dict[str, str]Undocumented
Returns
strUndocumented
def _recombine_set_tokens(tokens):

Undocumented

Parameters
tokens:List[str]Undocumented
Returns
List[str]Undocumented
def _token_type(token, location=None):

Undocumented

Parameters
token:strUndocumented
location:strUndocumented
Returns
strUndocumented
def _tokenize_type_spec(spec):

Undocumented

Parameters
spec:strUndocumented
Returns
List[str]Undocumented
_SINGLETONS: tuple[str, ...] =

Undocumented

Value
('None', 'True', 'False', 'Ellipsis')
_bullet_list_regex =

Undocumented

_default_regex =

Undocumented

_directive_regex =

Undocumented

_enumerated_list_regex =

Undocumented

_google_section_regex =

Undocumented

_google_typed_arg_regex =

Undocumented

_numpy_section_regex =

Undocumented

_single_colon_regex =

Undocumented

_token_regex =

Undocumented

_xref_or_code_regex =

Undocumented

_xref_regex =

Undocumented