MCPcopy Create free account
hub / github.com/ActiveState/code / f

Function f

recipes/Python/521874_Functions_positional_only/recipe-521874.py:28–28  ·  view source on GitHub ↗
(x, y=1)

Source from the content-addressed store, hash-verified

26
27>>> @posonly
28... def f(x, y=1): return x, y
29...
30>>> f(1)
31(1, 1)

Callers 5

recipe-521874.pyFile · 0.70
bound_fFunction · 0.50
wrapFunction · 0.50
runMethod · 0.50
new_fMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected