stubber.rst.lookup

Lookup tables for the rst documentation stubber

Module Contents

stubber.rst.lookup.TYPING_IMPORT: List[str] = ['from __future__ import annotations', 'from typing import IO, Any, Callable, Coroutine, Dict,...
stubber.rst.lookup.U_MODULES = ['array', 'binascii', 'io', 'json', 'os', 'select', 'ssl', 'struct', 'socket', 'time', 'zlib']

List of modules that are documented with the base name only, but can also be imported with a u prefix

stubber.rst.lookup.RST_DOC_FIXES: List[Tuple[str, str]] = [(':class: attention\n', ''), ('.. method:: match.', '.. method:: Match.'), ('           ...
stubber.rst.lookup.DOCSTUB_SKIP = ['uasyncio.rst', 'builtins.rst', 're.rst']

this is an list with manual overrides for function returns that could not efficiently be determined from their docstring description Format: a dictionary with : - key = module.[class.]function name - value : two-tuple with ( return type , priority )

stubber.rst.lookup.LOOKUP_LIST
stubber.rst.lookup.NONE_VERBS = ['Activate ', 'Build a ', 'Cancel ', 'Clear ', 'Close ', 'cancel ', 'Configure ', 'Connect ',...
stubber.rst.lookup.MODULE_GLUE
stubber.rst.lookup.PARAM_FIXES
stubber.rst.lookup.CHILD_PARENT_CLASS