Pylance: "Position-only argument separator not allowed as first parameter"

I encountered this issue today. The problem was trying to name a variable lambda when that is already a keyword in Python (which I forgot about, as I haven't used that functionality much as of right now). 

Change it to really anything else (i.e. my_lambda), and the error will go away. 

Comments

Popular posts from this blog

Unleashing my inner Disney Princess ✩₊˚.⋆☾⋆⁺₊✧ at the 2024 Disney Princesses Half Marathon

The 20-something types of Computer Science majors

The Evenstar