Yes, python pulled a JavaScript and if you give it a <list> not in <list> it actually checks each item individually instead of treating it like a sublist.
@doskel this is why I like Ruff as my linter. It'll generate all sorts of warnings for Python language features that you'd never think to use unless you saw them, and once you use them you ask why Python even exists. 😆
Add comment