Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 20, 2024
1 parent 56e83df commit c917746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py/pyodide/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ def relaxed_call(func: Callable[..., RetType], *args: Any, **kwargs: Any) -> Ret
return func(*args, **kwargs)
return _do_call(func, sig, args, kwargs)


def f(a, *args, b=7):
return [a, args, b]


relaxed_call(f, 1, b=7, c=9) == [1, (), 7]

__all__ = [
Expand Down

0 comments on commit c917746

Please sign in to comment.