Skip to content

Commit

Permalink
rename compiled to transformed
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao committed Nov 23, 2023
1 parent b42a25f commit c17ba88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depyf/explain/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def to_data(self):
def to_src(self):
raw_code = self.source_code_proxy.raw_code

# prepare function signature, from `def toy_example(a, b)` to `def compiled_toy_example(a, b)`
signature = raw_code.splitlines()[0].replace("def ", "def compiled_", 1)
# prepare function signature, from `def toy_example(a, b)` to `def transformed_toy_example(a, b)`
signature = raw_code.splitlines()[0].replace("def ", "def transformed_", 1)
code = signature.strip()

# prepare args for guards, like `L = {"a": a, "b": b}`
Expand Down

0 comments on commit c17ba88

Please sign in to comment.