blob: 98ccf4224804b299467414c217837f1551beb110 [file] [log] [blame]
Georg Brandle7570052008-05-03 20:52:18 +00001{% extends "!layout.html" %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -08002
Julien Palard46ed90d2019-05-29 18:34:04 +02003{% block header %}
4{%- if outdated %}
5<div id="outdated-warning" style="padding: .5em; text-align: center; background-color: #FFBABA; color: #6A0E0E;">
6 {% trans %}This document is for an old version of Python that is no longer supported.
7 You should upgrade, and read the {% endtrans %}
Julien Palard55295152019-06-16 10:25:05 +02008 <a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %} Python documentation for the current stable release{% endtrans %}</a>.
Julien Palard46ed90d2019-05-29 18:34:04 +02009</div>
10{%- endif %}
11{% endblock %}
12
Georg Brandle7570052008-05-03 20:52:18 +000013{% block rootrellink %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -080014{{ super() }}
Julien Palardee2549c2020-11-07 12:28:31 +010015 <li id="cpython-language-and-version">
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -080016 <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}
Zachary Warea3090a42016-09-09 13:11:27 -070017 </li>
Zachary Warea3090a42016-09-09 13:11:27 -070018{% endblock %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -080019
Georg Brandlaf265f42008-12-07 15:06:20 +000020{% block extrahead %}
Nick Coghlane6624452017-02-09 16:03:59 +010021 <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
Steve Dowerfb4a96a2016-09-22 17:07:56 -070022 {% if builder != "htmlhelp" %}
Jon Wayne Parrottbf63e8d2018-03-01 13:02:50 -080023 {% if pagename == 'whatsnew/changelog' and not embedded %}
24 <script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}
Steve Dowerfb4a96a2016-09-22 17:07:56 -070025 {% endif %}
Yury Selivanov394374e2018-09-17 15:35:24 -040026
27 {# custom CSS; used in asyncio docs! #}
28 <style>
29 @media only screen {{ "{" }}
30 table.full-width-table {{ "{" }}
31 width: 100%;
32 {{ "}" }}
33 {{ "}" }}
34 </style>
Georg Brandlaf265f42008-12-07 15:06:20 +000035{{ super() }}
Georg Brandle7570052008-05-03 20:52:18 +000036{% endblock %}