Use Literal types in ast (#6824)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-01-05 11:27:58 +01:00
1 parent 1527f67207
commit 73d5098e0b
1 file changed
+3 -3
+3 -3
View File
@@ -3,10 +3,10 @@ import typing
from typing import Any, ClassVar
from typing_extensions import Literal
PyCF_ONLY_AST: int
PyCF_ONLY_AST: Literal[1024]
if sys.version_info >= (3, 8):
PyCF_TYPE_COMMENTS: int
PyCF_ALLOW_TOP_LEVEL_AWAIT: int
PyCF_TYPE_COMMENTS: Literal[4096]
PyCF_ALLOW_TOP_LEVEL_AWAIT: Literal[8192]
_identifier = str