Searched refs:max_positional_args (Results 1 – 3 of 3) sorted by relevance
/external/python/oauth2client/oauth2client/ |
D | util.py | 48 def positional(max_positional_args): argument 123 if len(args) > max_positional_args: 125 if max_positional_args != 1: 130 args_max=max_positional_args, 140 if isinstance(max_positional_args, six.integer_types): 143 args, _, _, defaults = inspect.getargspec(max_positional_args) 144 return positional(len(args) - len(defaults))(max_positional_args)
|
/external/python/google-api-python-client/googleapiclient/ |
D | _helpers.py | 41 def positional(max_positional_args): argument 116 if len(args) > max_positional_args: 118 if max_positional_args != 1: 123 args_max=max_positional_args, 133 if isinstance(max_positional_args, six.integer_types): 136 args, _, _, defaults = inspect.getargspec(max_positional_args) 137 return positional(len(args) - len(defaults))(max_positional_args)
|
/external/python/apitools/apitools/base/protorpclite/ |
D | util.py | 55 def positional(max_positional_args): argument 136 if len(args) > max_positional_args: 138 if max_positional_args != 1: 142 max_positional_args, 147 if isinstance(max_positional_args, six.integer_types): 150 args, _, _, defaults = inspect.getargspec(max_positional_args) 155 return positional(len(args) - len(defaults))(max_positional_args)
|