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

Method new

src/pptx/oxml/slide.py:150–156  ·  view source on GitHub ↗

Return a new `` `` element based on the default template. Note that the template does not include placeholders, which must be subsequently cloned from the notes master.

(cls)

Source from the content-addressed store, hash-verified

148
149 @classmethod
150 def new(cls) -> CT_NotesSlide:
151 """Return a new ``<p:notes>`` element based on the default template.
152
153 Note that the template does not include placeholders, which must be subsequently cloned
154 from the notes master.
155 """
156 return cast(CT_NotesSlide, parse_from_template("notes"))
157
158
159class CT_Slide(_BaseSlideElement):

Callers

nothing calls this directly

Calls 1

parse_from_templateFunction · 0.90

Tested by

no test coverage detected