mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
0
stdlib/3/distutils/__init__.pyi
Normal file
0
stdlib/3/distutils/__init__.pyi
Normal file
4
stdlib/3/distutils/errors.pyi
Normal file
4
stdlib/3/distutils/errors.pyi
Normal file
@@ -0,0 +1,4 @@
|
||||
import typing
|
||||
|
||||
class DistutilsError(Exception): ...
|
||||
class DistutilsExecError(DistutilsError): ...
|
||||
6
stdlib/3/distutils/spawn.pyi
Normal file
6
stdlib/3/distutils/spawn.pyi
Normal file
@@ -0,0 +1,6 @@
|
||||
from typing import List
|
||||
|
||||
# In Python, arguments have integer default values
|
||||
def spawn(cmd: List[str], search_path: bool = True, verbose: bool = False,
|
||||
dry_run: bool = False) -> None: ...
|
||||
def find_executable(executable: str, path: str = None) -> str: ...
|
||||
Reference in New Issue
Block a user