Skip to content

Commit 967408e

Browse files
committed
Change base class for _SendfileNotAvailable to RuntimeError
1 parent 44da800 commit 967408e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/asyncio/base_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _run_until_complete_cb(fut):
154154
futures._get_loop(fut).stop()
155155

156156

157-
class _SendfileNotAvailable(Exception):
157+
class _SendfileNotAvailable(RuntimeError):
158158
pass
159159

160160

0 commit comments

Comments
 (0)