summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_subprocess.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2018-05-20 17:57:13 (GMT)
committerGitHub <noreply@github.com>2018-05-20 17:57:13 (GMT)
commitd361e99868a9eaa7ffce9341e1207705dbb66b50 (patch)
treedc7ea2ef6b86513cd9d2b63e6a4f2bd1af06d803 /Lib/asyncio/base_subprocess.py
parent89a25ce4fdb9c2a1a59d8cbfc498a2614b98e9ae (diff)
downloadcpython-d361e99868a9eaa7ffce9341e1207705dbb66b50.zip
cpython-d361e99868a9eaa7ffce9341e1207705dbb66b50.tar.gz
cpython-d361e99868a9eaa7ffce9341e1207705dbb66b50.tar.bz2
bpo-32262: Fix typo in f-string (GH-7016)
Fix typo from commit 6370f345e1d5829e1fba59cd695c8b82c5a8c620 Signed-off-by: Christian Heimes <christian@python.org> <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. # Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. # Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. --> <!-- issue-number: bpo-32262 --> https://bugs.python.org/issue32262 <!-- /issue-number -->
Diffstat (limited to 'Lib/asyncio/base_subprocess.py')
-rw-r--r--Lib/asyncio/base_subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py
index 7c17066..b547c44 100644
--- a/Lib/asyncio/base_subprocess.py
+++ b/Lib/asyncio/base_subprocess.py
@@ -57,7 +57,7 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
if self._closed:
info.append('closed')
if self._pid is not None:
- info.append(f'pid={self.pid}')
+ info.append(f'pid={self._pid}')
if self._returncode is not None:
info.append(f'returncode={self._returncode}')
elif self._pid is not None: