Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _unwrap_partial
Function
_unwrap_partial
Lib/functools.py:500–503 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
498
# Helper functions
499
500
def
_unwrap_partial(func):
501
while
isinstance(func, partial):
502
func = func.func
503
return
func
504
505
def
_unwrap_partialmethod(func):
506
prev = None
Callers
1
_unwrap_partialmethod
Function · 0.85
Calls
1
isinstance
Function · 0.85
Tested by
no test coverage detected