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, 1 insertions, 1 deletions
diff --git a/sphinx/util/docfields.py b/sphinx/util/docfields.py
index d997b0f43..299fd1fbb 100644
--- a/sphinx/util/docfields.py
+++ b/sphinx/util/docfields.py
@@ -235,7 +235,7 @@ class DocFieldTransformer:
"""
typemap: dict[str, tuple[Field, bool]]
- def __init__(self, directive: "ObjectDescription") -> None:
+ def __init__(self, directive: ObjectDescription) -> None:
self.directive = directive
self.typemap = directive.get_field_type_map()