Lines Matching refs:py_functools
28 py_functools = import_helper.import_fresh_module('functools', variable
205 if self.partial in (c_functools.partial, py_functools.partial):
227 if self.partial in (c_functools.partial, py_functools.partial):
441 partial = py_functools.partial
445 self._cm = replaced_module("functools", py_functools)
455 class PyPartialSubclass(py_functools.partial):
861 reduce = staticmethod(py_functools.reduce)
961 cmp_to_key = staticmethod(py_functools.cmp_to_key)
1575 if self.module is py_functools:
1762 @py_functools.lru_cache()
1772 module = py_functools
2741 self.lock = py_functools.RLock()
2743 @py_functools.cached_property
2759 cached_cost = py_functools.cached_property(get_cost)
2766 self.lock = py_functools.RLock()
2769 @py_functools.cached_property
2783 @py_functools.cached_property
2831 @py_functools.cached_property
2848 @py_functools.cached_property
2863 @py_functools.cached_property
2883 cp = py_functools.cached_property(lambda s: None)
2896 self.assertIsInstance(CachedCostItem.cost, py_functools.cached_property)