Lines Matching refs:c_functools
22 c_functools = support.import_fresh_module('functools', fresh=['_functools']) variable
196 if self.partial in (c_functools.partial, py_functools.partial):
218 if self.partial in (c_functools.partial, py_functools.partial):
379 @unittest.skipUnless(c_functools, 'requires the C _functools module')
381 if c_functools:
382 partial = c_functools.partial
442 if c_functools:
443 class CPartialSubclass(c_functools.partial):
449 @unittest.skipUnless(c_functools, 'requires the C _functools module')
451 if c_functools:
749 @unittest.skipUnless(c_functools, 'requires the C _functools module')
751 if c_functools:
752 func = c_functools.reduce
915 @unittest.skipUnless(c_functools, 'requires the C _functools module')
917 if c_functools:
918 cmp_to_key = c_functools.cmp_to_key
1621 @c_functools.lru_cache()
1641 module = c_functools