ID EN
Inspect

unwrap

Python 3.11

Get the object wrapped by func. It follows the chain of __wrapped__ attributes returning the last object in the chain.

Syntax

PYTHON
inspect.unwrap(func, *, stop=None)

See Also

signature() ValueError