Skip to content

Commit 171c48b

Browse files
Adjust type annotation
1 parent d1b73d1 commit 171c48b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

astroid/inference_tip.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@
1010

1111
from typing_extensions import ParamSpec
1212

13+
from astroid.context import InferenceContext
1314
from astroid.exceptions import InferenceOverwriteError, UseInferenceDefault
1415
from astroid.nodes import NodeNG
1516
from astroid.typing import InferenceResult, InferFn
1617

1718
_P = ParamSpec("_P")
1819

19-
_cache: dict[tuple[InferFn, NodeNG], list[InferenceResult] | None] = {}
20+
_cache: dict[
21+
tuple[InferFn, NodeNG, InferenceContext | None], list[InferenceResult] | None
22+
] = {}
2023

2124

2225
def clear_inference_tip_cache() -> None:

0 commit comments

Comments
 (0)