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

6 hours and only 6 Lagoon rides?

Reflecting on major life goals yet again

Hobble Creek Half: The slow passage of time marches us towards our inevitable death