Team Ai
Apppublic

parthtamu/rag-code-assistant

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
asyncio-platforms.html450 linesDownload Raw Back to docs
1<!DOCTYPE html>2 3<html lang="en" data-content_root="../">4  <head>5    <meta charset="utf-8" />6    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />7<meta property="og:title" content="Platform Support" />8<meta property="og:type" content="website" />9<meta property="og:url" content="https://docs.python.org/3/library/asyncio-platforms.html" />10<meta property="og:site_name" content="Python documentation" />11<meta property="og:description" content="The asyncio module is designed to be portable, but some platforms have subtle differences and limitations due to the platforms’ underlying architecture and capabilities. All Platforms: loop.add_rea..." />12<meta property="og:image:width" content="1146" />13<meta property="og:image:height" content="600" />14<meta property="og:image" content="https://docs.python.org/3.15/_images/social_previews/summary_library_asyncio-platforms_08ee0fd4.png" />15<meta property="og:image:alt" content="The asyncio module is designed to be portable, but some platforms have subtle differences and limitations due to the platforms’ underlying architecture and capabilities. All Platforms: loop.add_rea..." />16<meta name="description" content="The asyncio module is designed to be portable, but some platforms have subtle differences and limitations due to the platforms’ underlying architecture and capabilities. All Platforms: loop.add_rea..." />17<meta name="twitter:card" content="summary_large_image" />18<meta name="theme-color" content="#3776ab">19 20    <title>Platform Support &#8212; Python 3.15.0a6 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">21    22    <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />23    <link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />24    <link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=89a2f22a" />25    <link rel="stylesheet" type="text/css" href="../_static/profiling-sampling-visualization.css?v=0c2600ae" />26    <link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />27    28    <script src="../_static/documentation_options.js?v=6b7c9ff5"></script>29    <script src="../_static/doctools.js?v=9bcbadda"></script>30    <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>31    <script src="../_static/profiling-sampling-visualization.js?v=9811ed04"></script>32    33    <script src="../_static/sidebar.js"></script>34    35    <link rel="search" type="application/opensearchdescription+xml"36          title="Search within Python 3.15.0a6 documentation"37          href="../_static/opensearch.xml"/>38    <link rel="author" title="About these documents" href="../about.html" />39    <link rel="index" title="Index" href="../genindex.html" />40    <link rel="search" title="Search" href="../search.html" />41    <link rel="copyright" title="Copyright" href="../copyright.html" />42    <link rel="next" title="Extending" href="asyncio-extending.html" />43    <link rel="prev" title="Policies" href="asyncio-policy.html" />44    45      46      <script defer file-types="bz2,epub,zip" data-domain="docs.python.org" src="https://analytics.python.org/js/script.file-downloads.outbound-links.js"></script>47      48      <link rel="canonical" href="https://docs.python.org/3/library/asyncio-platforms.html">49      50    51 52    53    <style>54      @media only screen {55        table.full-width-table {56            width: 100%;57        }58      }59    </style>60<link rel="stylesheet" href="../_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">61    <link rel="shortcut icon" type="image/png" href="../_static/py.svg">62            <script type="text/javascript" src="../_static/copybutton.js"></script>63            <script type="text/javascript" src="../_static/menu.js"></script>64            <script type="text/javascript" src="../_static/search-focus.js"></script>65            <script type="text/javascript" src="../_static/themetoggle.js"></script> 66            <script type="text/javascript" src="../_static/rtd_switcher.js"></script>67            <meta name="readthedocs-addons-api-version" content="1">68 69  </head>70<body>71<div class="mobile-nav">72    <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"73           aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu">74    <nav class="nav-content" role="navigation">75        <label for="menuToggler" class="toggler__label">76            <span></span>77        </label>78        <span class="nav-items-wrapper">79            <a href="https://www.python.org/" class="nav-logo">80                <img src="../_static/py.svg" alt="Python logo">81            </a>82            <span class="version_switcher_placeholder"></span>83            <form role="search" class="search" action="../search.html" method="get">84                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">85                    <path fill-rule="nonzero" fill="currentColor" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>86                </svg>87                <input placeholder="Quick search" aria-label="Quick search" type="search" name="q">88                <input type="submit" value="Go">89            </form>90        </span>91    </nav>92    <div class="menu-wrapper">93        <nav class="menu" role="navigation" aria-label="main navigation">94            <div class="language_switcher_placeholder"></div>95            96<label class="theme-selector-label">97    Theme98    <select class="theme-selector" oninput="activateTheme(this.value)">99        <option value="auto" selected>Auto</option>100        <option value="light">Light</option>101        <option value="dark">Dark</option>102    </select>103</label>104  <div>105    <h3><a href="../contents.html">Table of Contents</a></h3>106    <ul>107<li><a class="reference internal" href="#">Platform Support</a><ul>108<li><a class="reference internal" href="#all-platforms">All Platforms</a></li>109<li><a class="reference internal" href="#windows">Windows</a><ul>110<li><a class="reference internal" href="#subprocess-support-on-windows">Subprocess Support on Windows</a></li>111</ul>112</li>113<li><a class="reference internal" href="#macos">macOS</a></li>114</ul>115</li>116</ul>117 118  </div>119  <div>120    <h4>Previous topic</h4>121    <p class="topless"><a href="asyncio-policy.html"122                          title="previous chapter">Policies</a></p>123  </div>124  <div>125    <h4>Next topic</h4>126    <p class="topless"><a href="asyncio-extending.html"127                          title="next chapter">Extending</a></p>128  </div>129  <script>130    document.addEventListener('DOMContentLoaded', () => {131        const title = document.querySelector('meta[property="og:title"]').content;132        const elements = document.querySelectorAll('.improvepage');133        const pageurl = window.location.href.split('?')[0];134        elements.forEach(element => {135            const url = new URL(element.href.split('?')[0].replace("-nojs", ""));136            url.searchParams.set('pagetitle', title);137            url.searchParams.set('pageurl', pageurl);138            url.searchParams.set('pagesource', "library/asyncio-platforms.rst");139            element.href = url.toString();140        });141    });142  </script>143  <div role="note" aria-label="source link">144    <h3>This page</h3>145    <ul class="this-page-menu">146      <li><a href="../bugs.html">Report a bug</a></li>147      <li><a class="improvepage" href="../improve-page-nojs.html">Improve this page</a></li>148      <li>149        <a href="https://github.com/python/cpython/blob/main/Doc/library/asyncio-platforms.rst?plain=1"150            rel="nofollow">Show source151        </a>152      </li>153      154    </ul>155  </div>156        </nav>157    </div>158</div>159 160  161    <div class="related" role="navigation" aria-label="Related">162      <h3>Navigation</h3>163      <ul>164        <li class="right" style="margin-right: 10px">165          <a href="../genindex.html" title="General Index"166             accesskey="I">index</a></li>167        <li class="right" >168          <a href="../py-modindex.html" title="Python Module Index"169             >modules</a> |</li>170        <li class="right" >171          <a href="asyncio-extending.html" title="Extending"172             accesskey="N">next</a> |</li>173        <li class="right" >174          <a href="asyncio-policy.html" title="Policies"175             accesskey="P">previous</a> |</li>176 177          <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>178          <li><a href="https://www.python.org/">Python</a> &#187;</li>179          <li class="switchers">180            <div class="language_switcher_placeholder"></div>181            <div class="version_switcher_placeholder"></div>182          </li>183          <li>184              185          </li>186    <li id="cpython-language-and-version">187      <a href="../index.html">3.15.0a6 Documentation</a> &#187;188    </li>189 190          <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>191          <li class="nav-item nav-item-2"><a href="ipc.html" >Networking and Interprocess Communication</a> &#187;</li>192          <li class="nav-item nav-item-3"><a href="asyncio.html" accesskey="U"><code class="xref py py-mod docutils literal notranslate"><span class="pre">asyncio</span></code> — Asynchronous I/O</a> &#187;</li>193        <li class="nav-item nav-item-this"><a href="">Platform Support</a></li>194                <li class="right">195                    196 197    <div class="inline-search" role="search">198        <form class="inline-search" action="../search.html" method="get">199          <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box">200          <input type="submit" value="Go">201        </form>202    </div>203                     |204                </li>205            <li class="right">206<label class="theme-selector-label">207    Theme208    <select class="theme-selector" oninput="activateTheme(this.value)">209        <option value="auto" selected>Auto</option>210        <option value="light">Light</option>211        <option value="dark">Dark</option>212    </select>213</label> |</li>214            215      </ul>216    </div>    217 218    <div class="document">219      <div class="documentwrapper">220        <div class="bodywrapper">221          <div class="body" role="main">222            223  <section id="platform-support">224<span id="asyncio-platform-support"></span><h1>Platform Support<a class="headerlink" href="#platform-support" title="Link to this heading">¶</a></h1>225<p>The <a class="reference internal" href="asyncio.html#module-asyncio" title="asyncio: Asynchronous I/O."><code class="xref py py-mod docutils literal notranslate"><span class="pre">asyncio</span></code></a> module is designed to be portable,226but some platforms have subtle differences and limitations227due to the platforms’ underlying architecture and capabilities.</p>228<section id="all-platforms">229<h2>All Platforms<a class="headerlink" href="#all-platforms" title="Link to this heading">¶</a></h2>230<ul class="simple">231<li><p><a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_reader" title="asyncio.loop.add_reader"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_reader()</span></code></a> and <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_writer" title="asyncio.loop.add_writer"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_writer()</span></code></a>232cannot be used to monitor file I/O.</p></li>233</ul>234</section>235<section id="windows">236<h2>Windows<a class="headerlink" href="#windows" title="Link to this heading">¶</a></h2>237<p><strong>Source code:</strong> <a class="extlink-source reference external" href="https://github.com/python/cpython/tree/main/Lib/asyncio/proactor_events.py">Lib/asyncio/proactor_events.py</a>,238<a class="extlink-source reference external" href="https://github.com/python/cpython/tree/main/Lib/asyncio/windows_events.py">Lib/asyncio/windows_events.py</a>,239<a class="extlink-source reference external" href="https://github.com/python/cpython/tree/main/Lib/asyncio/windows_utils.py">Lib/asyncio/windows_utils.py</a></p>240<hr class="docutils" />241<div class="versionchanged">242<p><span class="versionmodified changed">Changed in version 3.8: </span>On Windows, <a class="reference internal" href="asyncio-eventloop.html#asyncio.ProactorEventLoop" title="asyncio.ProactorEventLoop"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProactorEventLoop</span></code></a> is now the default event loop.</p>243</div>244<p>All event loops on Windows do not support the following methods:</p>245<ul class="simple">246<li><p><a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.create_unix_connection" title="asyncio.loop.create_unix_connection"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.create_unix_connection()</span></code></a> and247<a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.create_unix_server" title="asyncio.loop.create_unix_server"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.create_unix_server()</span></code></a> are not supported.248The <a class="reference internal" href="socket.html#socket.AF_UNIX" title="socket.AF_UNIX"><code class="xref py py-const docutils literal notranslate"><span class="pre">socket.AF_UNIX</span></code></a> socket family is specific to Unix.</p></li>249<li><p><a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_signal_handler" title="asyncio.loop.add_signal_handler"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_signal_handler()</span></code></a> and250<a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.remove_signal_handler" title="asyncio.loop.remove_signal_handler"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.remove_signal_handler()</span></code></a> are not supported.</p></li>251</ul>252<p><a class="reference internal" href="asyncio-eventloop.html#asyncio.SelectorEventLoop" title="asyncio.SelectorEventLoop"><code class="xref py py-class docutils literal notranslate"><span class="pre">SelectorEventLoop</span></code></a> has the following limitations:</p>253<ul class="simple">254<li><p><a class="reference internal" href="selectors.html#selectors.SelectSelector" title="selectors.SelectSelector"><code class="xref py py-class docutils literal notranslate"><span class="pre">SelectSelector</span></code></a> is used to wait on socket events:255it supports sockets and is limited to 512 sockets.</p></li>256<li><p><a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_reader" title="asyncio.loop.add_reader"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_reader()</span></code></a> and <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_writer" title="asyncio.loop.add_writer"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_writer()</span></code></a> only accept257socket handles (e.g. pipe file descriptors are not supported).</p></li>258<li><p>Pipes are not supported, so the <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.connect_read_pipe" title="asyncio.loop.connect_read_pipe"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.connect_read_pipe()</span></code></a>259and <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.connect_write_pipe" title="asyncio.loop.connect_write_pipe"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.connect_write_pipe()</span></code></a> methods are not implemented.</p></li>260<li><p><a class="reference internal" href="asyncio-subprocess.html#asyncio-subprocess"><span class="std std-ref">Subprocesses</span></a> are not supported, i.e.261<a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.subprocess_exec" title="asyncio.loop.subprocess_exec"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.subprocess_exec()</span></code></a> and <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.subprocess_shell" title="asyncio.loop.subprocess_shell"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.subprocess_shell()</span></code></a>262methods are not implemented.</p></li>263</ul>264<p><a class="reference internal" href="asyncio-eventloop.html#asyncio.ProactorEventLoop" title="asyncio.ProactorEventLoop"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProactorEventLoop</span></code></a> has the following limitations:</p>265<ul class="simple">266<li><p>The <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_reader" title="asyncio.loop.add_reader"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_reader()</span></code></a> and <a class="reference internal" href="asyncio-eventloop.html#asyncio.loop.add_writer" title="asyncio.loop.add_writer"><code class="xref py py-meth docutils literal notranslate"><span class="pre">loop.add_writer()</span></code></a>267methods are not supported.</p></li>268</ul>269<p>The resolution of the monotonic clock on Windows is usually around 15.6270milliseconds.  The best resolution is 0.5 milliseconds. The resolution depends on the271hardware (availability of <a class="reference external" href="https://en.wikipedia.org/wiki/High_Precision_Event_Timer">HPET</a>) and on the272Windows configuration.</p>273<section id="subprocess-support-on-windows">274<span id="asyncio-windows-subprocess"></span><h3>Subprocess Support on Windows<a class="headerlink" href="#subprocess-support-on-windows" title="Link to this heading">¶</a></h3>275<p>On Windows, the default event loop <a class="reference internal" href="asyncio-eventloop.html#asyncio.ProactorEventLoop" title="asyncio.ProactorEventLoop"><code class="xref py py-class docutils literal notranslate"><span class="pre">ProactorEventLoop</span></code></a> supports276subprocesses, whereas <a class="reference internal" href="asyncio-eventloop.html#asyncio.SelectorEventLoop" title="asyncio.SelectorEventLoop"><code class="xref py py-class docutils literal notranslate"><span class="pre">SelectorEventLoop</span></code></a> does not.</p>277</section>278</section>279<section id="macos">280<h2>macOS<a class="headerlink" href="#macos" title="Link to this heading">¶</a></h2>281<p>Modern macOS versions are fully supported.</p>282<p class="rubric">macOS &lt;= 10.8</p>283<p>On macOS 10.6, 10.7 and 10.8, the default event loop284uses <a class="reference internal" href="selectors.html#selectors.KqueueSelector" title="selectors.KqueueSelector"><code class="xref py py-class docutils literal notranslate"><span class="pre">selectors.KqueueSelector</span></code></a>, which does not support285character devices on these versions.  The <a class="reference internal" href="asyncio-eventloop.html#asyncio.SelectorEventLoop" title="asyncio.SelectorEventLoop"><code class="xref py py-class docutils literal notranslate"><span class="pre">SelectorEventLoop</span></code></a>286can be manually configured to use <a class="reference internal" href="selectors.html#selectors.SelectSelector" title="selectors.SelectSelector"><code class="xref py py-class docutils literal notranslate"><span class="pre">SelectSelector</span></code></a>287or <a class="reference internal" href="selectors.html#selectors.PollSelector" title="selectors.PollSelector"><code class="xref py py-class docutils literal notranslate"><span class="pre">PollSelector</span></code></a> to support character devices on288these older versions of macOS.  Example:</p>289<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">asyncio</span>290<span class="kn">import</span><span class="w"> </span><span class="nn">selectors</span>291 292<span class="n">selector</span> <span class="o">=</span> <span class="n">selectors</span><span class="o">.</span><span class="n">SelectSelector</span><span class="p">()</span>293<span class="n">loop</span> <span class="o">=</span> <span class="n">asyncio</span><span class="o">.</span><span class="n">SelectorEventLoop</span><span class="p">(</span><span class="n">selector</span><span class="p">)</span>294<span class="n">asyncio</span><span class="o">.</span><span class="n">set_event_loop</span><span class="p">(</span><span class="n">loop</span><span class="p">)</span>295</pre></div>296</div>297</section>298</section>299 300 301            <div class="clearer"></div>302          </div>303        </div>304      </div>305      <div class="sphinxsidebar" role="navigation" aria-label="Main">306        <div class="sphinxsidebarwrapper">307  <div>308    <h3><a href="../contents.html">Table of Contents</a></h3>309    <ul>310<li><a class="reference internal" href="#">Platform Support</a><ul>311<li><a class="reference internal" href="#all-platforms">All Platforms</a></li>312<li><a class="reference internal" href="#windows">Windows</a><ul>313<li><a class="reference internal" href="#subprocess-support-on-windows">Subprocess Support on Windows</a></li>314</ul>315</li>316<li><a class="reference internal" href="#macos">macOS</a></li>317</ul>318</li>319</ul>320 321  </div>322  <div>323    <h4>Previous topic</h4>324    <p class="topless"><a href="asyncio-policy.html"325                          title="previous chapter">Policies</a></p>326  </div>327  <div>328    <h4>Next topic</h4>329    <p class="topless"><a href="asyncio-extending.html"330                          title="next chapter">Extending</a></p>331  </div>332  <script>333    document.addEventListener('DOMContentLoaded', () => {334        const title = document.querySelector('meta[property="og:title"]').content;335        const elements = document.querySelectorAll('.improvepage');336        const pageurl = window.location.href.split('?')[0];337        elements.forEach(element => {338            const url = new URL(element.href.split('?')[0].replace("-nojs", ""));339            url.searchParams.set('pagetitle', title);340            url.searchParams.set('pageurl', pageurl);341            url.searchParams.set('pagesource', "library/asyncio-platforms.rst");342            element.href = url.toString();343        });344    });345  </script>346  <div role="note" aria-label="source link">347    <h3>This page</h3>348    <ul class="this-page-menu">349      <li><a href="../bugs.html">Report a bug</a></li>350      <li><a class="improvepage" href="../improve-page-nojs.html">Improve this page</a></li>351      <li>352        <a href="https://github.com/python/cpython/blob/main/Doc/library/asyncio-platforms.rst?plain=1"353            rel="nofollow">Show source354        </a>355      </li>356      357    </ul>358  </div>359        </div>360<div id="sidebarbutton" title="Collapse sidebar">361<span>«</span>362</div>363 364      </div>365      <div class="clearer"></div>366    </div>  367    <div class="related" role="navigation" aria-label="Related">368      <h3>Navigation</h3>369      <ul>370        <li class="right" style="margin-right: 10px">371          <a href="../genindex.html" title="General Index"372             >index</a></li>373        <li class="right" >374          <a href="../py-modindex.html" title="Python Module Index"375             >modules</a> |</li>376        <li class="right" >377          <a href="asyncio-extending.html" title="Extending"378             >next</a> |</li>379        <li class="right" >380          <a href="asyncio-policy.html" title="Policies"381             >previous</a> |</li>382 383          <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>384          <li><a href="https://www.python.org/">Python</a> &#187;</li>385          <li class="switchers">386            <div class="language_switcher_placeholder"></div>387            <div class="version_switcher_placeholder"></div>388          </li>389          <li>390              391          </li>392    <li id="cpython-language-and-version">393      <a href="../index.html">3.15.0a6 Documentation</a> &#187;394    </li>395 396          <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>397          <li class="nav-item nav-item-2"><a href="ipc.html" >Networking and Interprocess Communication</a> &#187;</li>398          <li class="nav-item nav-item-3"><a href="asyncio.html" ><code class="xref py py-mod docutils literal notranslate"><span class="pre">asyncio</span></code> — Asynchronous I/O</a> &#187;</li>399        <li class="nav-item nav-item-this"><a href="">Platform Support</a></li>400                <li class="right">401                    402 403    <div class="inline-search" role="search">404        <form class="inline-search" action="../search.html" method="get">405          <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box">406          <input type="submit" value="Go">407        </form>408    </div>409                     |410                </li>411            <li class="right">412<label class="theme-selector-label">413    Theme414    <select class="theme-selector" oninput="activateTheme(this.value)">415        <option value="auto" selected>Auto</option>416        <option value="light">Light</option>417        <option value="dark">Dark</option>418    </select>419</label> |</li>420            421      </ul>422    </div>  423    <div class="footer">424    &copy; <a href="../copyright.html">Copyright</a> 2001 Python Software Foundation.425    <br>426    This page is licensed under the Python Software Foundation License Version 2.427    <br>428    Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.429    <br>430    431      See <a href="/license.html">History and License</a> for more information.<br>432    433    434    <br>435 436    The Python Software Foundation is a non-profit corporation.437<a href="https://www.python.org/psf/donations/">Please donate.</a>438<br>439    <br>440      Last updated on Mar 10, 2026 (08:58 UTC).441    442      <a href="/bugs.html">Found a bug</a>?443    444    <br>445 446    Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.447    </div>448 449  </body>450</html>