Skip to content

Commit a2aa47b

Browse files
committed
fix docs
Signed-off-by: Manjusaka <[email protected]>
1 parent f78e916 commit a2aa47b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4594,7 +4594,7 @@ written in Python, such as a mail server's external command delivery program.
45944594

45954595
The returned file descriptor *fd* is :ref:`non-inheritable <fd_inheritance>`.
45964596
This means it will not be passed to child processes created by subsequent
4597-
:func:`fork` or :func:`exec*` calls.
4597+
:func:`fork` or :func:`exec\* <execl>` calls.
45984598

45994599
.. audit-event:: os.forkpty "" os.forkpty
46004600

Doc/library/pty.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The :mod:`pty` module defines the following functions:
3535

3636
The returned file descriptor *fd* is :ref:`non-inheritable <fd_inheritance>`.
3737
This means it will not be passed to child processes created by subsequent
38-
:func:`os.fork` or :func:`os.exec*` calls.
38+
:func:`os.fork` or :func:`os.exec\* <os.execl>` calls.
3939

4040
.. warning:: On macOS the use of this function is unsafe when mixed with using
4141
higher-level system APIs, and that includes using :mod:`urllib.request`.

0 commit comments

Comments
 (0)