PyDocs

Nav

Python Runtime Services

BoundArguments

inspect

class (source)
  • BoundArguments(signature, arguments)
Result of `Signature.bind` call.  Holds the mapping of arguments
to the function's parameters.

Has the following public attributes:

* arguments : dict
    An ordered mutable mapping of parameters' names to arguments' values.
    Does not contain arguments' default values.
* signature : Signature
    The Signature object that created this instance.
* args : tuple
    Tuple of positional arguments values.
* kwargs : dict
    Dict of keyword arguments values.
Members of BoundArguments

a

apply_defaults
Set default values for missing arguments.
args
A tuple of positional arguments values.
arguments
A mutable mapping of parameters’ names to arguments’ values.

k

kwargs
A dict of keyword arguments values.

s

signature
A reference to the parent Signature object.
0 Examples
No examples for inspect/BoundArguments.
See Also
No see-alsos for inspect/BoundArguments
0 Notes
No notes for BoundArguments