Setting TypeVar upper bound to class defined afterwards

后端 未结 0 1015
情书的邮戳
情书的邮戳 2021-02-11 11:27

I was looking through the typeshed source and saw that in the pathlib.pyi it does the following:

_P = TypeVar(\'_P\', bound=PurePath)

.         


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