

@staticmethod
def _write_parts(phys_writer, parts):
    '\n        Write the blob of each part in *parts* to the package, along with a\n        rels item for its relationships if and only if it has any.\n        '
    for part in parts:
        phys_writer.write(part.partname, part.blob)
        if len(parts._rels):
            phys_writer.write(part.partname.rels_uri, part._rels.xml)

dataset/ETHPy150Open scanny/python-pptx/pptx/opc/pkgwriter.py PackageWriter._write_parts/VarMisuse@40/112 `part`->`parts`