leaf_focus/report/item/line.py
def load(cls, lines: Iterable[str], page: "Page") -> Iterable["Line"]:
        """Load lines for a page."""
        for index, text in enumerate(lines):
            line = Line(index=index, text=text, page=page)
            yield line
Load lines for a page.
Load lines for a page.
Load lines for a page .
def load(cls, lines: Iterable[str], page: "Page") -> Iterable["Line"]:
        for index, text in enumerate(lines):
            line = Line(index=index, text=text, page=page)
            yield line
def load ( cls , lines : Iterable [ str ] , page : "Page" ) -> Iterable [ "Line" ] : for index , text in enumerate ( lines ) : line = Line ( index = index , text = text , page = page ) yield line
Load lines for a page.
Load lines for a page .
"""Load lines for a page."""
cls
lines
Iterable[str]
page
"Page"