summaryrefslogtreecommitdiff
path: root/astroid/inference_tip.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/inference_tip.py')
-rw-r--r--astroid/inference_tip.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/inference_tip.py b/astroid/inference_tip.py
index 59b0cc06..341efd63 100644
--- a/astroid/inference_tip.py
+++ b/astroid/inference_tip.py
@@ -7,6 +7,7 @@
from __future__ import annotations
import typing
+from collections.abc import Iterator
import wrapt
@@ -30,7 +31,7 @@ def clear_inference_tip_cache():
@wrapt.decorator
def _inference_tip_cached(
func: InferFn, instance: None, args: typing.Any, kwargs: typing.Any
-) -> typing.Iterator[InferOptions]:
+) -> Iterator[InferOptions]:
"""Cache decorator used for inference tips"""
node = args[0]
try: