@staticmethod
    def write(pkg_file, pkg_rels, parts):
        phys_writer = PhysPkgWriter(pkg_file)
        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()
Handles an error that occurs while setting the object's trait value.
dataset/ETHPy150Open scanny/python-pptx/pptx/opc/pkgwriter.py/PackageWriter.write--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py/SimpleEditor.error