mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 12:35:49 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import typing
|
||||
|
||||
class DistutilsError(Exception): ...
|
||||
class DistutilsExecError(DistutilsError): ...
|
||||
@@ -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