diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 5cc7944f24a2b3..9584d6355f89b2 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -631,7 +631,7 @@ def set_default_executor(self, executor): 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: