mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 20:31:32 +08:00
typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.archive_util
|
||||
|
||||
from typing import Optional
|
||||
|
||||
def make_archive(
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.bcppcompiler
|
||||
|
||||
from distutils.ccompiler import CCompiler
|
||||
|
||||
class BCPPCompiler(CCompiler): ...
|
||||
|
||||
@@ -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]]]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.cygwinccompiler
|
||||
|
||||
from distutils.unixccompiler import UnixCCompiler
|
||||
|
||||
class CygwinCCompiler(UnixCCompiler): ...
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
# Stubs for distutils.debug
|
||||
|
||||
DEBUG: bool
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.dep_util
|
||||
|
||||
from typing import List, Tuple
|
||||
|
||||
def newer(source: str, target: str) -> bool: ...
|
||||
|
||||
@@ -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]: ...
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# Stubs for distutils.dist
|
||||
from distutils.cmd import Command
|
||||
from typing import Any, Dict, Iterable, Mapping, Optional, Tuple, Type
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.file_util
|
||||
|
||||
from typing import Optional, Sequence, Tuple
|
||||
|
||||
def copy_file(
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
# Stubs for distutils.filelist
|
||||
|
||||
class FileList: ...
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.msvccompiler
|
||||
|
||||
from distutils.ccompiler import CCompiler
|
||||
|
||||
class MSVCCompiler(CCompiler): ...
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.sysconfig
|
||||
|
||||
from distutils.ccompiler import CCompiler
|
||||
from typing import Mapping, Optional, Union
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.text_file
|
||||
|
||||
from typing import IO, List, Optional, Tuple, Union
|
||||
|
||||
class TextFile:
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.unixccompiler
|
||||
|
||||
from distutils.ccompiler import CCompiler
|
||||
|
||||
class UnixCCompiler(CCompiler): ...
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Stubs for distutils.util
|
||||
|
||||
from typing import Any, Callable, List, Mapping, Optional, Tuple
|
||||
|
||||
def get_platform() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user