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

Method runs

src/docx/text/hyperlink.py:83–91  ·  view source on GitHub ↗

List of |Run| instances in this hyperlink. Together these define the visible text of the hyperlink. The text of a hyperlink is typically contained in a single run will be broken into multiple runs if for example part of the hyperlink is bold or the text was changed after the

(self)

Source from the content-addressed store, hash-verified

81
82 @property
83 def runs(self) -> list[Run]:
84 """List of |Run| instances in this hyperlink.
85
86 Together these define the visible text of the hyperlink. The text of a hyperlink
87 is typically contained in a single run will be broken into multiple runs if for
88 example part of the hyperlink is bold or the text was changed after the document
89 was saved.
90 """
91 return [Run(r, self._parent) for r in self._hyperlink.r_lst]
92
93 @property
94 def text(self) -> str:

Callers

nothing calls this directly

Calls 1

RunClass · 0.90

Tested by

no test coverage detected