typeshed: remove crufty comments (#4699)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-10-23 00:40:06 -07:00
committed by GitHub
parent 3de732e188
commit 6ff5b88ca7
270 changed files with 16 additions and 684 deletions

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.archive_util
from typing import Optional
def make_archive(

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.bcppcompiler
from distutils.ccompiler import CCompiler
class BCPPCompiler(CCompiler): ...

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.ccompiler
from typing import Any, Callable, List, Optional, Tuple, Union
_Macro = Union[Tuple[str], Tuple[str, Optional[str]]]

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.core
from distutils.cmd import Command as Command
from distutils.dist import Distribution as Distribution
from distutils.extension import Extension as Extension

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.cygwinccompiler
from distutils.unixccompiler import UnixCCompiler
class CygwinCCompiler(UnixCCompiler): ...

View File

@@ -1,3 +1 @@
# Stubs for distutils.debug
DEBUG: bool

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.dep_util
from typing import List, Tuple
def newer(source: str, target: str) -> bool: ...

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.dir_util
from typing import List
def mkpath(name: str, mode: int = ..., verbose: int = ..., dry_run: int = ...) -> List[str]: ...

View File

@@ -1,4 +1,3 @@
# Stubs for distutils.dist
from distutils.cmd import Command
from typing import Any, Dict, Iterable, Mapping, Optional, Tuple, Type

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.fancy_getopt
from typing import Any, List, Mapping, Optional, Tuple, Union, overload
_Option = Tuple[str, Optional[str], str]

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.file_util
from typing import Optional, Sequence, Tuple
def copy_file(

View File

@@ -1,3 +1 @@
# Stubs for distutils.filelist
class FileList: ...

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.msvccompiler
from distutils.ccompiler import CCompiler
class MSVCCompiler(CCompiler): ...

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.spawn
from typing import List, Optional
def spawn(cmd: List[str], search_path: bool = ..., verbose: bool = ..., dry_run: bool = ...) -> None: ...

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.sysconfig
from distutils.ccompiler import CCompiler
from typing import Mapping, Optional, Union

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.text_file
from typing import IO, List, Optional, Tuple, Union
class TextFile:

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.unixccompiler
from distutils.ccompiler import CCompiler
class UnixCCompiler(CCompiler): ...

View File

@@ -1,5 +1,3 @@
# Stubs for distutils.util
from typing import Any, Callable, List, Mapping, Optional, Tuple
def get_platform() -> str: ...