Add cmdclass to distutils.dist.Distribution (#3742)

This commit is contained in:
Anthony Sottile
2020-02-19 03:18:41 -08:00
committed by GitHub
parent 91deb7a79f
commit c0da627d40

View File

@@ -1,10 +1,11 @@
# Stubs for distutils.dist
from distutils.cmd import Command
from typing import Any, Mapping, Optional, Dict, Tuple, Iterable, Text
from typing import Any, Dict, Mapping, Optional, Dict, Tuple, Iterable, Text, Type
class Distribution:
cmdclass: Dict[str, Type[Command]]
def __init__(self, attrs: Optional[Mapping[str, Any]] = ...) -> None: ...
def get_option_dict(self, command: str) -> Dict[str, Tuple[str, Text]]: ...
def parse_config_files(self, filenames: Optional[Iterable[Text]] = ...) -> None: ...