Skip to content

Commit 01864f8

Browse files
committed
Update docs
Signed-off-by: Manjusaka <[email protected]>
1 parent c2863a7 commit 01864f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/subprocess.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,21 +1528,21 @@ Notes
15281528
.. _subprocess-timeout-behavior:
15291529

15301530
Timeout Behavior
1531-
----------------
1531+
^^^^^^^^^^^^^^^^
15321532

15331533
When using the ``timeout`` parameter in functions like :func:`run`,
15341534
:meth:`Popen.wait`, or :meth:`Popen.communicate`,
15351535
users should be aware of the following behaviors:
15361536

15371537
Process Creation Delay
1538-
~~~~~~~~~~~~~~~~~~~~~~
1538+
^^^^^^^^^^^^^^^^^^^^^^
15391539

15401540
The initial process creation itself cannot be interrupted on many platform APIs.
15411541
This means that even when specifying a timeout, you are not guaranteed to see a timeout exception
15421542
until at least after however long process creation takes.
15431543

15441544
Extremely Small Timeout Values
1545-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1545+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15461546

15471547
Setting very small timeout values (such as a few milliseconds) may result
15481548
in almost immediate :exc:`TimeoutExpired` exceptions because

0 commit comments

Comments
 (0)