summaryrefslogtreecommitdiffstats
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-13 20:25:10 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-13 20:25:10 (GMT)
commita7c17e552df7bfdce3d1b493af38891cb59c2521 (patch)
tree93907a1ba6d7a77e54f0611b1a121158d93c7acc /Doc/library/contextlib.rst
parent3e30d471e912bf20cc07e9ddf2e1c79de47bf2ae (diff)
downloadcpython-a7c17e552df7bfdce3d1b493af38891cb59c2521.zip
cpython-a7c17e552df7bfdce3d1b493af38891cb59c2521.tar.gz
cpython-a7c17e552df7bfdce3d1b493af38891cb59c2521.tar.bz2
Fix spacing of toplevel items.
Diffstat (limited to 'Doc/library/contextlib.rst')
-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 cef5f1a..0359750 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.