Skip to content

Commit

Permalink
Merge #2779
Browse files Browse the repository at this point in the history
2779: Mention `into_py` in docs for PyTuple::new r=davidhewitt a=hauntsaninja

I'm new to Rust / PyO3, and it took me a little bit to figure this out :-)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
bors[bot] and hauntsaninja committed Nov 24, 2022
2 parents 79f8cbd + 95f0412 commit 56f11c2
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 56f11c2

Please sign in to comment.