Skip to content

Commit c7e25a8

Browse files
committed
Correct type hint (#11)
1 parent 26af559 commit c7e25a8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mkdocs_test/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
import inspect
77
import subprocess
88
import re
9-
from dataclasses import dataclass, field
10-
from typing import List
9+
from dataclasses import dataclass
10+
from typing import List, Dict
1111
import json
12-
from typing import Any, List
1312
import textwrap
1413

1514

@@ -756,7 +755,7 @@ def page_map_file(self):
756755
return filename
757756

758757
@property
759-
def pages(self) -> dict[MkDocsPage]:
758+
def pages(self) -> Dict[str, MkDocsPage]:
760759
"""
761760
The dictionary containing the pages
762761
(Markdown + HTML + ...) produced by the build.

0 commit comments

Comments
 (0)