Lines Matching refs:py_functools
28 py_functools = import_helper.import_fresh_module('functools',
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)
1670 if self.module is py_functools:
1859 @py_functools.lru_cache()
1869 module = py_functools
2903 self.lock = py_functools.RLock()
2905 @py_functools.cached_property
2921 cached_cost = py_functools.cached_property(get_cost)
2928 self.lock = py_functools.RLock()
2931 @py_functools.cached_property
2945 @py_functools.cached_property
2994 @py_functools.cached_property
3011 @py_functools.cached_property
3026 @py_functools.cached_property
3046 cp = py_functools.cached_property(lambda s: None)
3059 self.assertIsInstance(CachedCostItem.cost, py_functools.cached_property)