Home
last modified time | relevance | path

Searched refs:filterfunc (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/
Dzipfile.py1942 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/
Dzipfile.rst572 .. 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/
Dtest_zipfile.py1216 zipfp.writepy(packagedir, filterfunc=lambda whatever: False)
1224 zipfp.writepy(packagedir, filterfunc=filter)
1278 zipfp.writepy(TESTFN2, filterfunc=lambda fn:
Dtest_logging.py370 def filterfunc(record): function
377 handler.addFilter(filterfunc)
393 handler.removeFilter(filterfunc)
/third_party/python/Doc/whatsnew/
D3.4.rst1786 :class:`~zipfile.PyZipFile` class has a new *filterfunc* option that can be
/third_party/python/Misc/
DHISTORY3565 - Issue #19274: Add a filterfunc parameter to PyZipFile.writepy.