Skip to content

Commit bd9e22b

Browse files
committed
Clarify language re: function arguments (#3861)
2 parents fa171f7 + 3ee4534 commit bd9e22b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/userguide/entry_point.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ After installing the package, a user may invoke that function by simply calling
110110
$ hello-world
111111
Hello world
112112
113-
Note that any function configured as a console script, i.e. ``hello_world()`` in
113+
Note that any function used as a console script, i.e. ``hello_world()`` in
114114
this example, should not accept any arguments. If your function requires any input
115115
from the user, you can use regular command-line argument parsing utilities like
116116
:mod:`argparse` within the body of
@@ -183,7 +183,7 @@ Now, running:
183183
184184
will open a small application window with the title 'Hello world'.
185185

186-
Note that just as with console scripts, any function configured as a GUI script
186+
Note that just as with console scripts, any function used as a GUI script
187187
should not accept any arguments, and any user input can be parsed within the
188188
body of the function. GUI scripts also use the same syntax (discussed in the
189189
`last section <#entry-points-syntax>`_) for specifying the function to be invoked.

0 commit comments

Comments
 (0)