summaryrefslogtreecommitdiff
path: root/sphinx/util/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/console.py')
-rw-r--r--sphinx/util/console.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/util/console.py b/sphinx/util/console.py
index ac3d2282f..5e4a0d321 100644
--- a/sphinx/util/console.py
+++ b/sphinx/util/console.py
@@ -19,6 +19,11 @@ try:
except ImportError:
colorama = None
+if False:
+ # For type annotation
+ from typing import Dict # NOQA
+
+
_ansi_re = re.compile('\x1b\\[(\\d\\d;){0,2}\\d\\dm')
codes = {} # type: Dict[str, str]