Setting TypeVar upper bound to class defined afterwards

后端 未结 0 638
南旧
南旧 2021-02-11 11:23

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

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

.         


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