MCPcopy Index your code
hub / github.com/RustPython/RustPython / foo

Method foo

Lib/test/test_inspect/test_inspect.py:5873–5874  ·  view source on GitHub ↗
(bar, /, **kwargs)

Source from the content-addressed store, hash-verified

5871
5872 def test_signature_bind_posonly_kwargs(self):
5873 def foo(bar, /, **kwargs):
5874 return bar, kwargs.get(bar)
5875
5876 sig = inspect.signature(foo)
5877 result = sig.bind("pos-only", bar="keyword")

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected