Skip to content

Commit 0ed458e

Browse files
committed
Convert type comments to annotations
1 parent 395f939 commit 0ed458e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinxcontrib/applehelp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from os import environ
1515
from os import path
1616
from subprocess import CalledProcessError, PIPE, STDOUT
17-
from typing import Any, Dict
17+
from typing import Any
1818

1919
import sphinx
2020
from sphinx.application import Sphinx
@@ -233,7 +233,7 @@ def do_codesign(self) -> None:
233233
raise AppleHelpCodeSigningFailed(exc.stdout)
234234

235235

236-
def setup(app: Sphinx) -> Dict[str, Any]:
236+
def setup(app: Sphinx) -> dict[str, Any]:
237237
app.setup_extension('sphinx.builders.html')
238238
app.add_builder(AppleHelpBuilder)
239239
app.add_message_catalog(__name__, path.join(package_dir, 'locales'))

0 commit comments

Comments
 (0)