Why the object return of `open` is not instance of `TextIO` or `BinaryIO`?

后端 未结 0 1452
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-26 08:04

According to the docs of typing.TextIO and typing.BinaryIO:

In [6]: TextIO?
Init signature: TextIO()
Docstring:      Typed version of th         


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