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:
Avasam
2022-12-05 17:23:35 -05:00
committed by GitHub
parent cdf5cc34f2
commit 0c3cf8f5e6
35 changed files with 552 additions and 292 deletions

View File

@@ -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 = ...,

View File

@@ -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 = ...,