
July 9, 2020
7:59 p.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