Skip to content

Commit 3105620

Browse files
Apply suggestions from code review
Co-authored-by: Brian Schubert <[email protected]>
1 parent 3ef0f08 commit 3105620

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/library/getopt.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exception:
3838
be parsed, without the leading reference to the running program. Typically, this
3939
means ``sys.argv[1:]``. *shortopts* is the string of option letters that the
4040
script wants to recognize, with options that require an argument followed by a
41-
colon (``':'``) and options that takes an optional argument followed by
41+
colon (``':'``) and options that accept an optional argument followed by
4242
two colons (``'::'``); i.e., the same format that Unix :c:func:`!getopt` uses.
4343

4444
.. note::

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ functools
313313
getopt
314314
------
315315

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

319319
http
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add support of options with optional arguments in the :mod:`getopt` module.
1+
Add support for options with optional arguments in the :mod:`getopt` module.

0 commit comments

Comments
 (0)