ID EN
Inspect

bind_partial

Python 3.11

Works the same way as Signature.bind(), but allows the omission of some required arguments (mimics functools.partial() behavior.) Returns BoundArguments, or raises a TypeError if the passed arguments do not match the signature.

Syntax

PYTHON
bind_partial(*args, **kwargs)

See Also

Signature.bind() functools.partial() BoundArguments TypeError