![](https://secure.gravatar.com/avatar/880ac02012dcaf99f0392f69af4f8597.jpg?s=120&d=mm&r=g)
10 Jul
2020
10 Jul
'20
1:29 a.m.
One thing I don't understand about the PEP: case [x,y]: IIUC matches any 2-element sequence. How would you match specifically a 2-item list (say)? Would it be case list([x,y]): I would appreciate it if some kind person could enlighten me. TIA Rob Cliffe