Searched refs:max_positional_args (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | util.py | 52 def positional(max_positional_args): argument 125 if len(args) > max_positional_args: 127 if max_positional_args != 1: 130 wrapped.__name__, max_positional_args, plural_s, len(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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | util.py | 86 def positional(max_positional_args): argument 164 if len(args) > max_positional_args: 166 if max_positional_args != 1: 170 max_positional_args, 175 if isinstance(max_positional_args, six.integer_types): 178 args, _, _, defaults = inspect.getargspec(max_positional_args) 183 return positional(len(args) - len(defaults))(max_positional_args)
|