Drop Python 3.8 support in ast (#13766)

This commit is contained in:
Joren Hammudoglu
2025-04-02 08:47:13 +02:00
committed by GitHub
parent 616ca7db2c
commit b266f3e746
2 changed files with 16 additions and 52 deletions
-11
View File
@@ -130,17 +130,6 @@ if sys.version_info >= (3, 10):
pattern as pattern,
)
if sys.version_info < (3, 9):
from ast import (
AugLoad as AugLoad,
AugStore as AugStore,
ExtSlice as ExtSlice,
Index as Index,
Param as Param,
Suite as Suite,
slice as slice,
)
PyCF_ALLOW_TOP_LEVEL_AWAIT: Literal[8192]
PyCF_ONLY_AST: Literal[1024]
PyCF_TYPE_COMMENTS: Literal[4096]