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

Method new

src/pptx/opc/oxml.py:140–142  ·  view source on GitHub ↗

Return a new ` ` element.

(cls)

Source from the content-addressed store, hash-verified

138
139 @classmethod
140 def new(cls) -> CT_Relationships:
141 """Return a new `<Relationships>` element."""
142 return cast(CT_Relationships, parse_xml(f'<Relationships xmlns="{nsmap["pr"]}"/>'))
143
144 @property
145 def xml_file_bytes(self) -> bytes:

Callers

nothing calls this directly

Calls 1

parse_xmlFunction · 0.90

Tested by

no test coverage detected