From 7013647d927f0dc514bc5d1267515b0310060526 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Mon, 25 Feb 2019 16:39:54 +0800 Subject: [PATCH] Don't recommend Python 2 Library Switch the Further Reading section to Python 3 link --- docs/writing/structure.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index 842a44dd4..b536b5941 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -675,7 +675,7 @@ by the ``with`` statement. CustomOpen is first instantiated and then its is finished executing, the ``__exit__`` method is then called. And now the generator approach using Python's own -`contextlib `_: +`contextlib `_: .. code-block:: python @@ -890,5 +890,5 @@ Runners Further Reading *************** -- http://docs.python.org/2/library/ +- http://docs.python.org/3/library/ - http://www.diveintopython.net/toc/index.html