Skip to content

Commit

Permalink
Consistent getopt markup
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Nov 2, 2024
1 parent bb91b52 commit 7cc72ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Doc/howto/argparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ recommended command-line parsing module in the Python standard library.
module (which may require more code to configure for a given application,
but also allows an application to request behaviors that ``argparse``
doesn't support), and the very low level :mod:`getopt` (which specifically
serves as an equivalent to ``getopt()`` from the C language).
serves as an equivalent to :c:func:`!getopt` from the C language).
While neither of those modules is covered directly in this guide, many of
the core concepts in ``argparse`` first originated in ``optparse``, so
some aspects of this tutorial will also be relevant to ``optparse`` users.
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ optparse
for implementing command line applications which adhere more
strictly than ``argparse`` does to various Unix command line
processing conventions that originate in the behaviour of the
C :c:func:`getopt` function .
C :c:func:`!getopt` function .
(Contributed by Alyssa Coghlan and Serhiy Storchaka in :gh:`126180`.)


Expand Down

0 comments on commit 7cc72ad

Please sign in to comment.