equal
deleted
inserted
replaced
169 to parameters |
169 to parameters |
170 |
170 |
171 raise `NoSelectableObject` if not object apply |
171 raise `NoSelectableObject` if not object apply |
172 """ |
172 """ |
173 if len(args) > 1: |
173 if len(args) > 1: |
174 warn('[2.5] only the request param can not be named when calling select*', |
174 warn('[3.5] only the request param can not be named when calling select*', |
175 DeprecationWarning, stacklevel=3) |
175 DeprecationWarning, stacklevel=3) |
176 score, winners = 0, [] |
176 score, winners = 0, [] |
177 for appobject in appobjects: |
177 for appobject in appobjects: |
178 appobjectscore = appobject.__select__(appobject, *args, **kwargs) |
178 appobjectscore = appobject.__select__(appobject, *args, **kwargs) |
179 if appobjectscore > score: |
179 if appobjectscore > score: |