Skip to content

Commit

Permalink
Clarify language re: function arguments (#3861)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Mar 28, 2023
2 parents fa171f7 + 3ee4534 commit bd9e22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/userguide/entry_point.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit bd9e22b

Please sign in to comment.