<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def best_match(self, target, choices):
 """\ Return the best match. """


        all = self.all_matches

        try:
            best = next(all(target, choices, group=False))
            return best
        except StopIteration:
            pass