Skip to content

Commit

Permalink
Mention into_py in docs for PyTuple::new
Browse files Browse the repository at this point in the history
I'm new to Rust / PyO3, and it took me a little bit to figure this out :-)
  • Loading branch information
hauntsaninja authored Nov 24, 2022
1 parent 79f8cbd commit 95f0412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/tuple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 95f0412

Please sign in to comment.