Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ foo
Method
foo
Lib/test/test_inspect/test_inspect.py:5899–5900 ·
view source on GitHub ↗
(bar, /, **kwargs)
Source
from the content-addressed store, hash-verified
5897
5898
def
test_signature_bind_posonly_kwargs(self):
5899
def
foo(bar, /, **kwargs):
5900
return
bar, kwargs.get(bar)
5901
5902
sig = inspect.signature(foo)
5903
result = sig.bind(
"pos-only"
, bar=
"keyword"
)
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected