Lines Matching refs:values
179 * If eval_str is true, values of type str will
189 * All accesses to object members and dict values are done
193 eval_str controls whether or not values of type str are replaced
194 with the result of calling eval() on those values:
196 * If eval_str is true, eval() is called on values of type str.
197 * If eval_str is false (the default), values of type str are unchanged.
385 __defaults__ tuple of any default values for arguments
1337 """Get the names and default values of a callable object's parameters.
1343 'defaults' is an n-tuple of the default values of the last n parameters.
1393 for param in sig.parameters.values():
1467 """Format an argument spec from the 4 values returned by getargvalues.
1471 that are called to turn names and values into strings. The ninth
1485 def _missing_arguments(f_name, argnames, pos, values):
1486 names = [repr(name) for name in argnames if name not in values]
1501 def _too_many(f_name, args, kwonly, varargs, defcount, given, values):
1503 kwonly_given = len([arg for arg in kwonly if arg in values])
1523 """Get the mapping of arguments to values.
1526 names of the * and ** arguments, if any), and values the respective bound
1527 values from 'positional' and 'named'."""
1557 raise TypeError("%s() got multiple values for argument %r" %
1586 Get the mapping of free variables to their current values.
1883 Get the mapping of generator local variables to their current values.
1885 A dict is returned, with the keys the local variable names and values the
1886 bound values."""
1925 Get the mapping of coroutine local variables to their current values.
1927 A dict is returned, with the keys the local variable names and values the
1928 bound values."""
2011 # multiple values.
2036 return wrapped_sig.replace(parameters=new_params.values())
2044 params = tuple(sig.parameters.values())
2246 # commonly used to define default values in text signatures
2501 first_wrapped_param = tuple(wrapped_sig.parameters.values())[0]
2507 sig_params = tuple(sig.parameters.values())
2670 Describes how argument values are bound to the parameter.
2671 Possible values: `Parameter.POSITIONAL_ONLY`,
2693 msg = '{} parameters cannot have default values'
2819 An ordered mutable mapping of parameters' names to arguments' values.
2820 Does not contain arguments' default values.
2824 Tuple of positional arguments values.
2826 Dict of keyword arguments values.
2893 """Set default values for missing arguments.
3047 parameters = self.parameters.values()
3056 params = tuple(param for param in self.parameters.values()
3059 kwo_params = {param.name: param for param in self.parameters.values()
3066 kwo_params = frozenset(kwo_params.values())
3081 parameters = iter(self.parameters.values())
3145 values = [arg_val]
3146 values.extend(arg_vals)
3147 arguments[param.name] = tuple(values)
3152 'multiple values for argument {arg!r}'.format(
3223 (tuple(self._parameters.values()),),
3236 for param in self.parameters.values():