Don't recommend Python 2 Library

Switch the Further Reading section to Python 3 link
This commit is contained in:
Anton Kochkov
2019-02-25 16:39:54 +08:00
committed by GitHub
parent dceab6e6f1
commit 7013647d92
+2 -2
View File
@@ -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 <https://docs.python.org/2/library/contextlib.html>`_:
`contextlib <https://docs.python.org/3/library/contextlib.html>`_:
.. 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