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

@@ -6,7 +6,7 @@ from typing import Callable, Any, Optional
# TODO implement as class; more precise typing
# TODO cache_info and __wrapped__ attributes
def lru_cache(maxsize: Optional[int] = 100) -> Callable[[Any], Any]: ...
def lru_cache(maxsize: Optional[int] = ...) -> Callable[[Any], Any]: ...
# TODO more precise typing?
def wraps(func: Any) -> Any: ...