inspect.py up to pep8