mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
fix type of distutils.cmd.Command.sub_commands (#3736)
This commit is contained in:
@@ -5,7 +5,7 @@ from abc import abstractmethod
|
||||
from distutils.dist import Distribution
|
||||
|
||||
class Command:
|
||||
sub_commands: List[Tuple[str, Union[Callable[[], bool], str, None]]]
|
||||
sub_commands: List[Tuple[str, Optional[Callable[[Command], bool]]]]
|
||||
def __init__(self, dist: Distribution) -> None: ...
|
||||
@abstractmethod
|
||||
def initialize_options(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user