Skip to content

Commit d97fe7a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 06d0130 commit d97fe7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

other/lfu_cache.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ def decorator(
289289

290290
def cache_decorator_inner(func: Callable[[T], U]) -> Callable[..., U]:
291291
# variable to map the decorator functions to their respective instance
292-
decorator_function_to_instance_map: dict[Callable[[T], U], LFUCache[T, U]] = {}
292+
decorator_function_to_instance_map: dict[
293+
Callable[[T], U], LFUCache[T, U]
294+
] = {}
293295

294296
def cache_decorator_wrapper(*args: T) -> U:
295297
if func not in decorator_function_to_instance_map:

0 commit comments

Comments
 (0)