summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-12-30 21:13:29 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-01 20:48:38 +0000
commit26f79b0d2dd88b353ac65623897bdfbe8bc07cab (patch)
tree0d2f0c752cf1f49a45cde1d7f414d75a6114f1ce /sphinx/setup_command.py
parentf4c8a0a68e0013808d169357c9f77ebdf19d0f4e (diff)
downloadsphinx-git-26f79b0d2dd88b353ac65623897bdfbe8bc07cab.tar.gz
Use PEP 595 types
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index f725ec3cc..b7aa683e3 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -9,7 +9,7 @@ import os
import sys
import warnings
from io import StringIO
-from typing import Any, Dict, Optional
+from typing import Any, Optional
from sphinx.application import Sphinx
from sphinx.cmd.build import handle_exception
@@ -150,7 +150,7 @@ class BuildDoc(Command):
status_stream = StringIO()
else:
status_stream = sys.stdout # type: ignore
- confoverrides: Dict[str, Any] = {}
+ confoverrides: dict[str, Any] = {}
if self.project:
confoverrides['project'] = self.project
if self.version: