diff --git a/parso/grammar.py b/parso/grammar.py index 2c7285a..f5ae8aa 100644 --- a/parso/grammar.py +++ b/parso/grammar.py @@ -1,6 +1,5 @@ import hashlib import os -from enum import Enum from typing import Generic, TypeVar, Union, Dict, Optional, Any from parso._compatibility import is_pypy diff --git a/parso/parser.py b/parso/parser.py index ab7d254..a7cc6fa 100644 --- a/parso/parser.py +++ b/parso/parser.py @@ -23,7 +23,7 @@ within the statement. This lowers memory usage and cpu time and reduces the complexity of the ``Parser`` (there's another parser sitting inside ``Statement``, which produces ``Array`` and ``Call``). """ -from typing import Dict, Generic, TypeVar +from typing import Dict from parso import tree from parso.pgen2.generator import ReservedString