Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed Jul 26, 2022
1 parent c7382e2 commit bb1736c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PyPDF2/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,11 +1133,11 @@ def _extract_text(
if "/Font" in resources_dict:
for f in cast(DictionaryObject, resources_dict["/Font"]):
cmaps[f] = build_char_map(f, space_width, obj)
cmap: Tuple[Union[str, Dict[int, str]], Dict[str, str], str] = [
cmap: Tuple[Union[str, Dict[int, str]], Dict[str, str], str] = (
"charmap",
{},
"NotInitialized",
] # (encoding,CMAP,font_name)
) # (encoding,CMAP,font_name)
try:
content = (
obj[content_key].get_object() if isinstance(content_key, str) else obj
Expand Down

0 comments on commit bb1736c

Please sign in to comment.