MCPcopy 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
500def _unwrap_partial(func):
501 while isinstance(func, partial):
502 func = func.func
503 return func
504
505def _unwrap_partialmethod(func):
506 prev = None

Callers 1

_unwrap_partialmethodFunction · 0.85

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected