summaryrefslogtreecommitdiff
path: root/sphinx/util/jsdump.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/jsdump.py')
-rw-r--r--sphinx/util/jsdump.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/util/jsdump.py b/sphinx/util/jsdump.py
index 17a3c6528..0cd59c383 100644
--- a/sphinx/util/jsdump.py
+++ b/sphinx/util/jsdump.py
@@ -3,6 +3,8 @@
Uses the basestring encode function from simplejson by Bob Ippolito.
"""
+from __future__ import annotations
+
import re
import warnings
from typing import IO, Any, Dict, List, Match, Union