From 0abac7520e060f479dbf84c0336b0dff23a14c9c Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 11 Jan 2024 13:59:00 -0300 Subject: [PATCH] Fix formatting in wrappers docs Noticed that part of the text is not being formatted correctly in readthedocs. --- docs/index.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 5bc90b79..42fb8f49 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -416,9 +416,11 @@ of the hook thus far, or, if the previous calls raised an exception, it is :py:meth:`thrown ` 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.