Merge pull request #1222 from davidhewitt/tweak-migration-guide

migration guide: tiny typo fix
This commit is contained in:
David Hewitt 2020-10-10 18:13:18 +01:00 committed by GitHub
commit 1dcb3da351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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<()> {