summaryrefslogtreecommitdiff
path: root/sphinx/ext/todo.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/todo.py')
-rw-r--r--sphinx/ext/todo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/ext/todo.py b/sphinx/ext/todo.py
index e35cbdba4..67409ddf9 100644
--- a/sphinx/ext/todo.py
+++ b/sphinx/ext/todo.py
@@ -5,6 +5,8 @@ The todolist directive collects all todos of your project and lists them along
with a backlink to the original location.
"""
+from __future__ import annotations
+
from typing import Any, Dict, List, cast
from docutils import nodes