typing: confirmed that _pages_from_ranges(not-str) is never used

This commit is contained in:
James R. Barlow
2021-08-26 23:47:11 -07:00
parent 6f9b948064
commit 72279e7759
-2
View File
@@ -142,8 +142,6 @@ def check_options_preprocessing(options):
def _pages_from_ranges(ranges: str) -> Set[int]:
if is_iterable_notstr(ranges):
return set(ranges)
pages: List[int] = []
page_groups = ranges.replace(' ', '').split(',')
for g in page_groups: