• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{% extends "!layout.html" %}
2
3{% 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 %}
8    <a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %} Python documentation for the current stable release{% endtrans %}</a>.
9</div>
10{%- endif %}
11{% endblock %}
12
13{% block rootrellink %}
14{{ super() }}
15    <li id="cpython-language-and-version">
16      <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}
17    </li>
18{% endblock %}
19
20{% block extrahead %}
21    <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
22    {% if builder != "htmlhelp" %}
23      {% if pagename == 'whatsnew/changelog' and not embedded %}
24      <script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}
25    {% endif %}
26
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>
35{{ super() }}
36{% endblock %}
37