diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-08-15 14:43:58 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-08-15 14:43:58 (GMT) |
commit | 1b00f25bf99d9b7a5f307984f6467258de636d23 (patch) | |
tree | 18d19d268ea3a642be447d3f7041211dc40f9379 /Doc/whatsnew/2.4.rst | |
parent | f748a3773fd40dd91195fc2fef2cac2f973baaf8 (diff) | |
download | cpython-1b00f25bf99d9b7a5f307984f6467258de636d23.zip cpython-1b00f25bf99d9b7a5f307984f6467258de636d23.tar.gz cpython-1b00f25bf99d9b7a5f307984f6467258de636d23.tar.bz2 |
#15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
Diffstat (limited to 'Doc/whatsnew/2.4.rst')
-rw-r--r-- | Doc/whatsnew/2.4.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst index 09ff600..9d339a5 100644 --- a/Doc/whatsnew/2.4.rst +++ b/Doc/whatsnew/2.4.rst @@ -411,6 +411,9 @@ error streams will be. You can provide a file object or a file descriptor, or you can use the constant ``subprocess.PIPE`` to create a pipe between the subprocess and the parent. +.. index:: + single: universal newlines; What's new + The constructor has a number of handy options: * *close_fds* requests that all file descriptors be closed before running the @@ -424,7 +427,7 @@ The constructor has a number of handy options: * *preexec_fn* is a function that gets called before the child is started. * *universal_newlines* opens the child's input and output using Python's - universal newline feature. + :term:`universal newlines` feature. Once you've created the :class:`Popen` instance, you can call its :meth:`wait` method to pause until the subprocess has exited, :meth:`poll` to check if it's |