Skip to content

Commit faa4ea6

Browse files
authored
Finalize #1530 (#1597)
1 parent d4731af commit faa4ea6

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

templates/python/documentation.html

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,18 @@ <h2 class="widget-title"><span aria-hidden="true" class="icon-versions"></span>P
7676
</div>
7777

7878
<div class="medium-widget last">
79-
<h2 class="widget-title"><span aria-hidden="true" class="icon-versions"></span>Python 2.x Resources</h2>
79+
<h2 class="widget-title"><span aria-hidden="true" class="icon-versions"></span>Porting from Python 2 to Python 3</h2>
8080
<ul>
81-
<li>
82-
{% if latest_python2 %}
83-
<a href="https://docs.python.org/2/">Browse Python {{ latest_python2.get_version }} Documentation</a>
84-
{% else %}
85-
<a href="https://docs.python.org/2/">Browse Current Documentation</a>
86-
{% endif %}
87-
- <a href="https://docs.python.org/2/py-modindex.html">(Module Index)</a>
88-
<ul>
89-
<li><a href="https://docs.python.org/2/whatsnew/2.7.html">What's new in Python 2.7</a></li>
90-
<li><a href="https://docs.python.org/2/tutorial/index.html">Tutorial</a></li>
91-
<li><a href="https://docs.python.org/2/library/index.html">Library Reference</a></li>
92-
<li><a href="https://docs.python.org/2/reference/index.html">Language Reference</a></li>
93-
<li><a href="https://docs.python.org/2/extending/index.html">Extending and Embedding</a></li>
94-
<li><a href="https://docs.python.org/2/c-api/index.html">Python/C API</a></li>
95-
<li><a href="https://docs.python.org/2/using/index.html">Using Python</a></li>
96-
<li><a href="https://docs.python.org/2/howto/index.html">Python HOWTOs</a></li>
97-
</ul>
98-
</li>
99-
<li><a href="https://docs.python.org/2/search.html">Search the online docs</a></li>
100-
<li><a href="https://docs.python.org/2/download.html">Download Current Documentation</a> (multiple formats are available, including typeset versions for printing.)</li>
81+
<li><a href="https://www.python.org/doc/sunset-python-2/">FAQ: Sunsetting Python 2</a></li>
82+
<li><a href="https://www.python.org/dev/peps/pep-0373/">Final Python 2.7 Release Schedule</a></li>
83+
<li><a href="https://python3statement.org/">Python 3 Statement</a></li>
84+
<li>
85+
<a href="https://docs.python.org/3/howto/pyporting.html">Porting Python 2 Code to Python 3</a>
86+
<ul>
87+
<li><a href="https://pypi.org/project/caniusepython3/"></a>Determine what projects are blocking you from porting to Python 3</li>
88+
<li><a href="https://wiki.python.org/moin/PythonConsulting/Python%202%20support%20and%20migration">Python 2 Support and Migration</a></li>
89+
</ul>
90+
</li>
10191
</ul>
10292
</div>
10393

0 commit comments

Comments
 (0)