Skip to content

Commit 7cc72ad

Browse files
committed
Consistent getopt markup
1 parent bb91b52 commit 7cc72ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/howto/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ recommended command-line parsing module in the Python standard library.
1818
module (which may require more code to configure for a given application,
1919
but also allows an application to request behaviors that ``argparse``
2020
doesn't support), and the very low level :mod:`getopt` (which specifically
21-
serves as an equivalent to ``getopt()`` from the C language).
21+
serves as an equivalent to :c:func:`!getopt` from the C language).
2222
While neither of those modules is covered directly in this guide, many of
2323
the core concepts in ``argparse`` first originated in ``optparse``, so
2424
some aspects of this tutorial will also be relevant to ``optparse`` users.

Doc/whatsnew/3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ optparse
16601660
for implementing command line applications which adhere more
16611661
strictly than ``argparse`` does to various Unix command line
16621662
processing conventions that originate in the behaviour of the
1663-
C :c:func:`getopt` function .
1663+
C :c:func:`!getopt` function .
16641664
(Contributed by Alyssa Coghlan and Serhiy Storchaka in :gh:`126180`.)
16651665

16661666

0 commit comments

Comments
 (0)