summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-13 22:25:10 +0200
committerGeorg Brandl <georg@python.org>2013-10-13 22:25:10 +0200
commita7c17e552df7bfdce3d1b493af38891cb59c2521 (patch)
tree93907a1ba6d7a77e54f0611b1a121158d93c7acc
parent3e30d471e912bf20cc07e9ddf2e1c79de47bf2ae (diff)
downloadcpython-git-a7c17e552df7bfdce3d1b493af38891cb59c2521.tar.gz
Fix spacing of toplevel items.
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 2 insertions, 0 deletions
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.