_docstring.pyi 687 B

1234567891011121314151617181920212223242526272829
  1. from typing import Any, Callable, TypeVar, overload
  2. _T = TypeVar('_T')
  3. class Substitution:
  4. @overload
  5. def __init__(self, *args: str): ...
  6. @overload
  7. def __init__(self, **kwargs: str): ...
  8. def __call__(self, func: _T) -> _T: ...
  9. def update(self, *args, **kwargs): ... # type: ignore[no-untyped-def]
  10. class _ArtistKwdocLoader(dict[str, str]):
  11. def __missing__(self, key: str) -> str: ...
  12. class _ArtistPropertiesSubstitution(Substitution):
  13. def __init__(self) -> None: ...
  14. def __call__(self, obj: _T) -> _T: ...
  15. def copy(source: Any) -> Callable[[_T], _T]: ...
  16. dedent_interpd: _ArtistPropertiesSubstitution
  17. interpd: _ArtistPropertiesSubstitution