Skip to content

Commit f867e19

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

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Doc/library/os.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4593,8 +4593,6 @@ written in Python, such as a mail server's external command delivery program.
45934593
:mod:`pty` module. If an error occurs :exc:`OSError` is raised.
45944594

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

45994597
.. audit-event:: os.forkpty "" os.forkpty
46004598

Doc/library/pty.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ The :mod:`pty` module defines the following functions:
3434
child's standard input and output).
3535

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

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

0 commit comments

Comments
 (0)