Adapted to PEP8