We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a89e07 commit 27b5bbeCopy full SHA for 27b5bbe
uvloop/__init__.py
@@ -206,8 +206,7 @@ def get_event_loop(self) -> _AbstractEventLoop:
206
"""
207
if self._local._loop is None:
208
raise RuntimeError(
209
- 'There is no current event loop in thread %r.'
210
- % threading.current_thread().name
+ f'There is no current event loop in thread {threading.current_thread().name!r}.'
211
)
212
213
return self._local._loop
0 commit comments