Skip to content

Commit 3e697f6

Browse files
make error message same for both implementations
1 parent 5ae2e22 commit 3e697f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/asyncio/futures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def __init__(self, *, loop=None):
8080
the default event loop.
8181
"""
8282
if self._loop is not None:
83-
raise RuntimeError(f'{self.__class__.__name__} object is already '
84-
'initialized.')
83+
raise RuntimeError(f"{self.__class__.__name__} object is already "
84+
"initialized")
8585

8686
if loop is None:
8787
self._loop = events.get_event_loop()

0 commit comments

Comments
 (0)