Searched refs:max_positional_args (Results 1 – 4 of 4) sorted by relevance
/external/autotest/utils/frozen_chromite/third_party/oauth2client/ |
D | util.py | 51 def positional(max_positional_args): argument 126 if len(args) > max_positional_args: 128 if max_positional_args != 1: 132 wrapped.__name__, max_positional_args, 143 if isinstance(max_positional_args, six.integer_types): 146 args, _, _, defaults = inspect.getargspec(max_positional_args) 147 return positional(len(args) - len(defaults))(max_positional_args)
|
/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 | 39 def positional(max_positional_args): argument 114 if len(args) > max_positional_args: 116 if max_positional_args != 1: 122 args_max=max_positional_args, 135 if isinstance(max_positional_args, int): 138 args, _, _, defaults = inspect.getargspec(max_positional_args) 139 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)
|