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 f47b8f8 commit 8de1197Copy full SHA for 8de1197
src/lib.rs
@@ -264,7 +264,7 @@ fn asyncio_get_event_loop(py: Python) -> PyResult<&PyAny> {
264
pub fn get_running_loop(py: Python) -> PyResult<&PyAny> {
265
// Ideally should call get_running_loop, but calls get_event_loop for compatibility between
266
// versions.
267
- asyncio(py)?.call_method0("get_running_loop")
+ asyncio(py)?.call_method0("get_event_loop")
268
}
269
270
/// Get a reference to the Python event loop cached by `try_init` (0.13 behaviour)
0 commit comments