File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,12 +52,14 @@ msgid ""
5252":class:`LZMAFile` instance from multiple threads, it is necessary to protect"
5353" it with a lock."
5454msgstr ""
55+ "此模块所提供的接口与 :mod:`bz2` 模块的非常类似。 但是,请注意 :class:`LZMAFile` *不是* 线程安全的,这与 "
56+ ":class:`bz2.BZ2File` 不同,因此如果你需要在多个线程中使用单个 :class:`LZMAFile` 实例,则需要通过锁来保护它。"
5557
5658#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:29
5759msgid ""
5860"This exception is raised when an error occurs during compression or "
5961"decompression, or while initializing the compressor/decompressor state."
60- msgstr ""
62+ msgstr "当在压缩或解压缩期间或是在初始化压缩器/解压缩器的状态期间发生错误时此异常会被引发。 "
6163
6264#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:34
6365msgid "Reading and writing compressed files"
@@ -67,7 +69,7 @@ msgstr "读写压缩文件"
6769msgid ""
6870"Open an LZMA-compressed file in binary or text mode, returning a :term:`file"
6971" object`."
70- msgstr ""
72+ msgstr "以二进制或文本模式打开 LZMA 压缩文件,返回一个 :term:`file object`。 "
7173
7274#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:41
7375msgid ""
You can’t perform that action at this time.
0 commit comments