elm.utilities.parse.remove_blank_pages

remove_blank_pages(pages)[source]

Remove any blank pages from the iterable.

Parameters:

pages (iterable) – Iterable of string objects. Objects in this iterable that do not contain any text will be removed.

Returns:

list – List of strings with content, or empty list.