Only delete trailing whitespace in python mode