擅长:python、mysql、java
<p>显然,PyCharm创建.pyi文件的目的是:</p>
<blockquote>
<p>The *.pyi files are used by PyCharm and other development tools to provide
more information, such as PEP 484 type hints, than it is able to glean from
introspection of extension types and methods. They are not intended to be
imported, executed or used for any other purpose other than providing info
to the tools. If you don't use use a tool that makes use of .pyi files then
you can safely ignore this file.</p>
<p>See: <a href="https://www.python.org/dev/peps/pep-0484/" rel="nofollow noreferrer">https://www.python.org/dev/peps/pep-0484/</a>
<a href="https://www.jetbrains.com/help/pycharm/2016.1/type-hinting-in-pycharm.html" rel="nofollow noreferrer">https://www.jetbrains.com/help/pycharm/2016.1/type-hinting-in-pycharm.html</a></p>
</blockquote>
<p>此注释位于:<code>python27/Lib/site-packages/wx/core.pyi</code></p>