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:
Shantanu 2022-11-23 16:34:59 -08:00 committed by GitHub
parent 79f8cbd612
commit 95f041281f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
///