diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-12-30 21:13:29 +0000 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-01-01 20:48:38 +0000 |
commit | 26f79b0d2dd88b353ac65623897bdfbe8bc07cab (patch) | |
tree | 0d2f0c752cf1f49a45cde1d7f414d75a6114f1ce /sphinx/writers/manpage.py | |
parent | f4c8a0a68e0013808d169357c9f77ebdf19d0f4e (diff) | |
download | sphinx-git-26f79b0d2dd88b353ac65623897bdfbe8bc07cab.tar.gz |
Use PEP 595 types
Diffstat (limited to 'sphinx/writers/manpage.py')
-rw-r--r-- | sphinx/writers/manpage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/writers/manpage.py b/sphinx/writers/manpage.py index 48b8d936c..89d303a67 100644 --- a/sphinx/writers/manpage.py +++ b/sphinx/writers/manpage.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Any, Dict, Iterable, cast +from typing import Any, Iterable, cast from docutils import nodes from docutils.nodes import TextElement # noqa: F401 (used for type comments only) @@ -71,7 +71,7 @@ class ManualPageTranslator(SphinxTranslator, BaseTranslator): Custom man page translator. """ - _docinfo: Dict[str, Any] = {} + _docinfo: dict[str, Any] = {} def __init__(self, document: nodes.document, builder: Builder) -> None: super().__init__(document, builder) |