-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
bpo-39452: Improve the __main__ module documentation #14487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
🤖 Mariatta was mentioned, but she's out of open source until end of September 2019. Hopefully someone else can look into this in the meantime. |
@maggyero, please open a bug tracker ticket for this. That will provide the chance for more people to see the change and comment on it. Thanks! |
Done @csabella. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, at least the first two changes in the description are wrong. See the issue for discussion.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again. |
Thanks for making the requested changes! @terryjreedy: please review the changes made to this pull request. |
Remove trailing whitespace with patchcheck, as mentioned in devguide. |
@stevendaprano Changes were made in response to your review on the issue. |
Done. |
Closing in favor of GH-26883. |
This PR will apply the following changes on the
__main__
module documentation:__main__
module is also initialized (when using the-c
and-m
arguments);-m
argument also performs import for instance;if
body (all the cases when the module is not initialized from an import statement);if
block comment PEP 8-compliant (capital initialised, period ended);https://bugs.python.org/issue39452