@@ -210,7 +210,7 @@ where
210
210
/// Ok(())
211
211
/// })
212
212
/// .map_err(|e| {
213
- /// e.print_and_set_sys_last_vars(py);
213
+ /// e.print_and_set_sys_last_vars(py);
214
214
/// })
215
215
/// .unwrap();
216
216
/// })
@@ -497,7 +497,7 @@ where
497
497
/// )
498
498
/// })?
499
499
/// .await?;
500
- /// Ok(())
500
+ /// Ok(())
501
501
/// }
502
502
/// ```
503
503
pub fn into_future ( awaitable : & PyAny ) -> PyResult < impl Future < Output = PyResult < PyObject > > + Send > {
@@ -524,7 +524,7 @@ pub fn into_future(awaitable: &PyAny) -> PyResult<impl Future<Output = PyResult<
524
524
/// async def gen():
525
525
/// for i in range(10):
526
526
/// await asyncio.sleep(0.1)
527
- /// yield i
527
+ /// yield i
528
528
/// "#;
529
529
///
530
530
/// # #[cfg(all(feature = "unstable-streams", feature = "attributes"))]
@@ -537,7 +537,7 @@ pub fn into_future(awaitable: &PyAny) -> PyResult<impl Future<Output = PyResult<
537
537
/// "test_rust_coroutine/test_mod.py",
538
538
/// "test_mod",
539
539
/// )?;
540
- ///
540
+ ///
541
541
/// pyo3_asyncio::async_std::into_stream_v1(test_mod.call_method0("gen")?)
542
542
/// })?;
543
543
///
@@ -581,7 +581,7 @@ pub fn into_stream_v1<'p>(
581
581
/// async def gen():
582
582
/// for i in range(10):
583
583
/// await asyncio.sleep(0.1)
584
- /// yield i
584
+ /// yield i
585
585
/// "#;
586
586
///
587
587
/// # #[cfg(all(feature = "unstable-streams", feature = "attributes"))]
@@ -594,7 +594,7 @@ pub fn into_stream_v1<'p>(
594
594
/// "test_rust_coroutine/test_mod.py",
595
595
/// "test_mod",
596
596
/// )?;
597
- ///
597
+ ///
598
598
/// pyo3_asyncio::async_std::into_stream_with_locals_v1(
599
599
/// pyo3_asyncio::async_std::get_current_locals(py)?,
600
600
/// test_mod.call_method0("gen")?
@@ -642,7 +642,7 @@ pub fn into_stream_with_locals_v1<'p>(
642
642
/// async def gen():
643
643
/// for i in range(10):
644
644
/// await asyncio.sleep(0.1)
645
- /// yield i
645
+ /// yield i
646
646
/// "#;
647
647
///
648
648
/// # #[cfg(all(feature = "unstable-streams", feature = "attributes"))]
@@ -655,7 +655,7 @@ pub fn into_stream_with_locals_v1<'p>(
655
655
/// "test_rust_coroutine/test_mod.py",
656
656
/// "test_mod",
657
657
/// )?;
658
- ///
658
+ ///
659
659
/// pyo3_asyncio::async_std::into_stream_with_locals_v2(
660
660
/// pyo3_asyncio::async_std::get_current_locals(py)?,
661
661
/// test_mod.call_method0("gen")?
@@ -702,7 +702,7 @@ pub fn into_stream_with_locals_v2<'p>(
702
702
/// async def gen():
703
703
/// for i in range(10):
704
704
/// await asyncio.sleep(0.1)
705
- /// yield i
705
+ /// yield i
706
706
/// "#;
707
707
///
708
708
/// # #[cfg(all(feature = "unstable-streams", feature = "attributes"))]
@@ -715,7 +715,7 @@ pub fn into_stream_with_locals_v2<'p>(
715
715
/// "test_rust_coroutine/test_mod.py",
716
716
/// "test_mod",
717
717
/// )?;
718
- ///
718
+ ///
719
719
/// pyo3_asyncio::async_std::into_stream_v2(test_mod.call_method0("gen")?)
720
720
/// })?;
721
721
///
0 commit comments