[Tutor] Lengthy copyright notices?
Alan Gauld
alan.gauld at yahoo.co.uk
Mon Jul 15 20:47:00 EDT 2019
On 15/07/2019 23:34, Mats Wichmann wrote:
> Rule #1: it's all opinion in the end...
ditto...
> The common practice is that licence/copyright text is included as a
> comment in the code, not in a docstring.
I'd second that opinion. I don't like losing the copyright stuff
to a separate file - too easy to get lost. But I certainly don't
want it in my help() output either.
A comment solves both for the downside of some initial scrolling
when reading or editing the file
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list