Consistently use '= ...' for optional parameters.

This commit is contained in:
Matthias Kramm
2015-11-09 13:55:00 -08:00
parent 375bf063b1
commit 94c9ce8fd0
278 changed files with 2085 additions and 2085 deletions

View File

@@ -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: ...