Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bece495

Browse filesBrowse files
authored
Merge pull request realpython#985 from XVilka/patch-1
Before, links went to the 2.7 documentation. Now, links go to the 3.x documentation.
2 parents dceab6e + 7013647 commit bece495
Copy full SHA for bece495

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎docs/writing/structure.rst

Copy file name to clipboardExpand all lines: docs/writing/structure.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.