Deprecate contextlib.nested(). The with-statement now provides this functionality directly.
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index d6ce9a7..7403a35 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -80,6 +80,8 @@
:meth:`__exit__` methods should avoid raising exceptions, and in particular they
should not re-raise a passed-in exception.
+ .. deprecated:: 3.1
+ The with-statement now supports this functionality directly.
.. function:: closing(thing)