Re:Python’s “type hints” are a bit of a disappointment to me
by Jcowell on Saturday April 23, 2022 @09:02AM
(#31133879)
Seems to me you have a Data Structure problem. What type of data is this suppose to represent and why can a Class not fix it.
[ Parent
| on HN ]
Re:Python’s “type hints” are a bit of a disappointment to me
by wheelerof4te on Saturday April 23, 2022 @05:18PM
(#31138657)
Why would I need a class for this?
It's literally a tuple containing two three-tuples inside a list.
Do a for loop over it, unpack it and you are done..