Home | History | Annotate | Download | only in test

Lines Matching refs:functools

1 import functools

30 thetype = functools.partial
154 class PartialSubclass(functools.partial):
171 assigned=functools.WRAPPER_ASSIGNMENTS,
172 updated=functools.WRAPPER_UPDATES):
190 functools.update_wrapper(wrapper, f)
212 functools.update_wrapper(wrapper, f, (), ())
228 functools.update_wrapper(wrapper, f, assign, update)
239 functools.update_wrapper(wrapper, max)
250 @functools.wraps(f)
272 @functools.wraps(f, (), ())
290 @functools.wraps(f, assign, update)
320 reduce = functools.reduce
345 self.assertEqual(sorted(range(5), key=functools.cmp_to_key(mycmp)),
351 key = functools.cmp_to_key(mycmp)
358 @functools.total_ordering
374 @functools.total_ordering
390 @functools.total_ordering
406 @functools.total_ordering
423 @functools.total_ordering
435 @functools.total_ordering
440 @functools.total_ordering