Mention `into_py` in docs for PyTuple::new
I'm new to Rust / PyO3, and it took me a little bit to figure this out :-)
This commit is contained in:
parent
79f8cbd612
commit
95f041281f
|
@ -60,7 +60,7 @@ impl PyTuple {
|
|||
///
|
||||
/// If you want to create a [`PyTuple`] with elements of different or unknown types, or from an
|
||||
/// iterable that doesn't implement [`ExactSizeIterator`], create a Rust tuple with the given
|
||||
/// elements and convert it at once.
|
||||
/// elements and convert it at once using `into_py`.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue