summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Chernoff <chernoffivan@gmail.com>2017-08-29 14:46:24 (GMT)
committerGregory P. Smith <greg@krypto.org>2017-08-29 14:46:24 (GMT)
commit006617ff7d6df3fdedcfe53e94ee2c52cc796437 (patch)
tree02397d5fefc2a8cff9787974e3f96dc9d69c01ea
parent265fcc5fc25d65afb33fda480c603f1e974e374e (diff)
downloadcpython-006617ff7d6df3fdedcfe53e94ee2c52cc796437.zip
cpython-006617ff7d6df3fdedcfe53e94ee2c52cc796437.tar.gz
cpython-006617ff7d6df3fdedcfe53e94ee2c52cc796437.tar.bz2
bpo-31065: Add doc about Popen.poll returning None. (#3169)
-rw-r--r--Doc/library/subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index 2eaa48e..a4e234e 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -584,7 +584,7 @@ Instances of the :class:`Popen` class have the following methods:
.. method:: Popen.poll()
Check if child process has terminated. Set and return
- :attr:`~Popen.returncode` attribute.
+ :attr:`~Popen.returncode` attribute. Otherwise, returns ``None``.
.. method:: Popen.wait(timeout=None)