gooderp18绿色标准版
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

418 linhas
24KB

  1. <!DOCTYPE html>
  2. <html lang="en" data-content_root="../">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <meta property="og:title" content="Platform Support" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/library/asyncio-platforms.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <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..." />
  11. <meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
  12. <meta property="og:image:alt" content="Python documentation" />
  13. <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..." />
  14. <meta property="og:image:width" content="200" />
  15. <meta property="og:image:height" content="200" />
  16. <meta name="theme-color" content="#3776ab" />
  17. <title>Platform Support &#8212; Python 3.12.3 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
  19. <link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=bb723527" />
  20. <link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=b20cc3f5" />
  21. <script src="../_static/documentation_options.js?v=2c828074"></script>
  22. <script src="../_static/doctools.js?v=888ff710"></script>
  23. <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
  24. <script src="../_static/sidebar.js"></script>
  25. <link rel="search" type="application/opensearchdescription+xml"
  26. title="Search within Python 3.12.3 documentation"
  27. href="../_static/opensearch.xml"/>
  28. <link rel="author" title="About these documents" href="../about.html" />
  29. <link rel="index" title="Index" href="../genindex.html" />
  30. <link rel="search" title="Search" href="../search.html" />
  31. <link rel="copyright" title="Copyright" href="../copyright.html" />
  32. <link rel="next" title="Extending" href="asyncio-extending.html" />
  33. <link rel="prev" title="Policies" href="asyncio-policy.html" />
  34. <link rel="canonical" href="https://docs.python.org/3/library/asyncio-platforms.html" />
  35. <style>
  36. @media only screen {
  37. table.full-width-table {
  38. width: 100%;
  39. }
  40. }
  41. </style>
  42. <link rel="stylesheet" href="../_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
  43. <link rel="shortcut icon" type="image/png" href="../_static/py.svg" />
  44. <script type="text/javascript" src="../_static/copybutton.js"></script>
  45. <script type="text/javascript" src="../_static/menu.js"></script>
  46. <script type="text/javascript" src="../_static/search-focus.js"></script>
  47. <script type="text/javascript" src="../_static/themetoggle.js"></script>
  48. </head>
  49. <body>
  50. <div class="mobile-nav">
  51. <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
  52. aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
  53. <nav class="nav-content" role="navigation">
  54. <label for="menuToggler" class="toggler__label">
  55. <span></span>
  56. </label>
  57. <span class="nav-items-wrapper">
  58. <a href="https://www.python.org/" class="nav-logo">
  59. <img src="../_static/py.svg" alt="Python logo"/>
  60. </a>
  61. <span class="version_switcher_placeholder"></span>
  62. <form role="search" class="search" action="../search.html" method="get">
  63. <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
  64. <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>
  65. </svg>
  66. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
  67. <input type="submit" value="Go"/>
  68. </form>
  69. </span>
  70. </nav>
  71. <div class="menu-wrapper">
  72. <nav class="menu" role="navigation" aria-label="main navigation">
  73. <div class="language_switcher_placeholder"></div>
  74. <label class="theme-selector-label">
  75. Theme
  76. <select class="theme-selector" oninput="activateTheme(this.value)">
  77. <option value="auto" selected>Auto</option>
  78. <option value="light">Light</option>
  79. <option value="dark">Dark</option>
  80. </select>
  81. </label>
  82. <div>
  83. <h3><a href="../contents.html">Table of Contents</a></h3>
  84. <ul>
  85. <li><a class="reference internal" href="#">Platform Support</a><ul>
  86. <li><a class="reference internal" href="#all-platforms">All Platforms</a></li>
  87. <li><a class="reference internal" href="#windows">Windows</a><ul>
  88. <li><a class="reference internal" href="#subprocess-support-on-windows">Subprocess Support on Windows</a></li>
  89. </ul>
  90. </li>
  91. <li><a class="reference internal" href="#macos">macOS</a></li>
  92. </ul>
  93. </li>
  94. </ul>
  95. </div>
  96. <div>
  97. <h4>Previous topic</h4>
  98. <p class="topless"><a href="asyncio-policy.html"
  99. title="previous chapter">Policies</a></p>
  100. </div>
  101. <div>
  102. <h4>Next topic</h4>
  103. <p class="topless"><a href="asyncio-extending.html"
  104. title="next chapter">Extending</a></p>
  105. </div>
  106. <div role="note" aria-label="source link">
  107. <h3>This Page</h3>
  108. <ul class="this-page-menu">
  109. <li><a href="../bugs.html">Report a Bug</a></li>
  110. <li>
  111. <a href="https://github.com/python/cpython/blob/main/Doc/library/asyncio-platforms.rst"
  112. rel="nofollow">Show Source
  113. </a>
  114. </li>
  115. </ul>
  116. </div>
  117. </nav>
  118. </div>
  119. </div>
  120. <div class="related" role="navigation" aria-label="related navigation">
  121. <h3>Navigation</h3>
  122. <ul>
  123. <li class="right" style="margin-right: 10px">
  124. <a href="../genindex.html" title="General Index"
  125. accesskey="I">index</a></li>
  126. <li class="right" >
  127. <a href="../py-modindex.html" title="Python Module Index"
  128. >modules</a> |</li>
  129. <li class="right" >
  130. <a href="asyncio-extending.html" title="Extending"
  131. accesskey="N">next</a> |</li>
  132. <li class="right" >
  133. <a href="asyncio-policy.html" title="Policies"
  134. accesskey="P">previous</a> |</li>
  135. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  136. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  137. <li class="switchers">
  138. <div class="language_switcher_placeholder"></div>
  139. <div class="version_switcher_placeholder"></div>
  140. </li>
  141. <li>
  142. </li>
  143. <li id="cpython-language-and-version">
  144. <a href="../index.html">3.12.3 Documentation</a> &#187;
  145. </li>
  146. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  147. <li class="nav-item nav-item-2"><a href="ipc.html" >Networking and Interprocess Communication</a> &#187;</li>
  148. <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>
  149. <li class="nav-item nav-item-this"><a href="">Platform Support</a></li>
  150. <li class="right">
  151. <div class="inline-search" role="search">
  152. <form class="inline-search" action="../search.html" method="get">
  153. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  154. <input type="submit" value="Go" />
  155. </form>
  156. </div>
  157. |
  158. </li>
  159. <li class="right">
  160. <label class="theme-selector-label">
  161. Theme
  162. <select class="theme-selector" oninput="activateTheme(this.value)">
  163. <option value="auto" selected>Auto</option>
  164. <option value="light">Light</option>
  165. <option value="dark">Dark</option>
  166. </select>
  167. </label> |</li>
  168. </ul>
  169. </div>
  170. <div class="document">
  171. <div class="documentwrapper">
  172. <div class="bodywrapper">
  173. <div class="body" role="main">
  174. <section id="platform-support">
  175. <span id="asyncio-platform-support"></span><h1>Platform Support<a class="headerlink" href="#platform-support" title="Link to this heading">¶</a></h1>
  176. <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,
  177. but some platforms have subtle differences and limitations
  178. due to the platforms’ underlying architecture and capabilities.</p>
  179. <section id="all-platforms">
  180. <h2>All Platforms<a class="headerlink" href="#all-platforms" title="Link to this heading">¶</a></h2>
  181. <ul class="simple">
  182. <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>
  183. cannot be used to monitor file I/O.</p></li>
  184. </ul>
  185. </section>
  186. <section id="windows">
  187. <h2>Windows<a class="headerlink" href="#windows" title="Link to this heading">¶</a></h2>
  188. <p><strong>Source code:</strong> <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/asyncio/proactor_events.py">Lib/asyncio/proactor_events.py</a>,
  189. <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/asyncio/windows_events.py">Lib/asyncio/windows_events.py</a>,
  190. <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/asyncio/windows_utils.py">Lib/asyncio/windows_utils.py</a></p>
  191. <hr class="docutils" />
  192. <div class="versionchanged">
  193. <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>
  194. </div>
  195. <p>All event loops on Windows do not support the following methods:</p>
  196. <ul class="simple">
  197. <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> and
  198. <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.
  199. The <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>
  200. <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> and
  201. <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>
  202. </ul>
  203. <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>
  204. <ul class="simple">
  205. <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:
  206. it supports sockets and is limited to 512 sockets.</p></li>
  207. <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 accept
  208. socket handles (e.g. pipe file descriptors are not supported).</p></li>
  209. <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>
  210. and <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>
  211. <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.
  212. <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>
  213. methods are not implemented.</p></li>
  214. </ul>
  215. <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>
  216. <ul class="simple">
  217. <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>
  218. methods are not supported.</p></li>
  219. </ul>
  220. <p>The resolution of the monotonic clock on Windows is usually around 15.6
  221. milliseconds. The best resolution is 0.5 milliseconds. The resolution depends on the
  222. hardware (availability of <a class="reference external" href="https://en.wikipedia.org/wiki/High_Precision_Event_Timer">HPET</a>) and on the
  223. Windows configuration.</p>
  224. <section id="subprocess-support-on-windows">
  225. <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>
  226. <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> supports
  227. subprocesses, 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>
  228. <p>The <a class="reference internal" href="asyncio-policy.html#asyncio.AbstractEventLoopPolicy.set_child_watcher" title="asyncio.AbstractEventLoopPolicy.set_child_watcher"><code class="xref py py-meth docutils literal notranslate"><span class="pre">policy.set_child_watcher()</span></code></a> function is also
  229. not supported, as <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 a different mechanism
  230. to watch child processes.</p>
  231. </section>
  232. </section>
  233. <section id="macos">
  234. <h2>macOS<a class="headerlink" href="#macos" title="Link to this heading">¶</a></h2>
  235. <p>Modern macOS versions are fully supported.</p>
  236. <p class="rubric">macOS &lt;= 10.8</p>
  237. <p>On macOS 10.6, 10.7 and 10.8, the default event loop
  238. uses <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 support
  239. character 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>
  240. can 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>
  241. or <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 on
  242. these older versions of macOS. Example:</p>
  243. <div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">asyncio</span>
  244. <span class="kn">import</span> <span class="nn">selectors</span>
  245. <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>
  246. <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>
  247. <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>
  248. </pre></div>
  249. </div>
  250. </section>
  251. </section>
  252. <div class="clearer"></div>
  253. </div>
  254. </div>
  255. </div>
  256. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  257. <div class="sphinxsidebarwrapper">
  258. <div>
  259. <h3><a href="../contents.html">Table of Contents</a></h3>
  260. <ul>
  261. <li><a class="reference internal" href="#">Platform Support</a><ul>
  262. <li><a class="reference internal" href="#all-platforms">All Platforms</a></li>
  263. <li><a class="reference internal" href="#windows">Windows</a><ul>
  264. <li><a class="reference internal" href="#subprocess-support-on-windows">Subprocess Support on Windows</a></li>
  265. </ul>
  266. </li>
  267. <li><a class="reference internal" href="#macos">macOS</a></li>
  268. </ul>
  269. </li>
  270. </ul>
  271. </div>
  272. <div>
  273. <h4>Previous topic</h4>
  274. <p class="topless"><a href="asyncio-policy.html"
  275. title="previous chapter">Policies</a></p>
  276. </div>
  277. <div>
  278. <h4>Next topic</h4>
  279. <p class="topless"><a href="asyncio-extending.html"
  280. title="next chapter">Extending</a></p>
  281. </div>
  282. <div role="note" aria-label="source link">
  283. <h3>This Page</h3>
  284. <ul class="this-page-menu">
  285. <li><a href="../bugs.html">Report a Bug</a></li>
  286. <li>
  287. <a href="https://github.com/python/cpython/blob/main/Doc/library/asyncio-platforms.rst"
  288. rel="nofollow">Show Source
  289. </a>
  290. </li>
  291. </ul>
  292. </div>
  293. </div>
  294. <div id="sidebarbutton" title="Collapse sidebar">
  295. <span>«</span>
  296. </div>
  297. </div>
  298. <div class="clearer"></div>
  299. </div>
  300. <div class="related" role="navigation" aria-label="related navigation">
  301. <h3>Navigation</h3>
  302. <ul>
  303. <li class="right" style="margin-right: 10px">
  304. <a href="../genindex.html" title="General Index"
  305. >index</a></li>
  306. <li class="right" >
  307. <a href="../py-modindex.html" title="Python Module Index"
  308. >modules</a> |</li>
  309. <li class="right" >
  310. <a href="asyncio-extending.html" title="Extending"
  311. >next</a> |</li>
  312. <li class="right" >
  313. <a href="asyncio-policy.html" title="Policies"
  314. >previous</a> |</li>
  315. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  316. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  317. <li class="switchers">
  318. <div class="language_switcher_placeholder"></div>
  319. <div class="version_switcher_placeholder"></div>
  320. </li>
  321. <li>
  322. </li>
  323. <li id="cpython-language-and-version">
  324. <a href="../index.html">3.12.3 Documentation</a> &#187;
  325. </li>
  326. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  327. <li class="nav-item nav-item-2"><a href="ipc.html" >Networking and Interprocess Communication</a> &#187;</li>
  328. <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>
  329. <li class="nav-item nav-item-this"><a href="">Platform Support</a></li>
  330. <li class="right">
  331. <div class="inline-search" role="search">
  332. <form class="inline-search" action="../search.html" method="get">
  333. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  334. <input type="submit" value="Go" />
  335. </form>
  336. </div>
  337. |
  338. </li>
  339. <li class="right">
  340. <label class="theme-selector-label">
  341. Theme
  342. <select class="theme-selector" oninput="activateTheme(this.value)">
  343. <option value="auto" selected>Auto</option>
  344. <option value="light">Light</option>
  345. <option value="dark">Dark</option>
  346. </select>
  347. </label> |</li>
  348. </ul>
  349. </div>
  350. <div class="footer">
  351. &copy;
  352. <a href="../copyright.html">
  353. Copyright
  354. </a>
  355. 2001-2024, Python Software Foundation.
  356. <br />
  357. This page is licensed under the Python Software Foundation License Version 2.
  358. <br />
  359. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  360. <br />
  361. See <a href="/license.html">History and License</a> for more information.<br />
  362. <br />
  363. The Python Software Foundation is a non-profit corporation.
  364. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  365. <br />
  366. <br />
  367. Last updated on Apr 09, 2024 (13:47 UTC).
  368. <a href="/bugs.html">Found a bug</a>?
  369. <br />
  370. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
  371. </div>
  372. </body>
  373. </html>
上海开阖软件有限公司 沪ICP备12045867号-1