_strip function -> lambda.  PEP8 / pylint fixes