mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user