

@staticmethod
def write(pkg_file, pkg_rels, parts):
    '\n        Write a physical package (.pptx file) to *pkg_file* containing\n        *pkg_rels* and *parts* and a content types stream based on the\n        content types of the parts.\n        '
    phys_writer = PhysPkgWriter(pkg_rels)
    PackageWriter._write_content_types_stream(phys_writer, parts)
    PackageWriter._write_pkg_rels(phys_writer, pkg_rels)
    PackageWriter._write_parts(phys_writer, parts)
    phys_writer.close()

dataset/ETHPy150Open scanny/python-pptx/pptx/opc/pkgwriter.py PackageWriter.write/VarMisuse@23/107 `pkg_file`->`pkg_rels`