ParseResults__tokdict.get? #380
kuchenmann
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've an older program from Robert Steed with this line in it.
This produces an error in Python 3.10.4.
I've no idea what this line should do. But I can not find much information about tokdict in pyparsing.
hyperlinks = dict([(pos,href) for href,pos in parseresults._ParseResults__tokdict.get('HyperLink',[])])
AttributeError: 'str' object has no attribute 'get'
Beta Was this translation helpful? Give feedback.
All reactions