实现了 TPV 的 pyi 生成逻辑(部分),删除了直接拷贝自 CPython(TPC) 版本的死代码

This commit is contained in:
2026-07-22 19:47:23 +08:00
parent a99d2a5ad9
commit 751dc72d61
19 changed files with 641 additions and 1436 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
"""StubGen 包 - 存根文件生成器"""
from lib.StubGen.Config import StubGenConfig
from lib.StubGen.Converter import PythonToStubConverter
from lib.StubGen.Generator import StubGen, main
__all__ = ['StubGenConfig', 'PythonToStubConverter', 'StubGen', 'main']
# ============================================================
# StubGen 包入口
#
# 子模块通过绝对导入使用import lib.StubGen.Converter as Converter
# 此 __init__.py 不做 re-export避免引入未使用的依赖。
# ============================================================