Skip to content

Commit 006617f

Browse files
vanadium23gpshead
authored andcommitted
bpo-31065: Add doc about Popen.poll returning None. (#3169)
1 parent 265fcc5 commit 006617f

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)