Per PEP8, there is no benefit to using a lambda here, and some downsides. It's the same number of SLOC either way, so might as well change it.