[Python-checkins] bpo-32262: Fix f-string (#4787)
Yury Selivanov
webhook-mailer at python.org
Sun Dec 10 19:52:55 EST 2017
https://github.com/python/cpython/commit/19d0d5480931117d9e0bf396a0234707bbdaa494
commit: 19d0d5480931117d9e0bf396a0234707bbdaa494
branch: master
author: Yury Selivanov <yury at magic.io>
committer: GitHub <noreply at github.com>
date: 2017-12-10T19:52:53-05:00
summary:
bpo-32262: Fix f-string (#4787)
files:
M Lib/asyncio/base_events.py
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index 5cc7944f24a..9584d6355f8 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:
More information about the Python-checkins
mailing list