Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
As title
  • Loading branch information
esc committed Apr 25, 2024
1 parent adfbc51 commit d3137c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba_rvsdg/core/datastructures/ast_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def unparse_code(code: str | Callable[..., Any]) -> list[type[ast.AST]]:
elif callable(code):
tree = ast.parse(textwrap.dedent(inspect.getsource(code))).body
else:
msg = "Type: '{type(self.cod}}' is not implemented."
msg = "Type: '{type(self.code}}' is not implemented."
raise NotImplementedError(msg)
return tree # type: ignore

Expand Down

0 comments on commit d3137c5

Please sign in to comment.