Skip to content

Commit

Permalink
mypy: Fix return type of a function.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmaeklavya2 authored and timabbott committed May 25, 2017
1 parent 3f5d0e6 commit 690b602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerver/lib/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def decorator(func):
# type: (Callable[..., Any]) -> (Callable[..., Any])
@wraps(func)
def func_with_caching(*args, **kwargs):
# type: (*Any, **Any) -> Callable[..., Any]
# type: (*Any, **Any) -> Any
key = keyfunc(*args, **kwargs)

val = cache_get(key, cache_name=cache_name)
Expand Down

0 comments on commit 690b602

Please sign in to comment.