summaryrefslogtreecommitdiffstats
path: root/Doc/library/pty.rst
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-09-29 19:41:03 (GMT)
committerGregory P. Smith <greg@krypto.org>2012-09-29 19:41:03 (GMT)
commit0f21adf7999d0a50889cde65419e51cfe77e9e1d (patch)
tree0d689e15c8fc5887b47f76bd13881a9cc23eb92c /Doc/library/pty.rst
parentb32d5912d2a6504740146e4d4b1a477189e932d2 (diff)
downloadcpython-0f21adf7999d0a50889cde65419e51cfe77e9e1d.zip
cpython-0f21adf7999d0a50889cde65419e51cfe77e9e1d.tar.gz
cpython-0f21adf7999d0a50889cde65419e51cfe77e9e1d.tar.bz2
pty.spawn() now returns the child process status as returned by os.waitpid().
Addresses the remaining feature request from issue #2489.
Diffstat (limited to 'Doc/library/pty.rst')
-rw-r--r--Doc/library/pty.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/pty.rst b/Doc/library/pty.rst
index 2b9385b..90baec5 100644
--- a/Doc/library/pty.rst
+++ b/Doc/library/pty.rst
@@ -45,6 +45,9 @@ The :mod:`pty` module defines the following functions:
a file descriptor. The defaults try to read 1024 bytes each time they are
called.
+ .. versionchanged:: 3.4
+ :func:`spawn` now returns the status value from :func:`os.waitpid`
+ on the child process.
Example
-------