summaryrefslogtreecommitdiff
path: root/sphinx/ext/napoleon/iterators.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/napoleon/iterators.py')
-rw-r--r--sphinx/ext/napoleon/iterators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/napoleon/iterators.py b/sphinx/ext/napoleon/iterators.py
index b4bba8863..72be60c82 100644
--- a/sphinx/ext/napoleon/iterators.py
+++ b/sphinx/ext/napoleon/iterators.py
@@ -12,9 +12,9 @@
"""
import collections
+from typing import TYPE_CHECKING
-if False:
- # For type annotation
+if TYPE_CHECKING:
from typing import Any, Iterable # NOQA