We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d892f commit 61bb49bCopy full SHA for 61bb49b
pypdf/_reader.py
@@ -647,7 +647,7 @@ def _build_field(
647
if "/Off" not in retval[key]["/_States_"]:
648
retval[key][NameObject("/_States_")].append(NameObject("/Off"))
649
elif obj.get(FA.FT, "") == "/Btn" and obj.get(FA.Ff, 0) & FA.FfBits.Radio != 0:
650
- states = []
+ states: List[str] = []
651
retval[key][NameObject("/_States_")] = ArrayObject(states)
652
for k in obj.get(FA.Kids, {}):
653
k = k.get_object()
0 commit comments