Searched refs:filterfunc (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/ |
D | zipfile.py | 1942 def writepy(self, pathname, basename="", filterfunc=None): argument 1957 if filterfunc and not filterfunc(pathname): 1987 filterfunc=filterfunc) # Recursive call 1989 if filterfunc and not filterfunc(path): 2006 if filterfunc and not filterfunc(path):
|
/third_party/python/Doc/library/ |
D | zipfile.rst | 572 .. method:: PyZipFile.writepy(pathname, basename='', filterfunc=None) 596 *filterfunc*, if given, must be a function taking a single string 598 file path) before it is added to the archive. If *filterfunc* returns a 602 *filterfunc* to exclude them:: 608 >>> zf.writepy('myprog', filterfunc=notests) 620 The *filterfunc* parameter.
|
/third_party/python/Lib/test/ |
D | test_zipfile.py | 1216 zipfp.writepy(packagedir, filterfunc=lambda whatever: False) 1224 zipfp.writepy(packagedir, filterfunc=filter) 1278 zipfp.writepy(TESTFN2, filterfunc=lambda fn:
|
D | test_logging.py | 370 def filterfunc(record): function 377 handler.addFilter(filterfunc) 393 handler.removeFilter(filterfunc)
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 1786 :class:`~zipfile.PyZipFile` class has a new *filterfunc* option that can be
|
/third_party/python/Misc/ |
D | HISTORY | 3565 - Issue #19274: Add a filterfunc parameter to PyZipFile.writepy.
|