From 0c11416b3a8b73321727a170a475327616061362 Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:28:09 +0100 Subject: [PATCH] STY: Amend B_CACHE key types --- pypdf/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypdf/_utils.py b/pypdf/_utils.py index 9756536980..38c0d67d7a 100644 --- a/pypdf/_utils.py +++ b/pypdf/_utils.py @@ -336,7 +336,7 @@ def mark_location(stream: StreamType) -> None: stream.seek(-radius, 1) -B_CACHE: Dict[Union[str, bytes], bytes] = {} +B_CACHE: Dict[str, bytes] = {} def b_(s: Union[str, bytes]) -> bytes: