Skip to content

Commit f75560c

Browse files
committed
fix type error
1 parent a244518 commit f75560c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyccolo/stmt_inserter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _handle_function_body(
199199
self.register_guard(function_guard)
200200
else:
201201
function_guard = None
202-
docstring: list[ast.AST] = []
202+
docstring: List[ast.AST] = []
203203
if (
204204
len(fundef_copy.body) > 0
205205
and isinstance(fundef_copy.body[0], ast.Expr)

0 commit comments

Comments
 (0)