mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 23:43:46 +08:00
distutils: Allow overriding Command and Distribution boolean attributes with actual bool in subclasses (#13615)
This commit is contained in:
1 parent
041580d6d6
commit
1f2ceccfae
2 files changed
+4
-4
No files matched your search
@@ -88,9 +88,9 @@ class Distribution:
|
||||
display_options: ClassVar[_OptionsList]
|
||||
display_option_names: ClassVar[list[str]]
|
||||
negative_opt: ClassVar[dict[str, str]]
|
||||
verbose: Literal[0, 1]
|
||||
dry_run: Literal[0, 1]
|
||||
help: Literal[0, 1]
|
||||
verbose: bool | Literal[0, 1]
|
||||
dry_run: bool | Literal[0, 1]
|
||||
help: bool | Literal[0, 1]
|
||||
command_packages: list[str] | None
|
||||
script_name: str | None
|
||||
script_args: list[str] | None
|
||||
|
||||
Reference in new issue
Block a user