summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/__main__.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/__main__.rst b/Doc/library/__main__.rst
index d92266e..c5f36a7 100644
--- a/Doc/library/__main__.rst
+++ b/Doc/library/__main__.rst
@@ -116,8 +116,8 @@ Idiomatic Usage
^^^^^^^^^^^^^^^
Some modules contain code that is intended for script use only, like parsing
-command-line arguments or fetching data from standard input. When a module
-like this were to be imported from a different module, for example to unit test
+command-line arguments or fetching data from standard input. If a module
+like this was imported from a different module, for example to unit test
it, the script code would unintentionally execute as well.
This is where using the ``if __name__ == '__main__'`` code block comes in