Han-Wen Nienhuys wrote:
some comments

+def copyWithWarning(src, dest):

Thanks, I've made these changes.

+       readFile = open(src, 'r')

'r' : superfluous

+       readFile.close()

superfluous. Happens automatically if it goes out of scope.

I was wondering about this, though: even if they're superfluous, aren't they good style? Having the 'r' and .close() there makes the code easier to read, especially if somebody isn't familiar with python.

Cheers,
- Graham


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to