summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2023-03-28 13:48:26 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2023-03-28 13:48:26 +0100
commitbd9e22b172a722e1f2febf28d9ff69426db4eb5a (patch)
tree24ea467fddbf01862a80252b7afdc597715a5037 /docs
parentfa171f740287636a20e58016a1f32a4188e8c933 (diff)
parent3ee45341880c2de76717b47c3c1156e69a037432 (diff)
downloadpython-setuptools-git-bd9e22b172a722e1f2febf28d9ff69426db4eb5a.tar.gz
Clarify language re: function arguments (#3861)
Diffstat (limited to 'docs')
-rw-r--r--docs/userguide/entry_point.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/userguide/entry_point.rst b/docs/userguide/entry_point.rst
index 163ce1d9..4aa7f9a2 100644
--- a/docs/userguide/entry_point.rst
+++ b/docs/userguide/entry_point.rst
@@ -110,7 +110,7 @@ After installing the package, a user may invoke that function by simply calling
$ hello-world
Hello world
-Note that any function configured as a console script, i.e. ``hello_world()`` in
+Note that any function used as a console script, i.e. ``hello_world()`` in
this example, should not accept any arguments. If your function requires any input
from the user, you can use regular command-line argument parsing utilities like
:mod:`argparse` within the body of
@@ -183,7 +183,7 @@ Now, running:
will open a small application window with the title 'Hello world'.
-Note that just as with console scripts, any function configured as a GUI script
+Note that just as with console scripts, any function used as a GUI script
should not accept any arguments, and any user input can be parsed within the
body of the function. GUI scripts also use the same syntax (discussed in the
`last section <#entry-points-syntax>`_) for specifying the function to be invoked.