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

Method pop

src/pptx/opc/package.py:587–592  ·  view source on GitHub ↗

Return |_Relationship| identified by `rId` after removing it from collection. The caller is responsible for ensuring it is no longer required.

(self, rId: str)

Source from the content-addressed store, hash-verified

585 return rels_of_reltype[0].target_part
586
587 def pop(self, rId: str) -> _Relationship:
588 """Return |_Relationship| identified by `rId` after removing it from collection.
589
590 The caller is responsible for ensuring it is no longer required.
591 """
592 return self._rels.pop(rId)
593
594 @property
595 def xml(self):

Callers 4

drop_relMethod · 0.80
drop_relMethod · 0.80
from_ordered_sequenceMethod · 0.80

Calls

no outgoing calls