2 ms·
No great reason it couldn't be though: dict(1=5, 6=7, 7="aaa") dict(hashableInstance="foo", anotherHashableInstance=23, (1,5)=8) except Python syntax choices
by coldtea 3y ago
No great reason it couldn't be though:
dict(1=5, 6=7, 7="aaa")
dict(hashableInstance="foo", anotherHashableInstance=23, (1,5)=8)
except Python syntax choices of course.
- paulddraper 3y agoIs 1 a integer or a string?
- coldtea 3y agoIt's an integer (in the, not supported, format I show as something Python could have supported). And if they wanted a string, they'd do it like: dict("1"=5, 6=7, 7="aaa")