Fix distutils and difflib stubtest exceptions (#5182)

This commit is contained in:
hatal175
2021-04-05 22:00:32 +03:00
committed by GitHub
parent 390d8f4911
commit 82130cca56
9 changed files with 104 additions and 34 deletions

View File

@@ -5,18 +5,18 @@ class Extension:
self,
name: str,
sources: List[str],
include_dirs: List[str] = ...,
define_macros: List[Tuple[str, Optional[str]]] = ...,
undef_macros: List[str] = ...,
library_dirs: List[str] = ...,
libraries: List[str] = ...,
runtime_library_dirs: List[str] = ...,
extra_objects: List[str] = ...,
extra_compile_args: List[str] = ...,
extra_link_args: List[str] = ...,
export_symbols: List[str] = ...,
include_dirs: Optional[List[str]] = ...,
define_macros: Optional[List[Tuple[str, Optional[str]]]] = ...,
undef_macros: Optional[List[str]] = ...,
library_dirs: Optional[List[str]] = ...,
libraries: Optional[List[str]] = ...,
runtime_library_dirs: Optional[List[str]] = ...,
extra_objects: Optional[List[str]] = ...,
extra_compile_args: Optional[List[str]] = ...,
extra_link_args: Optional[List[str]] = ...,
export_symbols: Optional[List[str]] = ...,
swig_opts: Optional[str] = ..., # undocumented
depends: List[str] = ...,
language: str = ...,
optional: bool = ...,
depends: Optional[List[str]] = ...,
language: Optional[str] = ...,
optional: Optional[bool] = ...,
) -> None: ...