Skip to content

Commit 61ec902

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 02dbed5 commit 61ec902

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

other/lru_cache.py

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

307307
def cache_decorator_inner(func: Callable[[T], U]) -> Callable[..., U]:
308308
# variable to map the decorator functions to their respective instance
309-
decorator_function_to_instance_map: dict[Callable[[T], U], LRUCache[T, U]] = {}
309+
decorator_function_to_instance_map: dict[
310+
Callable[[T], U], LRUCache[T, U]
311+
] = {}
310312

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

0 commit comments

Comments
 (0)