mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-05 15:35:04 -04:00
Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
This commit is contained in:
parent
402213bf41
commit
995cc615a0
2 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ class LruCache(Generic[KT, VT]):
|
||||||
return value
|
return value
|
||||||
|
|
||||||
@overload
|
@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
|
@overload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue