summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-09 01:51:40 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-09 01:51:40 (GMT)
commit0c3949c963c9f39095f85c5ec24d0f958e915ae9 (patch)
treea16ce129bb19d0494e3941f2bb02c6deaab7ec50 /Doc
parent313f829ce8f7160ea25bfd6f14ea0ac37264e0ae (diff)
downloadcpython-0c3949c963c9f39095f85c5ec24d0f958e915ae9.zip
cpython-0c3949c963c9f39095f85c5ec24d0f958e915ae9.tar.gz
cpython-0c3949c963c9f39095f85c5ec24d0f958e915ae9.tar.bz2
asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
Process and Popen objects
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-subprocess.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/library/asyncio-subprocess.rst b/Doc/library/asyncio-subprocess.rst
index a2c46dc..5e6e657 100644
--- a/Doc/library/asyncio-subprocess.rst
+++ b/Doc/library/asyncio-subprocess.rst
@@ -87,10 +87,6 @@ Process
Standard error stream (read), ``None`` if the process was created with
``stderr=None``.
- .. attribute:: subprocess
-
- Underlying :class:`subprocess.Popen` object.
-
.. method:: communicate(input=None)
Interact with process: Send data to stdin. Read data from stdout and
@@ -102,7 +98,7 @@ Process
:meth:`communicate` returns a tuple ``(stdoutdata, stderrdata)``.
Note that if you want to send data to the process's stdin, you need to
- create the Popen object with ``stdin=PIPE``. Similarly, to get anything
+ create the Process object with ``stdin=PIPE``. Similarly, to get anything
other than ``None`` in the result tuple, you need to give ``stdout=PIPE``
and/or ``stderr=PIPE`` too.