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

Dream jobs list

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

St. George Marathon: 3:08, but at what cost? 💩 (TMI alert)