Author ncoghlan
Recipients docs@python, eric.araujo, eric.snow, ezio.melotti, ncoghlan
Date 2018-05-17.11:41:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526557309.11.0.682650639539.issue13474@psf.upfronthosting.co.za>
In-reply-to
Content
I've assigned the PR and issue to myself, as the proposed addition in the PR isn't quite right, but it isn't immediately obvious why not.

The gist of the problem is that the current docs are actually correct and complete: modules are the first thing listed as being code blocks, and whether you import them or execute them as __main__ doesn't change that.

However, I can also see why 2011-Eric thought it looked incomplete, so I'm thinking it may make sense to restructure that entire paragraph as a bulleted list, where it would be possible to mention both imported modules and modules executed as main, without giving the impression that those are inherently different things.
History
Date User Action Args
2018-05-17 11:41:49ncoghlansetrecipients: + ncoghlan, ezio.melotti, eric.araujo, docs@python, eric.snow
2018-05-17 11:41:49ncoghlansetmessageid: <1526557309.11.0.682650639539.issue13474@psf.upfronthosting.co.za>
2018-05-17 11:41:49ncoghlanlinkissue13474 messages
2018-05-17 11:41:48ncoghlancreate