Skip to content

Commit e9386d1

Browse files
Update links to the latest pyo3 version
1 parent 13b3894 commit e9386d1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

book/src/01_intro/04_arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Python objects into Rust types.
3535
## Available implementations
3636

3737
`pyo3` provides implementations of `FromPyObject` for a large number of types—e.g. `i32`, `f64`, `String`, `Vec`, etc.
38-
You can find an exhaustive list in [`pyo3`'s guide](https://pyo3.rs/v0.22.0/conversions/tables#argument-types),
38+
You can find an exhaustive list in [`pyo3`'s guide](https://pyo3.rs/v0.23.3/conversions/tables#argument-types),
3939
under the "Rust" table column.
4040

4141
## Conversion cost

book/src/01_intro/05_gil.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Global Interpreter Lock (GIL)
22

3-
If you go back to [`pyo3`'s documentation on arguments](https://pyo3.rs/v0.22.0/conversions/tables#argument-types),
3+
If you go back to [`pyo3`'s documentation on arguments](https://pyo3.rs/v0.23.3/conversions/tables#argument-types),
44
you'll find a table column listing so called "Python-native" types.
55
What are they, and why would you use them?
66

@@ -137,7 +137,7 @@ when we're interacting with the Python object during the conversion.
137137
- [`FromPyObject`](https://docs.rs/pyo3/0.23.3/pyo3/conversion/trait.FromPyObject.html)
138138
- [`Python<'py>`](https://docs.rs/pyo3/0.23.3/pyo3/marker/struct.Python.html)
139139
- [Global Interpreter Lock](https://docs.python.org/3/c-api/init.html#thread-state-and-the-global-interpreter-lock)
140-
- [Official guidance on Python-native vs Rust-native types](https://pyo3.rs/v0.22.0/conversions/tables#using-rust-library-types-vs-python-native-types)
140+
- [Official guidance on Python-native vs Rust-native types](https://pyo3.rs/v0.23.3/conversions/tables#using-rust-library-types-vs-python-native-types)
141141

142142
## Footnotes
143143

book/src/02_classes/02_methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can't annotate multiple `impl` blocks with `#[pymethods]` for the same class
4444
Rust's metaprogramming capabilities.\
4545
There is a way to work around this issue using some linker dark magic, via the
4646
`multiple-pymethods` feature flag, but it comes with a penalty in terms of compile times as well as limited cross-platform support.
47-
Check out [`pyo3`'s documentation](https://pyo3.rs/v0.22.1/class#implementation-details) for more details.
47+
Check out [`pyo3`'s documentation](https://pyo3.rs/v0.23.3/class#implementation-details) for more details.
4848

4949
## Footnotes
5050

book/src/02_classes/07_outro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
There's a **ton** of little details and options when it comes to writing Python classes in Rust.
44
We've covered the key concepts and most common use cases, but make sure to check out
5-
the [official `pyo3` documentation](https://pyo3.rs/v0.22.1/class) whenever you need more information about
5+
the [official `pyo3` documentation](https://pyo3.rs/v0.23.3/class) whenever you need more information about
66
a specific feature (e.g. how do I declare a class to be frozen? How do I make my class iterable?).
77

88
Let's take a moment to reflect on what we've learned so far with one last exercise.

0 commit comments

Comments
 (0)