Python-stub

  • Published on
    English title: Python How to Generate Stubs for Binary Module ## stubs是什么 stubs主要是给IDE自动提示和语法检测使用的,比如[JetBrains PyCharm](https://www.jetbrains.com/pycharm/). stubs有个规范的名称,叫`PEP 561 Typing Stubs` https://www.python.org/dev/peps/pep-0561/#type-checker-module-resolution-order > 3. Stub packages - these packages SHOULD supersede any installed inline package. They can be found at `foopkg-stubs` for package `foopkg`. ...