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.

440 linhas
26KB

  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="Built-in Constants" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/library/constants.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <meta property="og:description" content="A small number of constants live in the built-in namespace. They are: Constants added by the site module: The site module (which is imported automatically during startup, except if the-S command-li..." />
  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="A small number of constants live in the built-in namespace. They are: Constants added by the site module: The site module (which is imported automatically during startup, except if the-S command-li..." />
  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>Built-in Constants &#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="Built-in Types" href="stdtypes.html" />
  33. <link rel="prev" title="Built-in Functions" href="functions.html" />
  34. <link rel="canonical" href="https://docs.python.org/3/library/constants.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="#">Built-in Constants</a><ul>
  86. <li><a class="reference internal" href="#constants-added-by-the-site-module">Constants added by the <code class="xref py py-mod docutils literal notranslate"><span class="pre">site</span></code> module</a></li>
  87. </ul>
  88. </li>
  89. </ul>
  90. </div>
  91. <div>
  92. <h4>Previous topic</h4>
  93. <p class="topless"><a href="functions.html"
  94. title="previous chapter">Built-in Functions</a></p>
  95. </div>
  96. <div>
  97. <h4>Next topic</h4>
  98. <p class="topless"><a href="stdtypes.html"
  99. title="next chapter">Built-in Types</a></p>
  100. </div>
  101. <div role="note" aria-label="source link">
  102. <h3>This Page</h3>
  103. <ul class="this-page-menu">
  104. <li><a href="../bugs.html">Report a Bug</a></li>
  105. <li>
  106. <a href="https://github.com/python/cpython/blob/main/Doc/library/constants.rst"
  107. rel="nofollow">Show Source
  108. </a>
  109. </li>
  110. </ul>
  111. </div>
  112. </nav>
  113. </div>
  114. </div>
  115. <div class="related" role="navigation" aria-label="related navigation">
  116. <h3>Navigation</h3>
  117. <ul>
  118. <li class="right" style="margin-right: 10px">
  119. <a href="../genindex.html" title="General Index"
  120. accesskey="I">index</a></li>
  121. <li class="right" >
  122. <a href="../py-modindex.html" title="Python Module Index"
  123. >modules</a> |</li>
  124. <li class="right" >
  125. <a href="stdtypes.html" title="Built-in Types"
  126. accesskey="N">next</a> |</li>
  127. <li class="right" >
  128. <a href="functions.html" title="Built-in Functions"
  129. accesskey="P">previous</a> |</li>
  130. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  131. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  132. <li class="switchers">
  133. <div class="language_switcher_placeholder"></div>
  134. <div class="version_switcher_placeholder"></div>
  135. </li>
  136. <li>
  137. </li>
  138. <li id="cpython-language-and-version">
  139. <a href="../index.html">3.12.3 Documentation</a> &#187;
  140. </li>
  141. <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">The Python Standard Library</a> &#187;</li>
  142. <li class="nav-item nav-item-this"><a href="">Built-in Constants</a></li>
  143. <li class="right">
  144. <div class="inline-search" role="search">
  145. <form class="inline-search" action="../search.html" method="get">
  146. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  147. <input type="submit" value="Go" />
  148. </form>
  149. </div>
  150. |
  151. </li>
  152. <li class="right">
  153. <label class="theme-selector-label">
  154. Theme
  155. <select class="theme-selector" oninput="activateTheme(this.value)">
  156. <option value="auto" selected>Auto</option>
  157. <option value="light">Light</option>
  158. <option value="dark">Dark</option>
  159. </select>
  160. </label> |</li>
  161. </ul>
  162. </div>
  163. <div class="document">
  164. <div class="documentwrapper">
  165. <div class="bodywrapper">
  166. <div class="body" role="main">
  167. <section id="built-in-constants">
  168. <span id="built-in-consts"></span><h1>Built-in Constants<a class="headerlink" href="#built-in-constants" title="Link to this heading">¶</a></h1>
  169. <p>A small number of constants live in the built-in namespace. They are:</p>
  170. <dl class="py data">
  171. <dt class="sig sig-object py" id="False">
  172. <span class="sig-name descname"><span class="pre">False</span></span><a class="headerlink" href="#False" title="Link to this definition">¶</a></dt>
  173. <dd><p>The false value of the <a class="reference internal" href="functions.html#bool" title="bool"><code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code></a> type. Assignments to <code class="docutils literal notranslate"><span class="pre">False</span></code>
  174. are illegal and raise a <a class="reference internal" href="exceptions.html#SyntaxError" title="SyntaxError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">SyntaxError</span></code></a>.</p>
  175. </dd></dl>
  176. <dl class="py data">
  177. <dt class="sig sig-object py" id="True">
  178. <span class="sig-name descname"><span class="pre">True</span></span><a class="headerlink" href="#True" title="Link to this definition">¶</a></dt>
  179. <dd><p>The true value of the <a class="reference internal" href="functions.html#bool" title="bool"><code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code></a> type. Assignments to <code class="docutils literal notranslate"><span class="pre">True</span></code>
  180. are illegal and raise a <a class="reference internal" href="exceptions.html#SyntaxError" title="SyntaxError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">SyntaxError</span></code></a>.</p>
  181. </dd></dl>
  182. <dl class="py data">
  183. <dt class="sig sig-object py" id="None">
  184. <span class="sig-name descname"><span class="pre">None</span></span><a class="headerlink" href="#None" title="Link to this definition">¶</a></dt>
  185. <dd><p>An object frequently used to represent the absence of a value, as when
  186. default arguments are not passed to a function. Assignments to <code class="docutils literal notranslate"><span class="pre">None</span></code>
  187. are illegal and raise a <a class="reference internal" href="exceptions.html#SyntaxError" title="SyntaxError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">SyntaxError</span></code></a>.
  188. <code class="docutils literal notranslate"><span class="pre">None</span></code> is the sole instance of the <a class="reference internal" href="types.html#types.NoneType" title="types.NoneType"><code class="xref py py-data docutils literal notranslate"><span class="pre">NoneType</span></code></a> type.</p>
  189. </dd></dl>
  190. <dl class="py data">
  191. <dt class="sig sig-object py" id="NotImplemented">
  192. <span class="sig-name descname"><span class="pre">NotImplemented</span></span><a class="headerlink" href="#NotImplemented" title="Link to this definition">¶</a></dt>
  193. <dd><p>A special value which should be returned by the binary special methods
  194. (e.g. <a class="reference internal" href="../reference/datamodel.html#object.__eq__" title="object.__eq__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__eq__()</span></code></a>, <a class="reference internal" href="../reference/datamodel.html#object.__lt__" title="object.__lt__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__lt__()</span></code></a>, <a class="reference internal" href="../reference/datamodel.html#object.__add__" title="object.__add__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__add__()</span></code></a>, <a class="reference internal" href="../reference/datamodel.html#object.__rsub__" title="object.__rsub__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__rsub__()</span></code></a>,
  195. etc.) to indicate that the operation is not implemented with respect to
  196. the other type; may be returned by the in-place binary special methods
  197. (e.g. <a class="reference internal" href="../reference/datamodel.html#object.__imul__" title="object.__imul__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__imul__()</span></code></a>, <a class="reference internal" href="../reference/datamodel.html#object.__iand__" title="object.__iand__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__iand__()</span></code></a>, etc.) for the same purpose.
  198. It should not be evaluated in a boolean context.
  199. <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code> is the sole instance of the <a class="reference internal" href="types.html#types.NotImplementedType" title="types.NotImplementedType"><code class="xref py py-data docutils literal notranslate"><span class="pre">types.NotImplementedType</span></code></a> type.</p>
  200. <div class="admonition note">
  201. <p class="admonition-title">Note</p>
  202. <p>When a binary (or in-place) method returns <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code> the
  203. interpreter will try the reflected operation on the other type (or some
  204. other fallback, depending on the operator). If all attempts return
  205. <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code>, the interpreter will raise an appropriate exception.
  206. Incorrectly returning <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code> will result in a misleading
  207. error message or the <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code> value being returned to Python code.</p>
  208. <p>See <a class="reference internal" href="numbers.html#implementing-the-arithmetic-operations"><span class="std std-ref">Implementing the arithmetic operations</span></a> for examples.</p>
  209. </div>
  210. <div class="admonition note">
  211. <p class="admonition-title">Note</p>
  212. <p><code class="docutils literal notranslate"><span class="pre">NotImplementedError</span></code> and <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code> are not interchangeable,
  213. even though they have similar names and purposes.
  214. See <a class="reference internal" href="exceptions.html#NotImplementedError" title="NotImplementedError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">NotImplementedError</span></code></a> for details on when to use it.</p>
  215. </div>
  216. <div class="versionchanged">
  217. <p><span class="versionmodified changed">Changed in version 3.9: </span>Evaluating <code class="xref py py-data docutils literal notranslate"><span class="pre">NotImplemented</span></code> in a boolean context is deprecated. While
  218. it currently evaluates as true, it will emit a <a class="reference internal" href="exceptions.html#DeprecationWarning" title="DeprecationWarning"><code class="xref py py-exc docutils literal notranslate"><span class="pre">DeprecationWarning</span></code></a>.
  219. It will raise a <a class="reference internal" href="exceptions.html#TypeError" title="TypeError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">TypeError</span></code></a> in a future version of Python.</p>
  220. </div>
  221. </dd></dl>
  222. <dl class="py data" id="index-0">
  223. <dt class="sig sig-object py" id="Ellipsis">
  224. <span class="sig-name descname"><span class="pre">Ellipsis</span></span><a class="headerlink" href="#Ellipsis" title="Link to this definition">¶</a></dt>
  225. <dd><p>The same as the ellipsis literal “<code class="docutils literal notranslate"><span class="pre">...</span></code>”. Special value used mostly in conjunction
  226. with extended slicing syntax for user-defined container data types.
  227. <code class="docutils literal notranslate"><span class="pre">Ellipsis</span></code> is the sole instance of the <a class="reference internal" href="types.html#types.EllipsisType" title="types.EllipsisType"><code class="xref py py-data docutils literal notranslate"><span class="pre">types.EllipsisType</span></code></a> type.</p>
  228. </dd></dl>
  229. <dl class="py data">
  230. <dt class="sig sig-object py" id="debug__">
  231. <span class="sig-name descname"><span class="pre">__debug__</span></span><a class="headerlink" href="#debug__" title="Link to this definition">¶</a></dt>
  232. <dd><p>This constant is true if Python was not started with an <a class="reference internal" href="../using/cmdline.html#cmdoption-O"><code class="xref std std-option docutils literal notranslate"><span class="pre">-O</span></code></a> option.
  233. See also the <a class="reference internal" href="../reference/simple_stmts.html#assert"><code class="xref std std-keyword docutils literal notranslate"><span class="pre">assert</span></code></a> statement.</p>
  234. </dd></dl>
  235. <div class="admonition note">
  236. <p class="admonition-title">Note</p>
  237. <p>The names <a class="reference internal" href="#None" title="None"><code class="xref py py-data docutils literal notranslate"><span class="pre">None</span></code></a>, <a class="reference internal" href="#False" title="False"><code class="xref py py-data docutils literal notranslate"><span class="pre">False</span></code></a>, <a class="reference internal" href="#True" title="True"><code class="xref py py-data docutils literal notranslate"><span class="pre">True</span></code></a> and <a class="reference internal" href="#debug__" title="__debug__"><code class="xref py py-data docutils literal notranslate"><span class="pre">__debug__</span></code></a>
  238. cannot be reassigned (assignments to them, even as an attribute name, raise
  239. <a class="reference internal" href="exceptions.html#SyntaxError" title="SyntaxError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">SyntaxError</span></code></a>), so they can be considered “true” constants.</p>
  240. </div>
  241. <section id="constants-added-by-the-site-module">
  242. <h2>Constants added by the <a class="reference internal" href="site.html#module-site" title="site: Module responsible for site-specific configuration."><code class="xref py py-mod docutils literal notranslate"><span class="pre">site</span></code></a> module<a class="headerlink" href="#constants-added-by-the-site-module" title="Link to this heading">¶</a></h2>
  243. <p>The <a class="reference internal" href="site.html#module-site" title="site: Module responsible for site-specific configuration."><code class="xref py py-mod docutils literal notranslate"><span class="pre">site</span></code></a> module (which is imported automatically during startup, except
  244. if the <a class="reference internal" href="../using/cmdline.html#cmdoption-S"><code class="xref std std-option docutils literal notranslate"><span class="pre">-S</span></code></a> command-line option is given) adds several constants to the
  245. built-in namespace. They are useful for the interactive interpreter shell and
  246. should not be used in programs.</p>
  247. <dl class="py data">
  248. <dt class="sig sig-object py" id="quit">
  249. <span class="sig-name descname"><span class="pre">quit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">code</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#quit" title="Link to this definition">¶</a></dt>
  250. <dt class="sig sig-object py" id="exit">
  251. <span class="sig-name descname"><span class="pre">exit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">code</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#exit" title="Link to this definition">¶</a></dt>
  252. <dd><p>Objects that when printed, print a message like “Use quit() or Ctrl-D
  253. (i.e. EOF) to exit”, and when called, raise <a class="reference internal" href="exceptions.html#SystemExit" title="SystemExit"><code class="xref py py-exc docutils literal notranslate"><span class="pre">SystemExit</span></code></a> with the
  254. specified exit code.</p>
  255. </dd></dl>
  256. <dl class="py data">
  257. <dt class="sig sig-object py" id="copyright">
  258. <span class="sig-name descname"><span class="pre">copyright</span></span><a class="headerlink" href="#copyright" title="Link to this definition">¶</a></dt>
  259. <dt class="sig sig-object py" id="credits">
  260. <span class="sig-name descname"><span class="pre">credits</span></span><a class="headerlink" href="#credits" title="Link to this definition">¶</a></dt>
  261. <dd><p>Objects that when printed or called, print the text of copyright or
  262. credits, respectively.</p>
  263. </dd></dl>
  264. <dl class="py data">
  265. <dt class="sig sig-object py" id="license">
  266. <span class="sig-name descname"><span class="pre">license</span></span><a class="headerlink" href="#license" title="Link to this definition">¶</a></dt>
  267. <dd><p>Object that when printed, prints the message “Type license() to see the
  268. full license text”, and when called, displays the full license text in a
  269. pager-like fashion (one screen at a time).</p>
  270. </dd></dl>
  271. </section>
  272. </section>
  273. <div class="clearer"></div>
  274. </div>
  275. </div>
  276. </div>
  277. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  278. <div class="sphinxsidebarwrapper">
  279. <div>
  280. <h3><a href="../contents.html">Table of Contents</a></h3>
  281. <ul>
  282. <li><a class="reference internal" href="#">Built-in Constants</a><ul>
  283. <li><a class="reference internal" href="#constants-added-by-the-site-module">Constants added by the <code class="xref py py-mod docutils literal notranslate"><span class="pre">site</span></code> module</a></li>
  284. </ul>
  285. </li>
  286. </ul>
  287. </div>
  288. <div>
  289. <h4>Previous topic</h4>
  290. <p class="topless"><a href="functions.html"
  291. title="previous chapter">Built-in Functions</a></p>
  292. </div>
  293. <div>
  294. <h4>Next topic</h4>
  295. <p class="topless"><a href="stdtypes.html"
  296. title="next chapter">Built-in Types</a></p>
  297. </div>
  298. <div role="note" aria-label="source link">
  299. <h3>This Page</h3>
  300. <ul class="this-page-menu">
  301. <li><a href="../bugs.html">Report a Bug</a></li>
  302. <li>
  303. <a href="https://github.com/python/cpython/blob/main/Doc/library/constants.rst"
  304. rel="nofollow">Show Source
  305. </a>
  306. </li>
  307. </ul>
  308. </div>
  309. </div>
  310. <div id="sidebarbutton" title="Collapse sidebar">
  311. <span>«</span>
  312. </div>
  313. </div>
  314. <div class="clearer"></div>
  315. </div>
  316. <div class="related" role="navigation" aria-label="related navigation">
  317. <h3>Navigation</h3>
  318. <ul>
  319. <li class="right" style="margin-right: 10px">
  320. <a href="../genindex.html" title="General Index"
  321. >index</a></li>
  322. <li class="right" >
  323. <a href="../py-modindex.html" title="Python Module Index"
  324. >modules</a> |</li>
  325. <li class="right" >
  326. <a href="stdtypes.html" title="Built-in Types"
  327. >next</a> |</li>
  328. <li class="right" >
  329. <a href="functions.html" title="Built-in Functions"
  330. >previous</a> |</li>
  331. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  332. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  333. <li class="switchers">
  334. <div class="language_switcher_placeholder"></div>
  335. <div class="version_switcher_placeholder"></div>
  336. </li>
  337. <li>
  338. </li>
  339. <li id="cpython-language-and-version">
  340. <a href="../index.html">3.12.3 Documentation</a> &#187;
  341. </li>
  342. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  343. <li class="nav-item nav-item-this"><a href="">Built-in Constants</a></li>
  344. <li class="right">
  345. <div class="inline-search" role="search">
  346. <form class="inline-search" action="../search.html" method="get">
  347. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  348. <input type="submit" value="Go" />
  349. </form>
  350. </div>
  351. |
  352. </li>
  353. <li class="right">
  354. <label class="theme-selector-label">
  355. Theme
  356. <select class="theme-selector" oninput="activateTheme(this.value)">
  357. <option value="auto" selected>Auto</option>
  358. <option value="light">Light</option>
  359. <option value="dark">Dark</option>
  360. </select>
  361. </label> |</li>
  362. </ul>
  363. </div>
  364. <div class="footer">
  365. &copy;
  366. <a href="../copyright.html">
  367. Copyright
  368. </a>
  369. 2001-2024, Python Software Foundation.
  370. <br />
  371. This page is licensed under the Python Software Foundation License Version 2.
  372. <br />
  373. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  374. <br />
  375. See <a href="/license.html">History and License</a> for more information.<br />
  376. <br />
  377. The Python Software Foundation is a non-profit corporation.
  378. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  379. <br />
  380. <br />
  381. Last updated on Apr 09, 2024 (13:47 UTC).
  382. <a href="/bugs.html">Found a bug</a>?
  383. <br />
  384. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
  385. </div>
  386. </body>
  387. </html>
上海开阖软件有限公司 沪ICP备12045867号-1