@@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version : Python 3.8\n "
1919"Report-Msgid-Bugs-To : \n "
20- "POT-Creation-Date : 2023-09-15 16:14 +0000\n "
20+ "POT-Creation-Date : 2023-09-22 16:17 +0000\n "
2121"PO-Revision-Date : 2020-05-30 12:11+0000\n "
2222"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2323"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1037,12 +1037,15 @@ msgid ""
10371037"metadata is unused or unknown. Different :class:`TarInfo` methods handle "
10381038"``None`` differently:"
10391039msgstr ""
1040+ "部分属性可以设为 ``None`` 以表示一些元数据未被使用或未知。 不同的 :class:`TarInfo` 方法会以不同的方式处理 "
1041+ "``None``:"
10401042
10411043#: ../../library/tarfile.rst:638
10421044msgid ""
10431045"The :meth:`~TarFile.extract` or :meth:`~TarFile.extractall` methods will "
10441046"ignore the corresponding metadata, leaving it set to a default."
10451047msgstr ""
1048+ ":meth:`~TarFile.extract` 或 :meth:`~TarFile.extractall` 方法会忽略相应的元数据,让其保持默认设置。"
10461049
10471050#: ../../library/tarfile.rst:640
10481051msgid ":meth:`~TarFile.addfile` will fail."
@@ -1142,6 +1145,8 @@ msgid ""
11421145"directory that contains the link. For hard links (``LNKTYPE``), the "
11431146"*linkname* is relative to the root of the archive."
11441147msgstr ""
1148+ "对于符号链接 (``SYMTYPE``),*linkname* 是相对于包含链接的目录的。 对于硬链接 (``LNKTYPE``),*linkname*"
1149+ " 则是相对于存档根目录的。"
11451150
11461151#: ../../library/tarfile.rst:737
11471152msgid "User ID of the user who originally stored this member."
@@ -1171,13 +1176,17 @@ msgid ""
11711176"attributes changed. For example, to return a ``TarInfo`` with the group name"
11721177" set to ``'staff'``, use::"
11731178msgstr ""
1179+ "返回修改了给定属性的 :class:`!TarInfo` 对象的 *新* 副本。 例如,要返回组名设为 ``'staff'`` 的 "
1180+ "``TarInfo``,请使用::"
11741181
11751182#: ../../library/tarfile.rst:795
11761183msgid ""
11771184"By default, a deep copy is made. If *deep* is false, the copy is shallow, "
11781185"i.e. ``pax_headers`` and any custom attributes are shared with the original "
11791186"``TarInfo`` object."
11801187msgstr ""
1188+ "在默认情况下,将执行深拷贝。 如果 *deep* 为假值,则执行浅拷贝,即 ``pax_headers`` 及任何自定义属性都与原始 "
1189+ "``TarInfo`` 对象共享。"
11811190
11821191#: ../../library/tarfile.rst:799
11831192msgid "A :class:`TarInfo` object also provides some convenient query methods:"
0 commit comments