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

Method hyperlinks

src/docx/text/paragraph.py:75–77  ·  view source on GitHub ↗

A |Hyperlink| instance for each hyperlink in this paragraph.

(self)

Source from the content-addressed store, hash-verified

73
74 @property
75 def hyperlinks(self) -> List[Hyperlink]:
76 """A |Hyperlink| instance for each hyperlink in this paragraph."""
77 return [Hyperlink(hyperlink, self) for hyperlink in self._p.hyperlink_lst]
78
79 def insert_paragraph_before(
80 self, text: str | None = None, style: str | ParagraphStyle | None = None

Callers

nothing calls this directly

Calls 1

HyperlinkClass · 0.90

Tested by

no test coverage detected