bpo-32262: Fix f-string (#4787)

This commit is contained in:
Yury Selivanov 2017-12-10 19:52:53 -05:00 committed by GitHub
parent 6370f345e1
commit 19d0d54809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ class BaseEventLoop(events.AbstractEventLoop):
def _getaddrinfo_debug(self, host, port, family, type, proto, flags): def _getaddrinfo_debug(self, host, port, family, type, proto, flags):
msg = [f"{host}:{port!r}"] msg = [f"{host}:{port!r}"]
if family: if family:
msg.append(f'family={family!r}' % family) msg.append(f'family={family!r}')
if type: if type:
msg.append(f'type={type!r}') msg.append(f'type={type!r}')
if proto: if proto: