migration guide: tiny typo fix
This commit is contained in:
parent
cb90c5171d
commit
23d9d259a7
|
@ -64,7 +64,7 @@ let err: PyErr = TypeError::py_err("error message");
|
|||
|
||||
After:
|
||||
|
||||
```
|
||||
```rust
|
||||
# use pyo3::{PyErr, PyResult, Python, type_object::PyTypeObject};
|
||||
# use pyo3::exceptions::{PyBaseException, PyTypeError};
|
||||
# Python::with_gil(|py| -> PyResult<()> {
|
||||
|
|
Loading…
Reference in a new issue