PyO3 / pyo3

Rust bindings for the Python interpreter
https://pyo3.rs
Other
11.44k stars 693 forks source link

docs: update docstring on `Python` for `Bound` API #4274

Closed davidhewitt closed 1 week ago

davidhewitt commented 1 week ago

Updates the docs on the Python type to remove mentions to &PyAny, and remove some dead links.

I also adjusted the "order of preference" to suggest .py() where possible instead of py: Python<'py> in function arguments.