MCPcopy Index your code
hub / github.com/python-openxml/python-docx / _iter_styles

Method _iter_styles

src/docx/oxml/styles.py:318–320  ·  view source on GitHub ↗

Generate each of the `w:style` child elements in document order.

(self)

Source from the content-addressed store, hash-verified

316 return next(iter(self.xpath(xpath)), None)
317
318 def _iter_styles(self):
319 """Generate each of the `w:style` child elements in document order."""
320 return (style for style in self.xpath("w:style"))

Callers 1

default_forMethod · 0.95

Calls 1

xpathMethod · 0.80

Tested by

no test coverage detected