Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff649fd

Browse files
[po] auto sync
1 parent 601e524 commit ff649fd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

library/tarfile.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,9 @@ msgid ""
507507
" in a tar archive several times. Each archive member is represented by a "
508508
":class:`TarInfo` object, see :ref:`tarinfo-objects` for details."
509509
msgstr ""
510+
":class:`TarFile` 对象提供了一个 tar 归档的接口。 一个 tar 归档就是数据块的序列。 "
511+
"一个归档成员(被保存文件)是由一个标头块加多个数据块组成的。 一个文件可以在一个 tar 归档中多次被保存。 每个归档成员都由一个 "
512+
":class:`TarInfo` 对象来代表,详情参见 :ref:`tarinfo-objects`。"
510513

511514
#: ../../library/tarfile.rst:263
512515
msgid ""
@@ -516,10 +519,12 @@ msgid ""
516519
"for writing will not be finalized; only the internally used file object will"
517520
" be closed. See the :ref:`tar-examples` section for a use case."
518521
msgstr ""
522+
":class:`TarFile` 对象可在 :keyword:`with` 语句中作为上下文管理器使用。 当语句块结束时它将自动被关闭。 "
523+
"请注意在发生异常事件时被打开用于写入的归档将不会被终结;只有内部使用的文件对象将被关闭。 相关用例请参见 :ref:`tar-examples`。"
519524

520525
#: ../../library/tarfile.rst:269
521526
msgid "Added support for the context management protocol."
522-
msgstr ""
527+
msgstr "添加了对上下文管理器协议的支持。"
523528

524529
#: ../../library/tarfile.rst:274
525530
msgid ""

0 commit comments

Comments
 (0)