Pep8 trickiness