summaryrefslogtreecommitdiff
path: root/sphinx/util/rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/rst.py')
-rw-r--r--sphinx/util/rst.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/util/rst.py b/sphinx/util/rst.py
index 800d15f5b..ddcef6f6d 100644
--- a/sphinx/util/rst.py
+++ b/sphinx/util/rst.py
@@ -1,5 +1,7 @@
"""reST helper functions."""
+from __future__ import annotations
+
import re
from collections import defaultdict
from contextlib import contextmanager