Skip to content

Commit 7a44980

Browse files
Евгений БлиновЕвгений Блинов
authored andcommitted
Mypy's issue
1 parent acd56ab commit 7a44980

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

getsources/clear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def getclearsource(function: Callable[..., Any]) -> str:
2222
lambda_node = node
2323
first = False
2424

25-
segment_source = get_source_segment(stripped_source_code, lambda_node)
25+
segment_source = get_source_segment(stripped_source_code, lambda_node) # type: ignore[arg-type]
2626
if segment_source is None:
2727
raise UncertaintyWithLambdasError('It seems that the AST for the lambda function has been modified; can\'t extract the source code.')
2828
return segment_source

0 commit comments

Comments
 (0)