summaryrefslogtreecommitdiffstats
path: root/Doc/library/subprocess.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-07-04 18:31:53 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-07-04 18:31:53 (GMT)
commit276a58b8218ba2e6c13114ce3942d25328d0e8ee (patch)
treee2c2c1af548b31accfbcc69ba7db8a9c9c80e661 /Doc/library/subprocess.rst
parent1945f93888f6acadd0bde6541f39d7616f9a5392 (diff)
parenta6bac95a3c6eb926d3eded04e4b04a1d552053d1 (diff)
downloadcpython-276a58b8218ba2e6c13114ce3942d25328d0e8ee.zip
cpython-276a58b8218ba2e6c13114ce3942d25328d0e8ee.tar.gz
cpython-276a58b8218ba2e6c13114ce3942d25328d0e8ee.tar.bz2
Merge from 3.2 . Replace the term members with correct and appropriate terminology. Initial patch by Adam Woodbeck.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r--Doc/library/subprocess.rst29
1 files changed, 15 insertions, 14 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index a0d8471..7e759f0 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -567,38 +567,39 @@ on Windows.
.. attribute:: dwFlags
- A bit field that determines whether certain :class:`STARTUPINFO` members
- are used when the process creates a window. ::
+ A bit field that determines whether certain :class:`STARTUPINFO`
+ attributes are used when the process creates a window. ::
si = subprocess.STARTUPINFO()
si.dwFlags = subprocess.STARTF_USESTDHANDLES | subprocess.STARTF_USESHOWWINDOW
.. attribute:: hStdInput
- If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this member is
- the standard input handle for the process. If :data:`STARTF_USESTDHANDLES`
- is not specified, the default for standard input is the keyboard buffer.
+ If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute
+ is the standard input handle for the process. If
+ :data:`STARTF_USESTDHANDLES` is not specified, the default for standard
+ input is the keyboard buffer.
.. attribute:: hStdOutput
- If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this member is
- the standard output handle for the process. Otherwise, this member is
- ignored and the default for standard output is the console window's
+ If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute
+ is the standard output handle for the process. Otherwise, this attribute
+ is ignored and the default for standard output is the console window's
buffer.
.. attribute:: hStdError
- If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this member is
- the standard error handle for the process. Otherwise, this member is
+ If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute
+ is the standard error handle for the process. Otherwise, this attribute is
ignored and the default for standard error is the console window's buffer.
.. attribute:: wShowWindow
- If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this member
+ If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute
can be any of the values that can be specified in the ``nCmdShow``
parameter for the
`ShowWindow <http://msdn.microsoft.com/en-us/library/ms633548(v=vs.85).aspx>`__
- function, except for ``SW_SHOWDEFAULT``. Otherwise, this member is
+ function, except for ``SW_SHOWDEFAULT``. Otherwise, this attribute is
ignored.
:data:`SW_HIDE` is provided for this attribute. It is used when
@@ -632,12 +633,12 @@ The :mod:`subprocess` module exposes the following constants.
.. data:: STARTF_USESTDHANDLES
Specifies that the :attr:`STARTUPINFO.hStdInput`,
- :attr:`STARTUPINFO.hStdOutput`, and :attr:`STARTUPINFO.hStdError` members
+ :attr:`STARTUPINFO.hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes
contain additional information.
.. data:: STARTF_USESHOWWINDOW
- Specifies that the :attr:`STARTUPINFO.wShowWindow` member contains
+ Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains
additional information.
.. data:: CREATE_NEW_CONSOLE