Skip to content

Commit a79a2a7

Browse files
Remove optionality of list[InferenceResult]
1 parent 30f249d commit a79a2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroid/inference_tip.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
_P = ParamSpec("_P")
2323

2424
_cache: dict[
25-
tuple[InferFn, NodeNG, InferenceContext | None], list[InferenceResult] | None
25+
tuple[InferFn, NodeNG, InferenceContext | None], list[InferenceResult]
2626
] = {}
2727

2828
_CURRENTLY_INFERRING: set[tuple[InferFn, NodeNG]] = set()

0 commit comments

Comments
 (0)