From 3b39a833fea33163f051c10bb20e009b20657cc4 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:08:47 -0400 Subject: [PATCH] Fix broken links in python-from-rust.md (#4564) These links are currently broken in the docs: https://pyo3.rs/v0.22.3/python-from-rust#the-py-lifetime I'm not particularly familiar with the docs setup for this repo, so this PR is my best-effort attempt at fixing the problem with a minimal fix in the spirit of the existing code. --- guide/src/python-from-rust.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/src/python-from-rust.md b/guide/src/python-from-rust.md index ee618f3fa47..ebb7fa1f4da 100644 --- a/guide/src/python-from-rust.md +++ b/guide/src/python-from-rust.md @@ -44,3 +44,7 @@ Because of the lack of exclusive `&mut` references, PyO3's APIs for Python objec [smart-pointers]: https://doc.rust-lang.org/book/ch15-00-smart-pointers.html [obtaining-py]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#obtaining-a-python-token [`pyo3::sync`]: {{#PYO3_DOCS_URL}}/pyo3/sync/index.html +[eval]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#method.eval +[import]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#method.import_bound +[clone_ref]: {{#PYO3_DOCS_URL}}/pyo3/prelude/struct.Py.html#method.clone_ref +[Bound]: {{#PYO3_DOCS_URL}}/pyo3/struct.Bound.html