sebastian
New member
I have a program that contains a list of tokens. The items in that list could be:
An int
A float
A string
or, another list with the same possible types (recursively).
I could not find a way to put this so that 11l could understand it; it also doesn't seem to like the "list" type in type hints. It also rejected Union once, not quite sure what that was about.
An int
A float
A string
or, another list with the same possible types (recursively).
I could not find a way to put this so that 11l could understand it; it also doesn't seem to like the "list" type in type hints. It also rejected Union once, not quite sure what that was about.