@@ -3333,46 +3333,46 @@ msgstr "用户定义的文件标志位。"
33333333msgid ""
33343334"On other Unix systems (such as FreeBSD), the following attributes may be "
33353335"available (but may be only filled out if root tries to use them):"
3336- msgstr ""
3336+ msgstr "在其他 Unix 系统上(如 FreeBSD 上),以下属性可能可用(但仅当 root 使用它们时才被填充): "
33373337
33383338#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2588
33393339msgid "File generation number."
3340- msgstr ""
3340+ msgstr "文件生成号。 "
33413341
33423342#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2592
33433343msgid "Time of file creation."
3344- msgstr ""
3344+ msgstr "文件创建时间。 "
33453345
33463346#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2594
33473347msgid ""
33483348"On Solaris and derivatives, the following attributes may also be available:"
3349- msgstr ""
3349+ msgstr "在 Solaris 及其衍生版本上,以下属性可能也可用: "
33503350
33513351#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2599
33523352msgid ""
33533353"String that uniquely identifies the type of the filesystem that contains the"
33543354" file."
3355- msgstr ""
3355+ msgstr "文件所在文件系统的类型的唯一标识,为字符串。 "
33563356
33573357#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2602
33583358msgid "On Mac OS systems, the following attributes may also be available:"
3359- msgstr ""
3359+ msgstr "在 Mac OS 系统上,以下属性可能也可用: "
33603360
33613361#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2606
33623362msgid "Real size of the file."
3363- msgstr ""
3363+ msgstr "文件的实际大小。 "
33643364
33653365#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2610
33663366msgid "Creator of the file."
3367- msgstr ""
3367+ msgstr "文件的创建者。 "
33683368
33693369#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2614
33703370msgid "File type."
3371- msgstr ""
3371+ msgstr "文件类型。 "
33723372
33733373#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2616
33743374msgid "On Windows systems, the following attributes are also available:"
3375- msgstr ""
3375+ msgstr "在 Windows 系统上,以下属性也可用: "
33763376
33773377#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2620
33783378msgid ""
@@ -3381,20 +3381,27 @@ msgid ""
33813381":c:func:`GetFileInformationByHandle`. See the ``FILE_ATTRIBUTE_*`` constants"
33823382" in the :mod:`stat` module."
33833383msgstr ""
3384+ "Windows 文件属性:``dwFileAttributes``,由 :c:func:`GetFileInformationByHandle` 返回的"
3385+ " ``BY_HANDLE_FILE_INFORMATION`` 结构体的成员之一。请参阅 :mod:`stat` 模块中的 "
3386+ "``FILE_ATTRIBUTE_*`` 常量。"
33843387
33853388#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2627
33863389msgid ""
33873390"When :attr:`st_file_attributes` has the ``FILE_ATTRIBUTE_REPARSE_POINT`` "
33883391"set, this field contains the tag identifying the type of reparse point. See "
33893392"the ``IO_REPARSE_TAG_*`` constants in the :mod:`stat` module."
33903393msgstr ""
3394+ "当 :attr:`st_file_attributes` 存在 ``FILE_ATTRIBUTE_REPARSE_POINT`` "
3395+ "集合时,本字段包含重解析点类型标记。请参阅 :mod:`stat` 模块中的 ``IO_REPARSE_TAG_*`` 常量。"
33913396
33923397#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2631
33933398msgid ""
33943399"The standard module :mod:`stat` defines functions and constants that are "
33953400"useful for extracting information from a :c:type:`stat` structure. (On "
33963401"Windows, some items are filled with dummy values.)"
33973402msgstr ""
3403+ "标准模块 :mod:`stat` 中定义了函数和常量,这些函数和常量可用于从 :c:type:`stat` 结构体中提取信息。(在 Windows "
3404+ "上,某些项填充的是虚值。)"
33983405
33993406#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2635
34003407msgid ""
@@ -3407,34 +3414,41 @@ msgid ""
34073414"some implementations. For compatibility with older Python versions, "
34083415"accessing :class:`stat_result` as a tuple always returns integers."
34093416msgstr ""
3417+ "为了向后兼容,一个 :class:`stat_result` 实例还可以作为至少包含 10 个整数的元组访问,以提供 :c:type:`stat` "
3418+ "结构中最重要(和可移植)的成员,整数顺序为 :attr:`st_mode`, :attr:`st_ino`, :attr:`st_dev`, "
3419+ ":attr:`st_nlink`, :attr:`st_uid`, :attr:`st_gid`, :attr:`st_size`, "
3420+ ":attr:`st_atime`, :attr:`st_mtime`, :attr:`st_ctime`。某些实现可能在末尾还有更多项。为了与旧版 "
3421+ "Python 兼容,以元组形式访问 :class:`stat_result` 始终返回整数。"
34103422
34113423#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2644
34123424msgid ""
34133425"Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` "
34143426"members."
3415- msgstr ""
3427+ msgstr "添加了 :attr:`st_atime_ns`、:attr:`st_mtime_ns` 和 :attr:`st_ctime_ns` 成员。 "
34163428
34173429#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2648
34183430msgid "Added the :attr:`st_file_attributes` member on Windows."
3419- msgstr ""
3431+ msgstr "在 Windows 上添加了 :attr:`st_file_attributes` 成员。 "
34203432
34213433#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2651
34223434msgid "Windows now returns the file index as :attr:`st_ino` when available."
3423- msgstr ""
3435+ msgstr "在 Windows 上,如果可用,会返回文件索引作为 :attr:`st_ino` 的值。 "
34243436
34253437#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2655
34263438msgid "Added the :attr:`st_fstype` member to Solaris/derivatives."
3427- msgstr ""
3439+ msgstr "在 Solaris 及其衍生版本上添加了 :attr:`st_fstype` 成员。 "
34283440
34293441#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2658
34303442msgid "Added the :attr:`st_reparse_tag` member on Windows."
3431- msgstr ""
3443+ msgstr "在 Windows 上添加了 :attr:`st_reparse_tag` 成员。 "
34323444
34333445#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2661
34343446msgid ""
34353447"On Windows, the :attr:`st_mode` member now identifies special files as "
34363448":const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate."
34373449msgstr ""
3450+ "在 Windows 上,:attr:`st_mode` 成员现在可以根据需要将特殊文件标识为 "
3451+ ":const:`S_IFCHR`、:const:`S_IFIFO` 或 :const:`S_IFBLK`。"
34383452
34393453#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2668
34403454msgid ""
0 commit comments