且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在python的类型提示系统中使用泛型(高级)类型变量?

更新时间:2022-11-23 14:32:25

当前,截至撰写本文时,mypy项目不支持类型较高的类型.请参阅以下github问题:

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