19 Apr
2015
19 Apr
'15
7:06 p.m.
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