tarfile.TarInfo._create_pax_generic_header

classmethod TarInfo._create_pax_generic_header(pax_headers, type='x')[source]

Return a POSIX.1-2001 extended or global header sequence that contains a list of keyword, value pairs. The values must be unicode objects.