Skip to content

Commit

Permalink
reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Jul 26, 2023
1 parent e4eb9e8 commit 43069e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion py-polars/polars/utils/udfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,10 @@ def _rewrite_functions(
if matching_instructions := self._matches(
idx,
opnames=["LOAD_GLOBAL", "LOAD_*", "LOAD_*", OpNames.CALL],
argvals=[_NUMPY_MODULE_ALIASES | {"json"}, _NUMPY_FUNCTIONS | {"loads"}],
argvals=[
_NUMPY_MODULE_ALIASES | {"json"},
_NUMPY_FUNCTIONS | {"loads"},
],
param_name_index=2,
):
inst1, inst2, inst3 = matching_instructions[:3]
Expand Down

0 comments on commit 43069e3

Please sign in to comment.