Skip to content

Commit 7ab5de3

Browse files
committed
gh-125562: Altered wording before 'argv[0]' in execl documentations
1 parent fefa288 commit 7ab5de3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4278,8 +4278,8 @@ These functions may be used to create and manage processes.
42784278
be the name of the program itself, and not an argument that a user may
42794279
have typed on a command line.
42804280

4281-
For the C programmer, this is the ``argv[0]``
4282-
passed to a program's :c:func:`main`. For example, ``os.execv('/bin/echo',
4281+
This first argument is equivalent to the ``argv[0]``
4282+
passed to a program's :c:func:`main` in a C program. For example, ``os.execv('/bin/echo',
42834283
['foo', 'bar'])`` will only print ``bar`` on standard output; ``foo`` will seem
42844284
to be ignored.
42854285

0 commit comments

Comments
 (0)