Home
last modified time | relevance | path

Searched refs:filterfunc (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Tools/wasm/
H A Dwasm_assets.py151 def filterfunc(filename: str) -> bool: function
170 pzf.writepy(entry, filterfunc=filterfunc)
/third_party/python/Lib/
H A Dzipfile.py2021 def writepy(self, pathname, basename="", filterfunc=None):
2032 If filterfunc(pathname) is given, it is called with every argument.
2036 if filterfunc and not filterfunc(pathname):
2039 print('%s %r skipped by filterfunc' % (label, pathname))
2066 filterfunc=filterfunc) # Recursive call
2068 if filterfunc and not filterfunc(path):
2070 print('file %r skipped by filterfunc'
[all...]
/third_party/python/Lib/test/
H A Dtest_zipfile.py1383 zipfp.writepy(packagedir, filterfunc=lambda whatever: False)
1391 zipfp.writepy(packagedir, filterfunc=filter)
1445 zipfp.writepy(TESTFN2, filterfunc=lambda fn:
H A Dtest_logging.py371 def filterfunc(record): function
378 handler.addFilter(filterfunc)
394 handler.removeFilter(filterfunc)

Completed in 16 milliseconds