bpo-35113: clean up duplicate import and comment (#27073)

This commit is contained in:
andrei kulakov 2021-07-13 09:42:56 -04:00 committed by GitHub
parent 62d55a4d11
commit d4a5f0b659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -2096,10 +2096,6 @@ def _signature_fromstr(cls, obj, s, skip_bound_arg=True):
"""Private helper to parse content of '__text_signature__'
and return a Signature based on it.
"""
# Lazy import ast because it's relatively heavy and
# it's not used for other than this function.
import ast
Parameter = cls._parameter_cls
clean_signature, self_parameter, last_positional_only = \