<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](pyclbr.xhtml "pyclbr --- Python class browser support") | - [上一頁](tokenize.xhtml "tokenize --- Tokenizer for Python source") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - [Python 語言服務](language.xhtml) ? - $('.inline-search').show(0); | # [`tabnanny`](#module-tabnanny "tabnanny: Tool for detecting white space related problems in Python source files in a directory tree.") --- 模糊縮進檢測 **源代碼:** [Lib/tabnanny.py](https://github.com/python/cpython/tree/3.7/Lib/tabnanny.py) \[https://github.com/python/cpython/tree/3.7/Lib/tabnanny.py\] - - - - - - 目前,該模塊旨在作為腳本調用。但是可以使用下面描述的 [`check()`](#tabnanny.check "tabnanny.check") 函數將其導入IDE。 注解 此模塊提供的API可能會在將來的版本中更改;此類更改可能無法向后兼容。 `tabnanny.``check`(*file\_or\_dir*)If *file\_or\_dir* is a directory and not a symbolic link, then recursively descend the directory tree named by *file\_or\_dir*, checking all `.py`files along the way. If *file\_or\_dir* is an ordinary Python source file, it is checked for whitespace related problems. The diagnostic messages are written to standard output using the [`print()`](functions.xhtml#print "print") function. `tabnanny.``verbose`Flag indicating whether to print verbose messages. This is incremented by the `-v` option if called as a script. `tabnanny.``filename_only`Flag indicating whether to print only the filenames of files containing whitespace related problems. This is set to true by the `-q` option if called as a script. *exception* `tabnanny.``NannyNag`Raised by [`process_tokens()`](#tabnanny.process_tokens "tabnanny.process_tokens") if detecting an ambiguous indent. Captured and handled in [`check()`](#tabnanny.check "tabnanny.check"). `tabnanny.``process_tokens`(*tokens*)This function is used by [`check()`](#tabnanny.check "tabnanny.check") to process tokens generated by the [`tokenize`](tokenize.xhtml#module-tokenize "tokenize: Lexical scanner for Python source code.") module. 參見 模塊 [`tokenize`](tokenize.xhtml#module-tokenize "tokenize: Lexical scanner for Python source code.")用于Python源代碼的詞法掃描程序。 ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](pyclbr.xhtml "pyclbr --- Python class browser support") | - [上一頁](tokenize.xhtml "tokenize --- Tokenizer for Python source") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python 標準庫](index.xhtml) ? - [Python 語言服務](language.xhtml) ? - $('.inline-search').show(0); | ? [版權所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 軟件基金會是一個非盈利組織。 [請捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [發現了問題](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 創建。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看