bpo-32262: Fix f-string (#4787)
authorYury Selivanov <yury@magic.io>
Mon, 11 Dec 2017 00:52:53 +0000 (19:52 -0500)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2017 00:52:53 +0000 (19:52 -0500)
Lib/asyncio/base_events.py

index 5cc7944f24a2b3b169a5297cad059e00bfb3f00e..9584d6355f89b280c3f8ef2350de3fc28a8c6a7b 100644 (file)
@@ -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: