Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Classe « Signature » Python 3.11.3

Méthode inspect.Signature.bind_partial

Signature de la méthode bind_partial

def bind_partial(self, /, *args, **kwargs) 

Description

help(Signature.bind_partial)

Get a BoundArguments object, that partially maps the
        passed `args` and `kwargs` to the function's signature.
        Raises `TypeError` if the passed arguments can not be bound.