Skip to content

Commit 0536f4d

Browse files
committed
Fix type hint for compatibility
1 parent d9a6bc3 commit 0536f4d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ classifiers = [
1818
"License :: OSI Approved :: MIT License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3 :: Only",
21-
"Programming Language :: Python :: 3.5",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
2226
]
2327
dependencies = [
2428
"hjson",

test/fixture.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import warnings
99
import json
1010
import subprocess
11+
from typing import Dict
1112

1213

1314
from super_collections import SuperDict
@@ -40,7 +41,7 @@ def build(self, strict:bool=False) -> subprocess.CompletedProcess:
4041
super().build(strict=strict, verbose=True)
4142

4243
@property
43-
def pages(self) -> dict[MacrosPage]:
44+
def pages(self) -> Dict[str, MacrosPage]:
4445
"List of pages"
4546
pages = super().pages
4647
return {key: MacrosPage(value) for key, value in pages.items()}

0 commit comments

Comments
 (0)