Skip to content

Commit 0f1973d

Browse files
authored
bpo-31065: Add doc about Popen.poll returning None. (GH-3169)
(cherry picked from commit 006617f)
1 parent 8ed5644 commit 0f1973d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/subprocess.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ Instances of the :class:`Popen` class have the following methods:
584584
.. method:: Popen.poll()
585585

586586
Check if child process has terminated. Set and return
587-
:attr:`~Popen.returncode` attribute.
587+
:attr:`~Popen.returncode` attribute. Otherwise, returns ``None``.
588588

589589

590590
.. method:: Popen.wait(timeout=None)

0 commit comments

Comments
 (0)