Skip to content

Commit 5e142e8

Browse files
committed
Fix python3.7 error.
Signed-off-by: Thomas Neidhart <thomas.neidhart@gmail.com>
1 parent 714e4d0 commit 5e142e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python_inspector/resolution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import operator
1313
import os
1414
import tarfile
15-
from typing import Dict, Iterable, Mapping
15+
from typing import Dict, Iterable, Mapping, Type
1616
from typing import Generator
1717
from typing import List
1818
from typing import NamedTuple
@@ -71,7 +71,7 @@ class Result(NamedTuple):
7171

7272

7373
def get_requirements_from_distribution(
74-
handler: type[BasePypiHandler],
74+
handler: Type[BasePypiHandler],
7575
location: str,
7676
) -> List[Requirement]:
7777
"""

0 commit comments

Comments
 (0)