Lines Matching refs:functools

19 import functools
463 nothing = functools.partialmethod(capture)
464 positional = functools.partialmethod(capture, 1)
465 keywords = functools.partialmethod(capture, a=2)
466 both = functools.partialmethod(capture, 3, b=4)
468 nested = functools.partialmethod(positional, 5)
470 over_partial = functools.partialmethod(functools.partial(capture, c=6), 7)
472 static = functools.partialmethod(staticmethod(capture), 8)
473 cls = functools.partialmethod(classmethod(capture), d=9)
552 method = functools.partialmethod(None, 1)
565 add5 = functools.partialmethod(add, 5)
577 assigned=functools.WRAPPER_ASSIGNMENTS,
578 updated=functools.WRAPPER_UPDATES):
603 functools.update_wrapper(wrapper, f)
629 functools.update_wrapper(wrapper, f, (), ())
647 functools.update_wrapper(wrapper, f, assign, update)
664 functools.update_wrapper(wrapper, f, assign, update)
670 functools.update_wrapper(wrapper, f, assign, update)
673 functools.update_wrapper(wrapper, f, assign, update)
682 functools.update_wrapper(wrapper, max)
696 @functools.wraps(f)
719 @functools.wraps(f, (), ())
738 @functools.wraps(f, assign, update)
928 @functools.total_ordering
945 @functools.total_ordering
962 @functools.total_ordering
979 @functools.total_ordering
997 @functools.total_ordering
1009 @functools.total_ordering
1016 @functools.total_ordering
1029 @functools.total_ordering
1042 @functools.total_ordering
1055 @functools.total_ordering
1068 @functools.total_ordering
1128 @functools.total_ordering
1305 @functools.lru_cache()
1317 @functools.lru_cache(maxsize=None)
1321 @functools.lru_cache(maxsize=10)
1549 @functools.lru_cache
1656 @functools.singledispatch
1667 @functools.singledispatch
1690 @functools.singledispatch
1704 @functools.singledispatch
1715 @functools.singledispatch
1734 mro = functools._compose_mro
1792 @functools.singledispatch
1881 mro = functools._c3_mro
1911 @functools.singledispatch
1922 @functools.singledispatch
1968 @functools.singledispatch
1993 @functools.singledispatch
2033 @functools.singledispatch
2070 @functools.singledispatch
2100 functools._find_impl(dict, g.registry))
2106 functools._find_impl(list, g.registry))
2151 @functools.singledispatch
2183 @functools.singledispatch
2218 @functools.singledispatch