summaryrefslogtreecommitdiff
path: root/sphinx/directives/patches.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/directives/patches.py')
-rw-r--r--sphinx/directives/patches.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py
index 833a9ff0b..4a38fd025 100644
--- a/sphinx/directives/patches.py
+++ b/sphinx/directives/patches.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
import os
from os import path
from typing import TYPE_CHECKING, Any, Dict, List, cast