summaryrefslogtreecommitdiff
path: root/sphinx/util/docfields.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/docfields.py')
-rw-r--r--sphinx/util/docfields.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py
index 7a2f802c5..ec49774f1 100644
--- a/sphinx/util/docfields.py
+++ b/sphinx/util/docfields.py
@@ -3,6 +3,8 @@
"Doc fields" are reST field lists in object descriptions that will
be domain-specifically transformed to a more appealing presentation.
"""
+from __future__ import annotations
+
from typing import TYPE_CHECKING, Any, Dict, List, Tuple, Type, Union, cast
from docutils import nodes