0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-30 13:38:58 +02:00

Apply suggestions from code review

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
This commit is contained in:
Richard van der Hoff 2020-10-16 16:14:42 +01:00 committed by GitHub
parent 402213bf41
commit 995cc615a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -283,7 +283,7 @@ class LruCache(Generic[KT, VT]):
return value
@overload
def cache_pop(key: KT, default: Literal[None] = None) -> Union[None, VT]:
def cache_pop(key: KT, default: Literal[None] = None) -> Optional[VT]:
...
@overload