summaryrefslogtreecommitdiff
path: root/Lib/test/test_zipfile.py
diff options
context:
space:
mode:
authorLars Gustäbel <lars@gustaebel.de>2009-09-12 10:28:15 +0000
committerLars Gustäbel <lars@gustaebel.de>2009-09-12 10:28:15 +0000
commit21121e64b4245e51b85b9d2bc9b29acb86ae79eb (patch)
tree8ffeaf69afab8ef548aea364b49b6c86476f80ab /Lib/test/test_zipfile.py
parentd4c7eb16475f6ca662120aeda4518051f031c0d8 (diff)
downloadcpython-git-21121e64b4245e51b85b9d2bc9b29acb86ae79eb.tar.gz
Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo object argument, changes it and returns it again. If the function returns None the TarInfo object will be excluded from the archive. The exclude argument is deprecated from now on, because it does something similar but is not as flexible.
Diffstat (limited to 'Lib/test/test_zipfile.py')
0 files changed, 0 insertions, 0 deletions