From: Yury Selivanov Date: Mon, 11 Dec 2017 00:52:53 +0000 (-0500) Subject: bpo-32262: Fix f-string (#4787) X-Git-Tag: v3.7.0a4~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19d0d5480931117d9e0bf396a0234707bbdaa494;p=python bpo-32262: Fix f-string (#4787) --- diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 5cc7944f24..9584d6355f 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: