Skip to content

Commit 7013647

Browse files
authored
Don't recommend Python 2 Library
Switch the Further Reading section to Python 3 link
1 parent dceab6e commit 7013647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/writing/structure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ by the ``with`` statement. CustomOpen is first instantiated and then its
675675
is finished executing, the ``__exit__`` method is then called.
676676

677677
And now the generator approach using Python's own
678-
`contextlib <https://docs.python.org/2/library/contextlib.html>`_:
678+
`contextlib <https://docs.python.org/3/library/contextlib.html>`_:
679679

680680
.. code-block:: python
681681
@@ -890,5 +890,5 @@ Runners
890890
Further Reading
891891
***************
892892

893-
- http://docs.python.org/2/library/
893+
- http://docs.python.org/3/library/
894894
- http://www.diveintopython.net/toc/index.html

0 commit comments

Comments
 (0)