From 0f1973d06e2116deafb19bbb9443b138187803c7 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sun, 29 Oct 2017 07:06:48 +0300 Subject: [PATCH] bpo-31065: Add doc about Popen.poll returning None. (GH-3169) (cherry picked from commit 006617ff7d6df3fdedcfe53e94ee2c52cc796437) --- Doc/library/subprocess.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 27f3e82596..ea7e664f57 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) -- 2.40.0