Tim Golden added the comment:
One small thing to bear in mind is that the existing code (ie with the extra linefeed) raises an IndentationError if cut-and-pasted into the interactive interpreter; with the OP's change, it succeeds. Might not have been their intention, but certainly is the case.
(Doesn't make it a bug, as such, but makes it more than a stylistic difference of opinion).
---------- nosy: +tim.golden
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue24005 _______________________________________