@@ -2294,9 +2294,9 @@ msgid ""
22942294"filenames returned will also be of type ``bytes``; in all other "
22952295"circumstances, they will be of type ``str``."
22962296msgstr ""
2297- "*path* 可以是 :term:`类路径对象 <path-like object>`。如果 *path* 是(直接/间接由 "
2298- ":class:`PathLike` 接口返回的 ) ``bytes`` 类型,则返回的文件名也将是 ``bytes`` 类型,其他情况下是 ``str`` "
2299- " 类型。"
2297+ "*path* 可以是 :term:`类路径对象 <path-like object>`。如果 *path* 是(直接传入或通过 "
2298+ ":class:`PathLike` 接口间接传入 ) ``bytes`` 类型,则返回的文件名也将是 ``bytes`` 类型,其他情况下是 "
2299+ "``str`` 类型。"
23002300
23012301#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:1809
23022302#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2210
@@ -2771,8 +2771,8 @@ msgid ""
27712771" each :class:`os.DirEntry` will be ``bytes``; in all other circumstances, "
27722772"they will be of type ``str``."
27732773msgstr ""
2774- "*path* 可以是 :term:`类路径对象 <path-like object>`。如果 *path* 是(直接/间接由 "
2775- ":class:`PathLike` 接口返回的 ) ``bytes`` 类型,那么每个 :class:`os.DirEntry` 的 "
2774+ "*path* 可以是 :term:`类路径对象 <path-like object>`。如果 *path* 是(直接传入或通过 "
2775+ ":class:`PathLike` 接口间接传入的 ) ``bytes`` 类型,那么每个 :class:`os.DirEntry` 的 "
27762776":attr:`~os.DirEntry.name` 和 :attr:`~os.DirEntry.path` 属性将是 ``bytes`` "
27772777"类型,其他情况下是 ``str`` 类型。"
27782778
@@ -3110,8 +3110,8 @@ msgid ""
31103110":class:`PathLike` interface -- or as an open file descriptor. Return a "
31113111":class:`stat_result` object."
31123112msgstr ""
3113- "获取文件或文件描述符的状态。在所给路径上执行等效于 :c:func:`stat` 系统调用的操作。*path* 可以是字符串类型,或(直接/间接由 "
3114- ":class:`PathLike` 接口返回的 ) bytes 类型,或打开的文件描述符。返回一个 :class:`stat_result` 对象。"
3113+ "获取文件或文件描述符的状态。在所给路径上执行等效于 :c:func:`stat` 系统调用的操作。*path* 可以是字符串类型,或(直接给出或通过 "
3114+ ":class:`PathLike` 接口间接返回 ) bytes 类型,或打开的文件描述符。返回一个 :class:`stat_result` 对象。"
31153115
31163116#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2416
31173117msgid ""
@@ -3968,8 +3968,8 @@ msgid ""
39683968":class:`PathLike` interface). If it is str, it is encoded with the "
39693969"filesystem encoding."
39703970msgstr ""
3971- "返回 *path* 的扩展文件系统属性 *attribute* 的值。*attribute* 可以是 bytes 或 str (直接/间接通过 "
3972- ":class:`PathLike` 接口返回的 )。如果是 str,则使用文件系统编码来编码字符串。"
3971+ "返回 *path* 的扩展文件系统属性 *attribute* 的值。*attribute* 可以是 bytes 或 str (直接给出或通过 "
3972+ ":class:`PathLike` 接口间接返回 )。如果是 str,则使用文件系统编码来编码字符串。"
39733973
39743974#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3137
39753975#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3165
@@ -3994,8 +3994,8 @@ msgid ""
39943994":class:`PathLike` interface). If it is a string, it is encoded with the "
39953995"filesystem encoding."
39963996msgstr ""
3997- "从 *path* 中删除扩展文件系统属性 *attribute*。*attribute* 应该是 bytes 或 str (直接/间接通过 "
3998- ":class:`PathLike` 接口返回的 )。如果是 str,则使用文件系统编码来编码字符串。"
3997+ "从 *path* 中删除扩展文件系统属性 *attribute*。*attribute* 应该是 bytes 或 str (直接给出或通过 "
3998+ ":class:`PathLike` 接口间接返回 )。如果是 str,则使用文件系统编码来编码字符串。"
39993999
40004000#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3171
40014001msgid ""
0 commit comments