Dec. 27, 2020
3:02 a.m.
On Sun, Dec 27, 2020 at 1:45 PM Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
On 27/12/20 3:03 pm, Chris Angelico wrote:
But that would mean that a lot of iterables would look like mappings when they're not.
In the context of ** you're expecting a mapping, not a sequence.
Exactly; and under the proposal I was replying to, ANY object would look like a mapping if you can iterate over it and subscript it - which means all sequences look like mappings, just broken ones. ChrisA