I don't know if that is a contrived example or not, but python also
already provides a more efficient and readable way of pulling
attributes off of an object (a very common misuse of
lambda/anonymous functions). operator.attrgetter
My examples are fairly contrived. I know about the operator module and functools.partial