Skip to content

Commit 64b4bee

Browse files
committed
Change TypeAlias for Python 3.9
1 parent 01ca0ca commit 64b4bee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ptrlib/types/enums.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from typing import Literal, TypeAlias, Union, SupportsInt, SupportsIndex
1+
from typing_extensions import TypeAlias
2+
from typing import Literal, Union, SupportsInt, SupportsIndex
23

34
PtrlibArchT = Literal['unknown', 'intel', 'arm', 'risc-v', 'sparc', 'mips']
45
PtrlibBitsT = Literal[16, 32, 64]

0 commit comments

Comments
 (0)