77# Zombie110year <[email protected] >, 201988# Dingyuan Wang <[email protected] >, 201999# Freesand Leo <[email protected] >, 201910+ 1011#
1112#, fuzzy
1213msgid ""
1314msgstr ""
1415"Project-Id-Version : Python 3.7\n "
1516"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
17+ "POT-Creation-Date : 2019-05-14 11:26 +0900\n "
1718"PO-Revision-Date : 2017-02-16 19:36+0000\n "
18- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2019\n "
19+ "Last-Translator : sgqy <sgqyzh@gmail .com>, 2019\n "
1920"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2021"MIME-Version : 1.0\n "
2122"Content-Type : text/plain; charset=UTF-8\n "
@@ -154,7 +155,7 @@ msgstr ""
154155
155156#: ../../library/bz2.rst:86
156157msgid ""
157- "If *mode* is ``'w'`` or ``'a'``, *compresslevel* can be a number between "
158+ "If *mode* is ``'w'`` or ``'a'``, *compresslevel* can be an integer between "
158159"``1`` and ``9`` specifying the level of compression: ``1`` produces the "
159160"least compression, and ``9`` (default) produces the most compression."
160161msgstr ""
@@ -232,7 +233,7 @@ msgstr ""
232233
233234#: ../../library/bz2.rst:147 ../../library/bz2.rst:235
234235msgid ""
235- "*compresslevel*, if given, must be a number between ``1`` and ``9``. The "
236+ "*compresslevel*, if given, must be an integer between ``1`` and ``9``. The "
236237"default is ``9``."
237238msgstr ""
238239
@@ -334,16 +335,16 @@ msgid "One-shot (de)compression"
334335msgstr "一次性压缩或解压"
335336
336337#: ../../library/bz2.rst:233
337- msgid "Compress *data*."
338- msgstr "压缩 *data*。 "
338+ msgid "Compress *data*, a :term:`bytes-like object <bytes-like object>` ."
339+ msgstr ""
339340
340341#: ../../library/bz2.rst:238
341342msgid "For incremental compression, use a :class:`BZ2Compressor` instead."
342343msgstr ""
343344
344345#: ../../library/bz2.rst:243
345- msgid "Decompress *data*."
346- msgstr "解压 *data*。 "
346+ msgid "Decompress *data*, a :term:`bytes-like object <bytes-like object>` ."
347+ msgstr ""
347348
348349#: ../../library/bz2.rst:245
349350msgid ""
@@ -358,3 +359,32 @@ msgstr ""
358359#: ../../library/bz2.rst:250
359360msgid "Support for multi-stream inputs was added."
360361msgstr "支持了多数据流的输入。"
362+
363+ #: ../../library/bz2.rst:256
364+ msgid "Examples of usage"
365+ msgstr "用法示例"
366+
367+ #: ../../library/bz2.rst:258
368+ msgid "Below are some examples of typical usage of the :mod:`bz2` module."
369+ msgstr ""
370+
371+ #: ../../library/bz2.rst:260
372+ msgid ""
373+ "Using :func:`compress` and :func:`decompress` to demonstrate round-trip "
374+ "compression:"
375+ msgstr ""
376+
377+ #: ../../library/bz2.rst:281
378+ msgid "Using :class:`BZ2Compressor` for incremental compression:"
379+ msgstr ""
380+
381+ #: ../../library/bz2.rst:300
382+ msgid ""
383+ "The example above uses a very \" nonrandom\" stream of data (a stream of "
384+ "`b\" z\" ` chunks). Random data tends to compress poorly, while ordered, "
385+ "repetitive data usually yields a high compression ratio."
386+ msgstr ""
387+
388+ #: ../../library/bz2.rst:304
389+ msgid "Writing and reading a bzip2-compressed file in binary mode:"
390+ msgstr ""
0 commit comments