gooderp18绿色标准版
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

512 lines
27KB

  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="pyclbr — Python module browser support" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/library/pyclbr.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <meta property="og:description" content="Source code: Lib/pyclbr.py The pyclbr module provides limited information about the functions, classes, and methods defined in a Python-coded module. The information is sufficient to implement a mo..." />
  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="Source code: Lib/pyclbr.py The pyclbr module provides limited information about the functions, classes, and methods defined in a Python-coded module. The information is sufficient to implement a mo..." />
  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>pyclbr — Python module browser 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="py_compile — Compile Python source files" href="py_compile.html" />
  33. <link rel="prev" title="tabnanny — Detection of ambiguous indentation" href="tabnanny.html" />
  34. <link rel="canonical" href="https://docs.python.org/3/library/pyclbr.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="#"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyclbr</span></code> — Python module browser support</a><ul>
  86. <li><a class="reference internal" href="#function-objects">Function Objects</a></li>
  87. <li><a class="reference internal" href="#class-objects">Class Objects</a></li>
  88. </ul>
  89. </li>
  90. </ul>
  91. </div>
  92. <div>
  93. <h4>Previous topic</h4>
  94. <p class="topless"><a href="tabnanny.html"
  95. title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tabnanny</span></code> — Detection of ambiguous indentation</a></p>
  96. </div>
  97. <div>
  98. <h4>Next topic</h4>
  99. <p class="topless"><a href="py_compile.html"
  100. title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">py_compile</span></code> — Compile Python source files</a></p>
  101. </div>
  102. <div role="note" aria-label="source link">
  103. <h3>This Page</h3>
  104. <ul class="this-page-menu">
  105. <li><a href="../bugs.html">Report a Bug</a></li>
  106. <li>
  107. <a href="https://github.com/python/cpython/blob/main/Doc/library/pyclbr.rst"
  108. rel="nofollow">Show Source
  109. </a>
  110. </li>
  111. </ul>
  112. </div>
  113. </nav>
  114. </div>
  115. </div>
  116. <div class="related" role="navigation" aria-label="related navigation">
  117. <h3>Navigation</h3>
  118. <ul>
  119. <li class="right" style="margin-right: 10px">
  120. <a href="../genindex.html" title="General Index"
  121. accesskey="I">index</a></li>
  122. <li class="right" >
  123. <a href="../py-modindex.html" title="Python Module Index"
  124. >modules</a> |</li>
  125. <li class="right" >
  126. <a href="py_compile.html" title="py_compile — Compile Python source files"
  127. accesskey="N">next</a> |</li>
  128. <li class="right" >
  129. <a href="tabnanny.html" title="tabnanny — Detection of ambiguous indentation"
  130. accesskey="P">previous</a> |</li>
  131. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  132. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  133. <li class="switchers">
  134. <div class="language_switcher_placeholder"></div>
  135. <div class="version_switcher_placeholder"></div>
  136. </li>
  137. <li>
  138. </li>
  139. <li id="cpython-language-and-version">
  140. <a href="../index.html">3.12.3 Documentation</a> &#187;
  141. </li>
  142. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  143. <li class="nav-item nav-item-2"><a href="language.html" accesskey="U">Python Language Services</a> &#187;</li>
  144. <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyclbr</span></code> — Python module browser support</a></li>
  145. <li class="right">
  146. <div class="inline-search" role="search">
  147. <form class="inline-search" action="../search.html" method="get">
  148. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  149. <input type="submit" value="Go" />
  150. </form>
  151. </div>
  152. |
  153. </li>
  154. <li class="right">
  155. <label class="theme-selector-label">
  156. Theme
  157. <select class="theme-selector" oninput="activateTheme(this.value)">
  158. <option value="auto" selected>Auto</option>
  159. <option value="light">Light</option>
  160. <option value="dark">Dark</option>
  161. </select>
  162. </label> |</li>
  163. </ul>
  164. </div>
  165. <div class="document">
  166. <div class="documentwrapper">
  167. <div class="bodywrapper">
  168. <div class="body" role="main">
  169. <section id="module-pyclbr">
  170. <span id="pyclbr-python-module-browser-support"></span><h1><a class="reference internal" href="#module-pyclbr" title="pyclbr: Supports information extraction for a Python module browser."><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyclbr</span></code></a> — Python module browser support<a class="headerlink" href="#module-pyclbr" title="Link to this heading">¶</a></h1>
  171. <p><strong>Source code:</strong> <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Lib/pyclbr.py">Lib/pyclbr.py</a></p>
  172. <hr class="docutils" />
  173. <p>The <a class="reference internal" href="#module-pyclbr" title="pyclbr: Supports information extraction for a Python module browser."><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyclbr</span></code></a> module provides limited information about the
  174. functions, classes, and methods defined in a Python-coded module. The
  175. information is sufficient to implement a module browser. The
  176. information is extracted from the Python source code rather than by
  177. importing the module, so this module is safe to use with untrusted code.
  178. This restriction makes it impossible to use this module with modules not
  179. implemented in Python, including all standard and optional extension
  180. modules.</p>
  181. <dl class="py function">
  182. <dt class="sig sig-object py" id="pyclbr.readmodule">
  183. <span class="sig-prename descclassname"><span class="pre">pyclbr.</span></span><span class="sig-name descname"><span class="pre">readmodule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">module</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</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="#pyclbr.readmodule" title="Link to this definition">¶</a></dt>
  184. <dd><p>Return a dictionary mapping module-level class names to class
  185. descriptors. If possible, descriptors for imported base classes are
  186. included. Parameter <em>module</em> is a string with the name of the module
  187. to read; it may be the name of a module within a package. If given,
  188. <em>path</em> is a sequence of directory paths prepended to <code class="docutils literal notranslate"><span class="pre">sys.path</span></code>,
  189. which is used to locate the module source code.</p>
  190. <p>This function is the original interface and is only kept for back
  191. compatibility. It returns a filtered version of the following.</p>
  192. </dd></dl>
  193. <dl class="py function">
  194. <dt class="sig sig-object py" id="pyclbr.readmodule_ex">
  195. <span class="sig-prename descclassname"><span class="pre">pyclbr.</span></span><span class="sig-name descname"><span class="pre">readmodule_ex</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">module</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">path</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="#pyclbr.readmodule_ex" title="Link to this definition">¶</a></dt>
  196. <dd><p>Return a dictionary-based tree containing a function or class
  197. descriptors for each function and class defined in the module with a
  198. <code class="docutils literal notranslate"><span class="pre">def</span></code> or <code class="docutils literal notranslate"><span class="pre">class</span></code> statement. The returned dictionary maps
  199. module-level function and class names to their descriptors. Nested
  200. objects are entered into the children dictionary of their parent. As
  201. with readmodule, <em>module</em> names the module to be read and <em>path</em> is
  202. prepended to sys.path. If the module being read is a package, the
  203. returned dictionary has a key <code class="docutils literal notranslate"><span class="pre">'__path__'</span></code> whose value is a list
  204. containing the package search path.</p>
  205. </dd></dl>
  206. <div class="versionadded">
  207. <p><span class="versionmodified added">New in version 3.7: </span>Descriptors for nested definitions. They are accessed through the
  208. new children attribute. Each has a new parent attribute.</p>
  209. </div>
  210. <p>The descriptors returned by these functions are instances of
  211. Function and Class classes. Users are not expected to create instances
  212. of these classes.</p>
  213. <section id="function-objects">
  214. <span id="pyclbr-function-objects"></span><h2>Function Objects<a class="headerlink" href="#function-objects" title="Link to this heading">¶</a></h2>
  215. <dl class="py class">
  216. <dt class="sig sig-object py" id="pyclbr.Function">
  217. <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyclbr.</span></span><span class="sig-name descname"><span class="pre">Function</span></span><a class="headerlink" href="#pyclbr.Function" title="Link to this definition">¶</a></dt>
  218. <dd><p>Class <code class="xref py py-class docutils literal notranslate"><span class="pre">Function</span></code> instances describe functions defined by def
  219. statements. They have the following attributes:</p>
  220. <dl class="py attribute">
  221. <dt class="sig sig-object py" id="pyclbr.Function.file">
  222. <span class="sig-name descname"><span class="pre">file</span></span><a class="headerlink" href="#pyclbr.Function.file" title="Link to this definition">¶</a></dt>
  223. <dd><p>Name of the file in which the function is defined.</p>
  224. </dd></dl>
  225. <dl class="py attribute">
  226. <dt class="sig sig-object py" id="pyclbr.Function.module">
  227. <span class="sig-name descname"><span class="pre">module</span></span><a class="headerlink" href="#pyclbr.Function.module" title="Link to this definition">¶</a></dt>
  228. <dd><p>The name of the module defining the function described.</p>
  229. </dd></dl>
  230. <dl class="py attribute">
  231. <dt class="sig sig-object py" id="pyclbr.Function.name">
  232. <span class="sig-name descname"><span class="pre">name</span></span><a class="headerlink" href="#pyclbr.Function.name" title="Link to this definition">¶</a></dt>
  233. <dd><p>The name of the function.</p>
  234. </dd></dl>
  235. <dl class="py attribute">
  236. <dt class="sig sig-object py" id="pyclbr.Function.lineno">
  237. <span class="sig-name descname"><span class="pre">lineno</span></span><a class="headerlink" href="#pyclbr.Function.lineno" title="Link to this definition">¶</a></dt>
  238. <dd><p>The line number in the file where the definition starts.</p>
  239. </dd></dl>
  240. <dl class="py attribute">
  241. <dt class="sig sig-object py" id="pyclbr.Function.parent">
  242. <span class="sig-name descname"><span class="pre">parent</span></span><a class="headerlink" href="#pyclbr.Function.parent" title="Link to this definition">¶</a></dt>
  243. <dd><p>For top-level functions, <code class="docutils literal notranslate"><span class="pre">None</span></code>. For nested functions, the parent.</p>
  244. <div class="versionadded">
  245. <p><span class="versionmodified added">New in version 3.7.</span></p>
  246. </div>
  247. </dd></dl>
  248. <dl class="py attribute">
  249. <dt class="sig sig-object py" id="pyclbr.Function.children">
  250. <span class="sig-name descname"><span class="pre">children</span></span><a class="headerlink" href="#pyclbr.Function.children" title="Link to this definition">¶</a></dt>
  251. <dd><p>A <a class="reference internal" href="stdtypes.html#dict" title="dict"><code class="xref py py-class docutils literal notranslate"><span class="pre">dictionary</span></code></a> mapping names to descriptors for nested functions and
  252. classes.</p>
  253. <div class="versionadded">
  254. <p><span class="versionmodified added">New in version 3.7.</span></p>
  255. </div>
  256. </dd></dl>
  257. <dl class="py attribute">
  258. <dt class="sig sig-object py" id="pyclbr.Function.is_async">
  259. <span class="sig-name descname"><span class="pre">is_async</span></span><a class="headerlink" href="#pyclbr.Function.is_async" title="Link to this definition">¶</a></dt>
  260. <dd><p><code class="docutils literal notranslate"><span class="pre">True</span></code> for functions that are defined with the
  261. <a class="reference internal" href="../reference/compound_stmts.html#async-def"><code class="xref std std-keyword docutils literal notranslate"><span class="pre">async</span></code></a> prefix, <code class="docutils literal notranslate"><span class="pre">False</span></code> otherwise.</p>
  262. <div class="versionadded">
  263. <p><span class="versionmodified added">New in version 3.10.</span></p>
  264. </div>
  265. </dd></dl>
  266. </dd></dl>
  267. </section>
  268. <section id="class-objects">
  269. <span id="pyclbr-class-objects"></span><h2>Class Objects<a class="headerlink" href="#class-objects" title="Link to this heading">¶</a></h2>
  270. <dl class="py class">
  271. <dt class="sig sig-object py" id="pyclbr.Class">
  272. <em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyclbr.</span></span><span class="sig-name descname"><span class="pre">Class</span></span><a class="headerlink" href="#pyclbr.Class" title="Link to this definition">¶</a></dt>
  273. <dd><p>Class <code class="xref py py-class docutils literal notranslate"><span class="pre">Class</span></code> instances describe classes defined by class
  274. statements. They have the same attributes as <a class="reference internal" href="#pyclbr.Function" title="pyclbr.Function"><code class="xref py py-class docutils literal notranslate"><span class="pre">Functions</span></code></a>
  275. and two more.</p>
  276. <dl class="py attribute">
  277. <dt class="sig sig-object py" id="pyclbr.Class.file">
  278. <span class="sig-name descname"><span class="pre">file</span></span><a class="headerlink" href="#pyclbr.Class.file" title="Link to this definition">¶</a></dt>
  279. <dd><p>Name of the file in which the class is defined.</p>
  280. </dd></dl>
  281. <dl class="py attribute">
  282. <dt class="sig sig-object py" id="pyclbr.Class.module">
  283. <span class="sig-name descname"><span class="pre">module</span></span><a class="headerlink" href="#pyclbr.Class.module" title="Link to this definition">¶</a></dt>
  284. <dd><p>The name of the module defining the class described.</p>
  285. </dd></dl>
  286. <dl class="py attribute">
  287. <dt class="sig sig-object py" id="pyclbr.Class.name">
  288. <span class="sig-name descname"><span class="pre">name</span></span><a class="headerlink" href="#pyclbr.Class.name" title="Link to this definition">¶</a></dt>
  289. <dd><p>The name of the class.</p>
  290. </dd></dl>
  291. <dl class="py attribute">
  292. <dt class="sig sig-object py" id="pyclbr.Class.lineno">
  293. <span class="sig-name descname"><span class="pre">lineno</span></span><a class="headerlink" href="#pyclbr.Class.lineno" title="Link to this definition">¶</a></dt>
  294. <dd><p>The line number in the file where the definition starts.</p>
  295. </dd></dl>
  296. <dl class="py attribute">
  297. <dt class="sig sig-object py" id="pyclbr.Class.parent">
  298. <span class="sig-name descname"><span class="pre">parent</span></span><a class="headerlink" href="#pyclbr.Class.parent" title="Link to this definition">¶</a></dt>
  299. <dd><p>For top-level classes, None. For nested classes, the parent.</p>
  300. <div class="versionadded">
  301. <p><span class="versionmodified added">New in version 3.7.</span></p>
  302. </div>
  303. </dd></dl>
  304. <dl class="py attribute">
  305. <dt class="sig sig-object py" id="pyclbr.Class.children">
  306. <span class="sig-name descname"><span class="pre">children</span></span><a class="headerlink" href="#pyclbr.Class.children" title="Link to this definition">¶</a></dt>
  307. <dd><p>A dictionary mapping names to descriptors for nested functions and
  308. classes.</p>
  309. <div class="versionadded">
  310. <p><span class="versionmodified added">New in version 3.7.</span></p>
  311. </div>
  312. </dd></dl>
  313. <dl class="py attribute">
  314. <dt class="sig sig-object py" id="pyclbr.Class.super">
  315. <span class="sig-name descname"><span class="pre">super</span></span><a class="headerlink" href="#pyclbr.Class.super" title="Link to this definition">¶</a></dt>
  316. <dd><p>A list of <code class="xref py py-class docutils literal notranslate"><span class="pre">Class</span></code> objects which describe the immediate base
  317. classes of the class being described. Classes which are named as
  318. superclasses but which are not discoverable by <a class="reference internal" href="#pyclbr.readmodule_ex" title="pyclbr.readmodule_ex"><code class="xref py py-func docutils literal notranslate"><span class="pre">readmodule_ex()</span></code></a>
  319. are listed as a string with the class name instead of as
  320. <code class="xref py py-class docutils literal notranslate"><span class="pre">Class</span></code> objects.</p>
  321. </dd></dl>
  322. <dl class="py attribute">
  323. <dt class="sig sig-object py" id="pyclbr.Class.methods">
  324. <span class="sig-name descname"><span class="pre">methods</span></span><a class="headerlink" href="#pyclbr.Class.methods" title="Link to this definition">¶</a></dt>
  325. <dd><p>A <a class="reference internal" href="stdtypes.html#dict" title="dict"><code class="xref py py-class docutils literal notranslate"><span class="pre">dictionary</span></code></a> mapping method names to line numbers.
  326. This can be derived from the newer <a class="reference internal" href="#pyclbr.Class.children" title="pyclbr.Class.children"><code class="xref py py-attr docutils literal notranslate"><span class="pre">children</span></code></a> dictionary,
  327. but remains for
  328. back-compatibility.</p>
  329. </dd></dl>
  330. </dd></dl>
  331. </section>
  332. </section>
  333. <div class="clearer"></div>
  334. </div>
  335. </div>
  336. </div>
  337. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  338. <div class="sphinxsidebarwrapper">
  339. <div>
  340. <h3><a href="../contents.html">Table of Contents</a></h3>
  341. <ul>
  342. <li><a class="reference internal" href="#"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyclbr</span></code> — Python module browser support</a><ul>
  343. <li><a class="reference internal" href="#function-objects">Function Objects</a></li>
  344. <li><a class="reference internal" href="#class-objects">Class Objects</a></li>
  345. </ul>
  346. </li>
  347. </ul>
  348. </div>
  349. <div>
  350. <h4>Previous topic</h4>
  351. <p class="topless"><a href="tabnanny.html"
  352. title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tabnanny</span></code> — Detection of ambiguous indentation</a></p>
  353. </div>
  354. <div>
  355. <h4>Next topic</h4>
  356. <p class="topless"><a href="py_compile.html"
  357. title="next chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">py_compile</span></code> — Compile Python source files</a></p>
  358. </div>
  359. <div role="note" aria-label="source link">
  360. <h3>This Page</h3>
  361. <ul class="this-page-menu">
  362. <li><a href="../bugs.html">Report a Bug</a></li>
  363. <li>
  364. <a href="https://github.com/python/cpython/blob/main/Doc/library/pyclbr.rst"
  365. rel="nofollow">Show Source
  366. </a>
  367. </li>
  368. </ul>
  369. </div>
  370. </div>
  371. <div id="sidebarbutton" title="Collapse sidebar">
  372. <span>«</span>
  373. </div>
  374. </div>
  375. <div class="clearer"></div>
  376. </div>
  377. <div class="related" role="navigation" aria-label="related navigation">
  378. <h3>Navigation</h3>
  379. <ul>
  380. <li class="right" style="margin-right: 10px">
  381. <a href="../genindex.html" title="General Index"
  382. >index</a></li>
  383. <li class="right" >
  384. <a href="../py-modindex.html" title="Python Module Index"
  385. >modules</a> |</li>
  386. <li class="right" >
  387. <a href="py_compile.html" title="py_compile — Compile Python source files"
  388. >next</a> |</li>
  389. <li class="right" >
  390. <a href="tabnanny.html" title="tabnanny — Detection of ambiguous indentation"
  391. >previous</a> |</li>
  392. <li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  393. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  394. <li class="switchers">
  395. <div class="language_switcher_placeholder"></div>
  396. <div class="version_switcher_placeholder"></div>
  397. </li>
  398. <li>
  399. </li>
  400. <li id="cpython-language-and-version">
  401. <a href="../index.html">3.12.3 Documentation</a> &#187;
  402. </li>
  403. <li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>
  404. <li class="nav-item nav-item-2"><a href="language.html" >Python Language Services</a> &#187;</li>
  405. <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">pyclbr</span></code> — Python module browser support</a></li>
  406. <li class="right">
  407. <div class="inline-search" role="search">
  408. <form class="inline-search" action="../search.html" method="get">
  409. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" id="search-box" />
  410. <input type="submit" value="Go" />
  411. </form>
  412. </div>
  413. |
  414. </li>
  415. <li class="right">
  416. <label class="theme-selector-label">
  417. Theme
  418. <select class="theme-selector" oninput="activateTheme(this.value)">
  419. <option value="auto" selected>Auto</option>
  420. <option value="light">Light</option>
  421. <option value="dark">Dark</option>
  422. </select>
  423. </label> |</li>
  424. </ul>
  425. </div>
  426. <div class="footer">
  427. &copy;
  428. <a href="../copyright.html">
  429. Copyright
  430. </a>
  431. 2001-2024, Python Software Foundation.
  432. <br />
  433. This page is licensed under the Python Software Foundation License Version 2.
  434. <br />
  435. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  436. <br />
  437. See <a href="/license.html">History and License</a> for more information.<br />
  438. <br />
  439. The Python Software Foundation is a non-profit corporation.
  440. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  441. <br />
  442. <br />
  443. Last updated on Apr 09, 2024 (13:47 UTC).
  444. <a href="/bugs.html">Found a bug</a>?
  445. <br />
  446. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
  447. </div>
  448. </body>
  449. </html>
上海开阖软件有限公司 沪ICP备12045867号-1