update to Python coding style standards - suggestion from code review