summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2017-12-11 00:52:53 (GMT)
committerGitHub <noreply@github.com>2017-12-11 00:52:53 (GMT)
commit19d0d5480931117d9e0bf396a0234707bbdaa494 (patch)
treeaf0535e36fcff2fe3cdefd2ce16a447ee9a02083 /Lib/asyncio
parent6370f345e1d5829e1fba59cd695c8b82c5a8c620 (diff)
downloadcpython-19d0d5480931117d9e0bf396a0234707bbdaa494.zip
cpython-19d0d5480931117d9e0bf396a0234707bbdaa494.tar.gz
cpython-19d0d5480931117d9e0bf396a0234707bbdaa494.tar.bz2
bpo-32262: Fix f-string (#4787)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index 5cc7944..9584d63 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -631,7 +631,7 @@ class BaseEventLoop(events.AbstractEventLoop):
def _getaddrinfo_debug(self, host, port, family, type, proto, flags):
msg = [f"{host}:{port!r}"]
if family:
- msg.append(f'family={family!r}' % family)
+ msg.append(f'family={family!r}')
if type:
msg.append(f'type={type!r}')
if proto: