Remove unnecessary imports in the grammar parser (GH-24904)

This commit is contained in:
Elisha Hollander 2021-03-18 00:07:17 +02:00 committed by GitHub
parent 9976834f80
commit e272528bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -2,10 +2,7 @@
# @generated by pegen from ./Tools/peg_generator/pegen/metagrammar.gram
import ast
import sys
import tokenize
from typing import Any, Optional
from typing import Optional
from pegen.parser import memoize, memoize_left_rec, logger, Parser
from ast import literal_eval

View File

@ -27,10 +27,7 @@ MODULE_PREFIX = """\
# @generated by pegen from {filename}
import ast
import sys
import tokenize
from typing import Any, Optional
from typing import Optional
from pegen.parser import memoize, memoize_left_rec, logger, Parser