python / python-docs-zh-cn

zh_CN translation of the Python documentation
https://docs.python.org/zh-cn/
431 stars 74 forks source link

Translation optimization #253

Closed tuzi3040 closed 2 years ago

tuzi3040 commented 2 years ago

3.10.4 Documentation » Python 标准库 » 内置函数 » open()

When open() is used to open a file in a text mode ('w', 'r', 'wt', 'rt', etc.), it returns a subclass of io.TextIOBase (specifically io.TextIOWrapper).

打开文件时,它将返回 io.TextIOBase (特别是 io.TextIOWrapper) 的一个子类。

This may be better: 打开文件时,它将返回 io.TextIOBase 的一个子类 (具体为 io.TextIOWrapper)。

特别是 feels like especially.

songww commented 2 years ago

Fixed