Skip to content

Commit d4a5f0b

Browse files
authored
bpo-35113: clean up duplicate import and comment (#27073)
1 parent 62d55a4 commit d4a5f0b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/inspect.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,10 +2096,6 @@ def _signature_fromstr(cls, obj, s, skip_bound_arg=True):
20962096
"""Private helper to parse content of '__text_signature__'
20972097
and return a Signature based on it.
20982098
"""
2099-
# Lazy import ast because it's relatively heavy and
2100-
# it's not used for other than this function.
2101-
import ast
2102-
21032099
Parameter = cls._parameter_cls
21042100

21052101
clean_signature, self_parameter, last_positional_only = \

0 commit comments

Comments
 (0)