/third_party/python/Lib/asyncio/ |
H A D | format_helpers.py | 1 import functools namespace 15 if isinstance(func, functools.partial): 17 if isinstance(func, functools.partialmethod): 45 if isinstance(func, functools.partial):
|
H A D | threads.py | 3 import functools namespace 24 func_call = functools.partial(ctx.run, func, *args, **kwargs)
|
/third_party/python/Lib/importlib/metadata/ |
H A D | _functools.py | 2 import functools namespace 5 # from jaraco.functools 3.3 45 Note that if method had been decorated with ``functools.lru_cache()``, 60 >>> cache = functools.lru_cache(maxsize=2) 73 cache_wrapper = cache_wrapper or functools.lru_cache() 88 # From jaraco.functools 3.3 99 @functools.wraps(func)
|
H A D | __init__.py | 12 import functools namespace 137 _warn = functools.partial( 204 return functools.reduce(getattr, attrs, module) 315 _warn = functools.partial( 435 _warn = functools.partial( 788 @functools.lru_cache() # type: ignore 1011 _unique = functools.partial(
|
/third_party/python/Lib/test/ |
H A D | test_functools.py | 26 import functools namespace 28 py_functools = import_helper.import_fresh_module('functools', 30 c_functools = import_helper.import_fresh_module('functools') 206 name = 'functools.partial' 228 name = 'functools.partial' 445 self._cm = replaced_module("functools", py_functools) 472 nothing = functools.partialmethod(capture) 473 positional = functools.partialmethod(capture, 1) 474 keywords = functools.partialmethod(capture, a=2) 475 both = functools [all...] |
/third_party/python/Lib/test/test_zoneinfo/ |
H A D | _support.py | 2 import functools namespace 16 cached = functools.lru_cache(None)(f) 18 @functools.wraps(f)
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | tkinter_testing_utils.py | 2 import functools namespace 31 @functools.wraps(test_method)
|
/third_party/skia/third_party/externals/brotli/python/tests/ |
H A D | compressor_test.py | 6 import functools namespace 47 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE) 58 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
|
H A D | decompressor_test.py | 6 import functools namespace 37 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
|
/third_party/python/Lib/importlib/ |
H A D | util.py | 16 import functools namespace 150 @functools.wraps(fxn) 170 @functools.wraps(fxn) 203 @functools.wraps(fxn)
|
/third_party/python/Lib/test/support/ |
H A D | hashlib_helper.py | 1 import functools namespace 38 @functools.wraps(func_or_class)
|
H A D | testresult.py | 5 import functools namespace 145 return functools.partial(unittest.TextTestRunner, 149 return functools.partial(QuietRegressionTestRunner, buffer=buffer)
|
/third_party/jinja2/ |
H A D | async_utils.py | 3 from functools import WRAPPER_ASSIGNMENTS 4 from functools import wraps
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | _musllinux.py | 7 import functools namespace 31 @functools.lru_cache()
|
H A D | _manylinux.py | 3 import functools namespace 162 @functools.lru_cache()
|
/third_party/python/Lib/importlib/resources/ |
H A D | _common.py | 4 import functools namespace 92 @functools.singledispatch
|
H A D | _legacy.py | 1 import functools namespace 16 @functools.wraps(func)
|
/third_party/python/Lib/test/test_zoneinfo/data/ |
H A D | update_test_data.py | 15 import functools namespace 41 @functools.lru_cache(maxsize=None)
|
/third_party/python/Lib/multiprocessing/ |
H A D | reduction.py | 12 import functools namespace 226 return functools.partial(func, *args, **keywords) 227 register(functools.partial, _reduce_partial) 280 register(functools.partial, _reduce_partial)
|
/third_party/python/Lib/ |
H A D | ipaddress.py | 14 import functools namespace 563 @functools.total_ordering 671 @functools.total_ordering 758 @functools.cached_property 763 @functools.cached_property 1334 @functools.lru_cache() 1346 @functools.lru_cache() 1403 @functools.cached_property 1528 @functools.lru_cache() 2008 @functools [all...] |
H A D | linecache.py | 8 import functools namespace 179 get_lines = functools.partial(get_source, name)
|
H A D | copyreg.py | 40 import functools, operator namespace 41 return functools.reduce, (operator.or_, obj.__args__)
|
/third_party/python/Lib/email/ |
H A D | _encoded_words.py | 45 import functools namespace 64 _q_byte_subber = functools.partial(re.compile(br'=([a-fA-F0-9]{2})').sub,
|
/third_party/vixl/tools/ |
H A D | generate_tests.py | 614 import functools namespace 792 pool.map(functools.partial(GenerateTest, clang_format=args.clang_format,
|
/third_party/backends/backend/pixma/scripts/ |
H A D | pixma_gen_options.py | 5 import functools namespace 283 o['code_cap'] = functools.reduce(lambda a,b: a+'|'+b, o['cap']) 288 o['code_info'] = functools.reduce(lambda a,b: a+'|'+b, o['info'])
|