MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / bind

Method bind

tools/python-3.11.9-amd64/Lib/inspect.py:3190–3195  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

3188 return self._bound_arguments_cls(self, arguments)
3189
3190 def bind(self, /, *args, **kwargs):
3191 """Get a BoundArguments object, that maps the passed `args`
3192 and `kwargs` to the function's signature. Raises `TypeError`
3193 if the passed arguments can not be bound.
3194 """
3195 return self._bind(args, kwargs)
3196
3197 def bind_partial(self, /, *args, **kwargs):
3198 """Get a BoundArguments object, that partially maps the

Callers 10

socketpairFunction · 0.45
create_connectionFunction · 0.45
create_serverFunction · 0.45
__init__Method · 0.45
server_bindMethod · 0.45
__init__Method · 0.45
makegridMethod · 0.45
mainFunction · 0.45
receiverFunction · 0.45
__init__Method · 0.45

Calls 1

_bindMethod · 0.95

Tested by

no test coverage detected