MCPcopy Create free account
hub / github.com/scanny/python-pptx / drop_rel

Method drop_rel

src/pptx/opc/package.py:84–86  ·  view source on GitHub ↗

Remove relationship identified by `rId`.

(self, rId: str)

Source from the content-addressed store, hash-verified

82 return cls(pkg_file)._load()
83
84 def drop_rel(self, rId: str) -> None:
85 """Remove relationship identified by `rId`."""
86 self._rels.pop(rId)
87
88 def iter_parts(self) -> Iterator[Part]:
89 """Generate exactly one reference to each part in the package."""

Callers

nothing calls this directly

Calls 1

popMethod · 0.80

Tested by

no test coverage detected