Team Ai
Apppublic

parthtamu/rag-code-assistant

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
curses.panel.html484 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="curses.panel — A panel stack extension for curses" />8<meta property="og:type" content="website" />9<meta property="og:url" content="https://docs.python.org/3/library/curses.panel.html" />10<meta property="og:site_name" content="Python documentation" />11<meta property="og:description" content="Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or dow..." />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_curses.panel_e07bb84a.png" />15<meta property="og:image:alt" content="Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or dow..." />16<meta name="description" content="Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or dow..." />17<meta name="twitter:card" content="summary_large_image" />18<meta name="theme-color" content="#3776ab">19 20    <title>curses.panel — A panel stack extension for curses &#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="cmd — Support for line-oriented command interpreters" href="cmd.html" />43    <link rel="prev" title="curses.ascii — Utilities for ASCII characters" href="curses.ascii.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/curses.panel.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="#"><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.panel</span></code> — A panel stack extension for curses</a><ul>108<li><a class="reference internal" href="#functions">Functions</a></li>109<li><a class="reference internal" href="#panel-objects">Panel Objects</a></li>110</ul>111</li>112</ul>113 114  </div>115  <div>116    <h4>Previous topic</h4>117    <p class="topless"><a href="curses.ascii.html"118                          title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.ascii</span></code> — Utilities for ASCII characters</a></p>119  </div>120  <div>121    <h4>Next topic</h4>122    <p class="topless"><a href="cmd.html"123                          title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cmd</span></code> — Support for line-oriented command interpreters</a></p>124  </div>125  <script>126    document.addEventListener('DOMContentLoaded', () => {127        const title = document.querySelector('meta[property="og:title"]').content;128        const elements = document.querySelectorAll('.improvepage');129        const pageurl = window.location.href.split('?')[0];130        elements.forEach(element => {131            const url = new URL(element.href.split('?')[0].replace("-nojs", ""));132            url.searchParams.set('pagetitle', title);133            url.searchParams.set('pageurl', pageurl);134            url.searchParams.set('pagesource', "library/curses.panel.rst");135            element.href = url.toString();136        });137    });138  </script>139  <div role="note" aria-label="source link">140    <h3>This page</h3>141    <ul class="this-page-menu">142      <li><a href="../bugs.html">Report a bug</a></li>143      <li><a class="improvepage" href="../improve-page-nojs.html">Improve this page</a></li>144      <li>145        <a href="https://github.com/python/cpython/blob/main/Doc/library/curses.panel.rst?plain=1"146            rel="nofollow">Show source147        </a>148      </li>149      150    </ul>151  </div>152        </nav>153    </div>154</div>155 156  157    <div class="related" role="navigation" aria-label="Related">158      <h3>Navigation</h3>159      <ul>160        <li class="right" style="margin-right: 10px">161          <a href="../genindex.html" title="General Index"162             accesskey="I">index</a></li>163        <li class="right" >164          <a href="../py-modindex.html" title="Python Module Index"165             >modules</a> |</li>166        <li class="right" >167          <a href="cmd.html" title="cmd — Support for line-oriented command interpreters"168             accesskey="N">next</a> |</li>169        <li class="right" >170          <a href="curses.ascii.html" title="curses.ascii — Utilities for ASCII characters"171             accesskey="P">previous</a> |</li>172 173          <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>174          <li><a href="https://www.python.org/">Python</a> &#187;</li>175          <li class="switchers">176            <div class="language_switcher_placeholder"></div>177            <div class="version_switcher_placeholder"></div>178          </li>179          <li>180              181          </li>182    <li id="cpython-language-and-version">183      <a href="../index.html">3.15.0a6 Documentation</a> &#187;184    </li>185 186          <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>187          <li class="nav-item nav-item-2"><a href="cmdlinelibs.html" accesskey="U">Command-line interface libraries</a> &#187;</li>188        <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.panel</span></code> — A panel stack extension for curses</a></li>189                <li class="right">190                    191 192    <div class="inline-search" role="search">193        <form class="inline-search" action="../search.html" method="get">194          <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box">195          <input type="submit" value="Go">196        </form>197    </div>198                     |199                </li>200            <li class="right">201<label class="theme-selector-label">202    Theme203    <select class="theme-selector" oninput="activateTheme(this.value)">204        <option value="auto" selected>Auto</option>205        <option value="light">Light</option>206        <option value="dark">Dark</option>207    </select>208</label> |</li>209            210      </ul>211    </div>    212 213    <div class="document">214      <div class="documentwrapper">215        <div class="bodywrapper">216          <div class="body" role="main">217            218  <section id="module-curses.panel">219<span id="curses-panel-a-panel-stack-extension-for-curses"></span><h1><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.panel</span></code> — A panel stack extension for curses<a class="headerlink" href="#module-curses.panel" title="Link to this heading">¶</a></h1>220<hr class="docutils" />221<p>Panels are windows with the added feature of depth, so they can be stacked on222top of each other, and only the visible portions of each window will be223displayed.  Panels can be added, moved up or down in the stack, and removed.</p>224<section id="functions">225<span id="cursespanel-functions"></span><h2>Functions<a class="headerlink" href="#functions" title="Link to this heading">¶</a></h2>226<p>The module <code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.panel</span></code> defines the following functions:</p>227<dl class="py function">228<dt class="sig sig-object py" id="curses.panel.bottom_panel">229<span class="sig-prename descclassname"><span class="pre">curses.panel.</span></span><span class="sig-name descname"><span class="pre">bottom_panel</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.bottom_panel" title="Link to this definition">¶</a></dt>230<dd><p>Returns the bottom panel in the panel stack.</p>231</dd></dl>232 233<dl class="py function">234<dt class="sig sig-object py" id="curses.panel.new_panel">235<span class="sig-prename descclassname"><span class="pre">curses.panel.</span></span><span class="sig-name descname"><span class="pre">new_panel</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">win</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.new_panel" title="Link to this definition">¶</a></dt>236<dd><p>Returns a panel object, associating it with the given window <em>win</em>. Be aware237that you need to keep the returned panel object referenced explicitly.  If you238don’t, the panel object is garbage collected and removed from the panel stack.</p>239</dd></dl>240 241<dl class="py function">242<dt class="sig sig-object py" id="curses.panel.top_panel">243<span class="sig-prename descclassname"><span class="pre">curses.panel.</span></span><span class="sig-name descname"><span class="pre">top_panel</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.top_panel" title="Link to this definition">¶</a></dt>244<dd><p>Returns the top panel in the panel stack.</p>245</dd></dl>246 247<dl class="py function">248<dt class="sig sig-object py" id="curses.panel.update_panels">249<span class="sig-prename descclassname"><span class="pre">curses.panel.</span></span><span class="sig-name descname"><span class="pre">update_panels</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.update_panels" title="Link to this definition">¶</a></dt>250<dd><p>Updates the virtual screen after changes in the panel stack. This does not call251<a class="reference internal" href="curses.html#curses.doupdate" title="curses.doupdate"><code class="xref py py-func docutils literal notranslate"><span class="pre">curses.doupdate()</span></code></a>, so you’ll have to do this yourself.</p>252</dd></dl>253 254</section>255<section id="panel-objects">256<span id="curses-panel-objects"></span><h2>Panel Objects<a class="headerlink" href="#panel-objects" title="Link to this heading">¶</a></h2>257<p>Panel objects, as returned by <a class="reference internal" href="#curses.panel.new_panel" title="curses.panel.new_panel"><code class="xref py py-func docutils literal notranslate"><span class="pre">new_panel()</span></code></a> above, are windows with a258stacking order. There’s always a window associated with a panel which determines259the content, while the panel methods are responsible for the window’s depth in260the panel stack.</p>261<p>Panel objects have the following methods:</p>262<dl class="py method">263<dt class="sig sig-object py" id="curses.panel.Panel.above">264<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">above</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.above" title="Link to this definition">¶</a></dt>265<dd><p>Returns the panel above the current panel.</p>266</dd></dl>267 268<dl class="py method">269<dt class="sig sig-object py" id="curses.panel.Panel.below">270<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">below</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.below" title="Link to this definition">¶</a></dt>271<dd><p>Returns the panel below the current panel.</p>272</dd></dl>273 274<dl class="py method">275<dt class="sig sig-object py" id="curses.panel.Panel.bottom">276<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">bottom</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.bottom" title="Link to this definition">¶</a></dt>277<dd><p>Push the panel to the bottom of the stack.</p>278</dd></dl>279 280<dl class="py method">281<dt class="sig sig-object py" id="curses.panel.Panel.hidden">282<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">hidden</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.hidden" title="Link to this definition">¶</a></dt>283<dd><p>Returns <code class="docutils literal notranslate"><span class="pre">True</span></code> if the panel is hidden (not visible), <code class="docutils literal notranslate"><span class="pre">False</span></code> otherwise.</p>284</dd></dl>285 286<dl class="py method">287<dt class="sig sig-object py" id="curses.panel.Panel.hide">288<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">hide</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.hide" title="Link to this definition">¶</a></dt>289<dd><p>Hide the panel. This does not delete the object, it just makes the window on290screen invisible.</p>291</dd></dl>292 293<dl class="py method">294<dt class="sig sig-object py" id="curses.panel.Panel.move">295<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">move</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">y</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.move" title="Link to this definition">¶</a></dt>296<dd><p>Move the panel to the screen coordinates <code class="docutils literal notranslate"><span class="pre">(y,</span> <span class="pre">x)</span></code>.</p>297</dd></dl>298 299<dl class="py method">300<dt class="sig sig-object py" id="curses.panel.Panel.replace">301<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">replace</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">win</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.replace" title="Link to this definition">¶</a></dt>302<dd><p>Change the window associated with the panel to the window <em>win</em>.</p>303</dd></dl>304 305<dl class="py method">306<dt class="sig sig-object py" id="curses.panel.Panel.set_userptr">307<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">set_userptr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">obj</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.set_userptr" title="Link to this definition">¶</a></dt>308<dd><p>Set the panel’s user pointer to <em>obj</em>. This is used to associate an arbitrary309piece of data with the panel, and can be any Python object.</p>310</dd></dl>311 312<dl class="py method">313<dt class="sig sig-object py" id="curses.panel.Panel.show">314<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">show</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.show" title="Link to this definition">¶</a></dt>315<dd><p>Display the panel (which might have been hidden).</p>316</dd></dl>317 318<dl class="py method">319<dt class="sig sig-object py" id="curses.panel.Panel.top">320<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">top</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.top" title="Link to this definition">¶</a></dt>321<dd><p>Push panel to the top of the stack.</p>322</dd></dl>323 324<dl class="py method">325<dt class="sig sig-object py" id="curses.panel.Panel.userptr">326<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">userptr</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.userptr" title="Link to this definition">¶</a></dt>327<dd><p>Returns the user pointer for the panel.  This might be any Python object.</p>328</dd></dl>329 330<dl class="py method">331<dt class="sig sig-object py" id="curses.panel.Panel.window">332<span class="sig-prename descclassname"><span class="pre">Panel.</span></span><span class="sig-name descname"><span class="pre">window</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#curses.panel.Panel.window" title="Link to this definition">¶</a></dt>333<dd><p>Returns the window object associated with the panel.</p>334</dd></dl>335 336</section>337</section>338 339 340            <div class="clearer"></div>341          </div>342        </div>343      </div>344      <div class="sphinxsidebar" role="navigation" aria-label="Main">345        <div class="sphinxsidebarwrapper">346  <div>347    <h3><a href="../contents.html">Table of Contents</a></h3>348    <ul>349<li><a class="reference internal" href="#"><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.panel</span></code> — A panel stack extension for curses</a><ul>350<li><a class="reference internal" href="#functions">Functions</a></li>351<li><a class="reference internal" href="#panel-objects">Panel Objects</a></li>352</ul>353</li>354</ul>355 356  </div>357  <div>358    <h4>Previous topic</h4>359    <p class="topless"><a href="curses.ascii.html"360                          title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.ascii</span></code> — Utilities for ASCII characters</a></p>361  </div>362  <div>363    <h4>Next topic</h4>364    <p class="topless"><a href="cmd.html"365                          title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">cmd</span></code> — Support for line-oriented command interpreters</a></p>366  </div>367  <script>368    document.addEventListener('DOMContentLoaded', () => {369        const title = document.querySelector('meta[property="og:title"]').content;370        const elements = document.querySelectorAll('.improvepage');371        const pageurl = window.location.href.split('?')[0];372        elements.forEach(element => {373            const url = new URL(element.href.split('?')[0].replace("-nojs", ""));374            url.searchParams.set('pagetitle', title);375            url.searchParams.set('pageurl', pageurl);376            url.searchParams.set('pagesource', "library/curses.panel.rst");377            element.href = url.toString();378        });379    });380  </script>381  <div role="note" aria-label="source link">382    <h3>This page</h3>383    <ul class="this-page-menu">384      <li><a href="../bugs.html">Report a bug</a></li>385      <li><a class="improvepage" href="../improve-page-nojs.html">Improve this page</a></li>386      <li>387        <a href="https://github.com/python/cpython/blob/main/Doc/library/curses.panel.rst?plain=1"388            rel="nofollow">Show source389        </a>390      </li>391      392    </ul>393  </div>394        </div>395<div id="sidebarbutton" title="Collapse sidebar">396<span>«</span>397</div>398 399      </div>400      <div class="clearer"></div>401    </div>  402    <div class="related" role="navigation" aria-label="Related">403      <h3>Navigation</h3>404      <ul>405        <li class="right" style="margin-right: 10px">406          <a href="../genindex.html" title="General Index"407             >index</a></li>408        <li class="right" >409          <a href="../py-modindex.html" title="Python Module Index"410             >modules</a> |</li>411        <li class="right" >412          <a href="cmd.html" title="cmd — Support for line-oriented command interpreters"413             >next</a> |</li>414        <li class="right" >415          <a href="curses.ascii.html" title="curses.ascii — Utilities for ASCII characters"416             >previous</a> |</li>417 418          <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>419          <li><a href="https://www.python.org/">Python</a> &#187;</li>420          <li class="switchers">421            <div class="language_switcher_placeholder"></div>422            <div class="version_switcher_placeholder"></div>423          </li>424          <li>425              426          </li>427    <li id="cpython-language-and-version">428      <a href="../index.html">3.15.0a6 Documentation</a> &#187;429    </li>430 431          <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>432          <li class="nav-item nav-item-2"><a href="cmdlinelibs.html" >Command-line interface libraries</a> &#187;</li>433        <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">curses.panel</span></code> — A panel stack extension for curses</a></li>434                <li class="right">435                    436 437    <div class="inline-search" role="search">438        <form class="inline-search" action="../search.html" method="get">439          <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box">440          <input type="submit" value="Go">441        </form>442    </div>443                     |444                </li>445            <li class="right">446<label class="theme-selector-label">447    Theme448    <select class="theme-selector" oninput="activateTheme(this.value)">449        <option value="auto" selected>Auto</option>450        <option value="light">Light</option>451        <option value="dark">Dark</option>452    </select>453</label> |</li>454            455      </ul>456    </div>  457    <div class="footer">458    &copy; <a href="../copyright.html">Copyright</a> 2001 Python Software Foundation.459    <br>460    This page is licensed under the Python Software Foundation License Version 2.461    <br>462    Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.463    <br>464    465      See <a href="/license.html">History and License</a> for more information.<br>466    467    468    <br>469 470    The Python Software Foundation is a non-profit corporation.471<a href="https://www.python.org/psf/donations/">Please donate.</a>472<br>473    <br>474      Last updated on Mar 10, 2026 (08:58 UTC).475    476      <a href="/bugs.html">Found a bug</a>?477    478    <br>479 480    Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.481    </div>482 483  </body>484</html>