mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
setuptools&distutils: setup returns a Distribution (#11617)
`setup` returns a `Distribution`
This commit is contained in:
@@ -53,5 +53,5 @@ def setup(
|
||||
password: str = ...,
|
||||
fullname: str = ...,
|
||||
**attrs: Any,
|
||||
) -> None: ...
|
||||
) -> Distribution: ...
|
||||
def run_setup(script_name: str, script_args: list[str] | None = None, stop_after: str = "run") -> Distribution: ...
|
||||
|
||||
@@ -69,7 +69,7 @@ def setup(
|
||||
password: str = ...,
|
||||
fullname: str = ...,
|
||||
**attrs: Any,
|
||||
) -> None: ...
|
||||
) -> Distribution: ...
|
||||
|
||||
class Command(_Command):
|
||||
command_consumes_arguments: bool
|
||||
|
||||
Reference in New Issue
Block a user