Skip to content

Commit

Permalink
[components] Improve docstring of PDFDocument's _element_indexes_with…
Browse files Browse the repository at this point in the history
…_fonts()
  • Loading branch information
paulopaixaoamaral committed May 4, 2020
1 parent 7bbf686 commit 0ff19e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py_pdf_parser/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ def get_page(self, page_number: int) -> "PDFPage":
def _element_indexes_with_fonts(self, *fonts: str) -> Set[int]:
"""
Returns all the indexes of elements with given fonts.
For internal use only, used to cache fonts. If you want to filter by fonts you
should use elements.filter_by_fonts instead.
Args:
*fonts (str): The fonts to filter for.
Expand Down

0 comments on commit 0ff19e8

Please sign in to comment.