It isn't a pep8 violation. Is there a reason why it has to be on one line? Other than readability (which is subjective)?