Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

Unified Diff: Doc/library/subprocess.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/struct.rst ('k') | Doc/library/sys.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/subprocess.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/library/subprocess.rst Mon Jul 25 09:47:18 2011 -0400
@@ -567,39 +567,38 @@
.. attribute:: dwFlags
- A bit field that determines whether certain :class:`STARTUPINFO`
- attributes are used when the process creates a window. ::
+ A bit field that determines whether certain :class:`STARTUPINFO` members
+ 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 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.
+ 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.
.. attribute:: hStdOutput
- 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
+ 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
buffer.
.. attribute:: hStdError
- If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute
- is the standard error handle for the process. Otherwise, this attribute is
+ If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this member is
+ the standard error handle for the process. Otherwise, this member is
ignored and the default for standard error is the console window's buffer.
.. attribute:: wShowWindow
- If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute
+ If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this member
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 attribute is
+ function, except for ``SW_SHOWDEFAULT``. Otherwise, this member is
ignored.
:data:`SW_HIDE` is provided for this attribute. It is used when
@@ -633,12 +632,12 @@
.. data:: STARTF_USESTDHANDLES
Specifies that the :attr:`STARTUPINFO.hStdInput`,
- :attr:`STARTUPINFO.hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes
+ :attr:`STARTUPINFO.hStdOutput`, and :attr:`STARTUPINFO.hStdError` members
contain additional information.
.. data:: STARTF_USESHOWWINDOW
- Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains
+ Specifies that the :attr:`STARTUPINFO.wShowWindow` member contains
additional information.
.. data:: CREATE_NEW_CONSOLE
« no previous file with comments | « Doc/library/struct.rst ('k') | Doc/library/sys.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+