From a7c17e552df7bfdce3d1b493af38891cb59c2521 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 13 Oct 2013 22:25:10 +0200 Subject: [PATCH] Fix spacing of toplevel items. --- Doc/library/contextlib.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst index cef5f1a83b..0359750ffe 100644 --- a/Doc/library/contextlib.rst +++ b/Doc/library/contextlib.rst @@ -94,6 +94,7 @@ Functions and classes provided: without needing to explicitly close ``page``. Even if an error occurs, ``page.close()`` will be called when the :keyword:`with` block is exited. + .. function:: ignore(*exceptions) Return a context manager that ignores the specified exceptions if they @@ -156,6 +157,7 @@ Functions and classes provided: .. versionadded:: 3.4 + .. class:: ContextDecorator() A base class that enables a context manager to also be used as a decorator. -- 2.40.0