by jimhart3000 · 12y ago · 0 comments
Not that I think the former is good practice at all, but isn't the latter a kind of weird use of what is a valid variable name?
lambda _, _: None
gives
SyntaxError: duplicate argument '_' in function definition
but tools like pylint will silence unused-variable warnings if the variable starts with '_'.