mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 06:46:17 +00:00
Don't recommend Python 2 Library
Switch the Further Reading section to Python 3 link
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user