Home
last modified time | relevance | path

Searched refs:_ARCHIVE_FORMATS (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py166 return shutil._ARCHIVE_FORMATS, shutil._ARCHIVE_FORMATS.copy()
168 shutil._ARCHIVE_FORMATS = saved[0]
169 shutil._ARCHIVE_FORMATS.clear()
170 shutil._ARCHIVE_FORMATS.update(saved[1])
/external/python/cpython2/Lib/
Dshutil.py494 _ARCHIVE_FORMATS = { variable
500 _ARCHIVE_FORMATS['gztar'] = (_make_tarball, [('compress', 'gzip')],
504 _ARCHIVE_FORMATS['bztar'] = (_make_tarball, [('compress', 'bzip2')],
513 _ARCHIVE_FORMATS.items()]
536 _ARCHIVE_FORMATS[name] = (function, extra_args, description)
539 del _ARCHIVE_FORMATS[name]
573 format_info = _ARCHIVE_FORMATS[format]
/external/python/cpython3/Lib/
Dshutil.py966 _ARCHIVE_FORMATS = { variable
971 _ARCHIVE_FORMATS['gztar'] = (_make_tarball, [('compress', 'gzip')],
973 _ARCHIVE_FORMATS['zip'] = (_make_zipfile, [], "ZIP file")
976 _ARCHIVE_FORMATS['bztar'] = (_make_tarball, [('compress', 'bzip2')],
980 _ARCHIVE_FORMATS['xztar'] = (_make_tarball, [('compress', 'xz')],
989 _ARCHIVE_FORMATS.items()]
1012 _ARCHIVE_FORMATS[name] = (function, extra_args, description)
1015 del _ARCHIVE_FORMATS[name]
1050 format_info = _ARCHIVE_FORMATS[format]