> Writing list(, $b) = array(3,4) is not allowed. Instead use $_, i.e.: list($_, $b) = array(3, 4).
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?
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 '_'.