mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -1,6 +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: ...
|
||||
def spawn(cmd: List[str], search_path: bool = ..., verbose: bool = ...,
|
||||
dry_run: bool = ...) -> None: ...
|
||||
def find_executable(executable: str, path: str = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user