3 ms·
As an aside, this usage of `lambda` is redundant with a normal `def` statement: def F0(node): return node.find(SOME_XPATH) etc. If you're binding the new
by aleaxit 8y ago
As an aside, this usage of `lambda` is redundant with a normal `def` statement:
def F0(node): return node.find(SOME_XPATH)
etc. If you're binding the new function to a name anyway, why bother with `lambda` when `def` works just fine?