更新时间:2022-11-23 14:32:25
当前,截至撰写本文时,mypy项目不支持类型较高的类型.请参阅以下github问题:
mypy
Currently, as of writing, the mypy project does not support higher-kinded types. See the following github issue:
https://github.com/python/typing/issues/548
如何在python的类型提示系统中使用泛型(高级)类型变量?