mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Add cmdclass to distutils.dist.Distribution (#3742)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user