mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 19:17:16 +08:00
More pywin32 stub completion (#9308)
Completed based on usage of the following libraries in mypy_primer: - apprise - comtypes As well as some of the most popular libraries that use both pywin32 and mypy (all over 1k stars on github): - certbot - anki - flexget - monkey - twisted - salt Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from abc import abstractmethod
|
||||
from collections.abc import Iterable, Mapping
|
||||
from collections.abc import Iterable, Mapping, Sequence
|
||||
from distutils.core import Command as _Command
|
||||
from typing import Any
|
||||
|
||||
@@ -34,7 +34,7 @@ def setup(
|
||||
packages: list[str] = ...,
|
||||
py_modules: list[str] = ...,
|
||||
scripts: list[str] = ...,
|
||||
ext_modules: list[Extension] = ...,
|
||||
ext_modules: Sequence[Extension] = ...,
|
||||
classifiers: list[str] = ...,
|
||||
distclass: type[Distribution] = ...,
|
||||
script_name: str = ...,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from collections.abc import Mapping
|
||||
from collections.abc import Mapping, Sequence
|
||||
from distutils.cmd import Command as Command
|
||||
from distutils.dist import Distribution as Distribution
|
||||
from distutils.extension import Extension as Extension
|
||||
@@ -19,7 +19,7 @@ def setup(
|
||||
packages: list[str] = ...,
|
||||
py_modules: list[str] = ...,
|
||||
scripts: list[str] = ...,
|
||||
ext_modules: list[Extension] = ...,
|
||||
ext_modules: Sequence[Extension] = ...,
|
||||
classifiers: list[str] = ...,
|
||||
distclass: type[Distribution] = ...,
|
||||
script_name: str = ...,
|
||||
|
||||
Reference in New Issue
Block a user