fix some dead links

This commit is contained in:
SigureMo 2023-09-29 13:24:00 +08:00
parent 4b5ff05721
commit 25b2acb0eb
No known key found for this signature in database
GPG Key ID: F99A3CD7BD76B247
3 changed files with 4 additions and 4 deletions

View File

@ -177,7 +177,7 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h
### Packaging ### Packaging
- Relax `indexmap` optional depecency to allow `>= 1.6, < 2`. [#2849](https://github.com/PyO3/pyo3/pull/2849 - Relax `indexmap` optional depecency to allow `>= 1.6, < 2`. [#2849](https://github.com/PyO3/pyo3/pull/2849)
- Relax `hashbrown` optional dependency to allow `>= 0.9, < 0.14`. [#2875](https://github.com/PyO3/pyo3/pull/2875) - Relax `hashbrown` optional dependency to allow `>= 0.9, < 0.14`. [#2875](https://github.com/PyO3/pyo3/pull/2875)
- Update `memoffset` dependency to 0.8. [#2875](https://github.com/PyO3/pyo3/pull/2875) - Update `memoffset` dependency to 0.8. [#2875](https://github.com/PyO3/pyo3/pull/2875)

View File

@ -139,7 +139,7 @@ fn main() -> PyResult<()> {
### Want to run just an expression? Then use `eval`. ### Want to run just an expression? Then use `eval`.
[`Python::eval`]({{#PYO3_DOCS_URL}}/pyo3/struct.Python.html#method.eval) is [`Python::eval`]({{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#method.eval) is
a method to execute a [Python expression](https://docs.python.org/3.7/reference/expressions.html) a method to execute a [Python expression](https://docs.python.org/3.7/reference/expressions.html)
and return the evaluated value as a `&PyAny` object. and return the evaluated value as a `&PyAny` object.
@ -260,7 +260,7 @@ An import in Python will first attempt to lookup the module from this dict,
and if not present will use various strategies to attempt to locate and load and if not present will use various strategies to attempt to locate and load
the module. the module.
The [`append_to_inittab`]({{*PYO3_DOCS_URL}}/pyo3/macro.append_to_inittab.html) The [`append_to_inittab`]({{#PYO3_DOCS_URL}}/pyo3/macro.append_to_inittab.html)
macro can be used to add additional `#[pymodule]` modules to an embedded macro can be used to add additional `#[pymodule]` modules to an embedded
Python interpreter. The macro **must** be invoked _before_ initializing Python. Python interpreter. The macro **must** be invoked _before_ initializing Python.

View File

@ -295,7 +295,7 @@ usually defined using the `#[pyclass]` macro.
This trait marks structs that mirror native Python types, such as `PyList`. This trait marks structs that mirror native Python types, such as `PyList`.
[eval]: {{#PYO3_DOCS_URL}}/pyo3/struct.Python.html#method.eval [eval]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#method.eval
[clone_ref]: {{#PYO3_DOCS_URL}}/pyo3/struct.Py.html#method.clone_ref [clone_ref]: {{#PYO3_DOCS_URL}}/pyo3/struct.Py.html#method.clone_ref
[pyo3::types]: {{#PYO3_DOCS_URL}}/pyo3/types/index.html [pyo3::types]: {{#PYO3_DOCS_URL}}/pyo3/types/index.html
[PyAny]: {{#PYO3_DOCS_URL}}/pyo3/types/struct.PyAny.html [PyAny]: {{#PYO3_DOCS_URL}}/pyo3/types/struct.PyAny.html