Skip to content

Commit

Permalink
suggestions from review
Browse files Browse the repository at this point in the history
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
  • Loading branch information
birkenfeld and davidhewitt authored Mar 13, 2020
1 parent c84882b commit 9edf566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/exception.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn main() {
}
```

From `pyfunction`s and `pyclass` methods, returning a `Err(PyErr)` is enough;
From `pyfunction`s and `pyclass` methods, returning an `Err(PyErr)` is enough;
PyO3 will handle restoring the exception on the Python interpreter side.

If you already have a Python exception instance, you can simply call
Expand Down

0 comments on commit 9edf566

Please sign in to comment.