Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Schubert <[email protected]>
  • Loading branch information
serhiy-storchaka and brianschubert authored Nov 4, 2024
1 parent 3ef0f08 commit 3105620
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Doc/library/getopt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exception:
be parsed, without the leading reference to the running program. Typically, this
means ``sys.argv[1:]``. *shortopts* is the string of option letters that the
script wants to recognize, with options that require an argument followed by a
colon (``':'``) and options that takes an optional argument followed by
colon (``':'``) and options that accept an optional argument followed by
two colons (``'::'``); i.e., the same format that Unix :c:func:`!getopt` uses.

.. note::
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ functools
getopt
------

* Add support of options with optional arguments.
* Add support for options with optional arguments.
(Contributed by Serhiy Storchaka in :gh:`126374`.)

http
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Add support of options with optional arguments in the :mod:`getopt` module.
Add support for options with optional arguments in the :mod:`getopt` module.

0 comments on commit 3105620

Please sign in to comment.