-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
The following sentence in the section about idiomatic usage of __main__.py
seems to be missing one word:
Instead, those files are kept short, functions to execute from other modules
I suspect the correct meaning is:
Instead, those files are kept short, importing functions to execute from other modules
I also suggest using the uncountable form of "content" in the first sentence:
The content of main.py typically isn’t fenced with an
if __name__ == '__main__'
block.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir