Merge pull request #985 from XVilka/patch-1

Before, links went to the 2.7 documentation.
Now, links go to the 3.x documentation.
This commit is contained in:
Marc Poulin
2019-02-25 07:55:28 -07:00
committed by GitHub
+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