Python generic constraint is not working?

前端 未结 0 520
北恋
北恋 2021-01-22 16:35

Why use generic constraint then execute can pass

I expected "Bound must be atype."

Please help me

TypeVar Source code:

Code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题