Remove a small Python 2 compatibility check (and fix some pep8)