Skip to content

Commit

Permalink
Fix formatting in wrappers docs
Browse files Browse the repository at this point in the history
Noticed that part of the text is not being formatted correctly in readthedocs.
  • Loading branch information
nicoddemus committed Jan 11, 2024
1 parent 29912d7 commit 0abac75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,11 @@ of the hook thus far, or, if the previous calls raised an exception, it is
:py:meth:`thrown <python:generator.throw>` the exception.

The function should do one of two things:
- Return a value, which can be the same value as received from the ``yield``, or
something else entirely.

- Return a value, which can be the same value as received from the ``yield``, or something else entirely.

- Raise an exception.

The return value or exception propagate to further hook wrappers, and finally
to the hook caller.

Expand Down

0 comments on commit 0abac75

Please sign in to comment.