@@ -10,6 +10,7 @@ msgstr ""
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2018-06-30 05:56+0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13+ "
Last-Translator :
ww song <[email protected] >, 2018\n "
1314"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1415"MIME-Version : 1.0\n "
1516"Content-Type : text/plain; charset=UTF-8\n "
@@ -19,23 +20,23 @@ msgstr ""
1920
2021#: ../../tutorial/stdlib2.rst:5
2122msgid "Brief Tour of the Standard Library --- Part II"
22- msgstr ""
23+ msgstr "标准库简介 —— 第二部分 "
2324
2425#: ../../tutorial/stdlib2.rst:7
2526msgid ""
2627"This second tour covers more advanced modules that support professional "
2728"programming needs. These modules rarely occur in small scripts."
28- msgstr ""
29+ msgstr "第二部分涵盖了支持专业编程需求的更高级模块。这些模块很少在小脚本中用到。 "
2930
3031#: ../../tutorial/stdlib2.rst:14
3132msgid "Output Formatting"
32- msgstr ""
33+ msgstr "输出格式 "
3334
3435#: ../../tutorial/stdlib2.rst:16
3536msgid ""
3637"The :mod:`reprlib` module provides a version of :func:`repr` customized for "
3738"abbreviated displays of large or deeply nested containers::"
38- msgstr ""
39+ msgstr ":mod:`reprlib` 模块提供了一个用于大型或深层嵌套容器的缩写显示 :func:`repr` 版本:: "
3940
4041#: ../../tutorial/stdlib2.rst:23
4142msgid ""
@@ -44,12 +45,14 @@ msgid ""
4445"interpreter. When the result is longer than one line, the \" pretty printer\" "
4546" adds line breaks and indentation to more clearly reveal data structure::"
4647msgstr ""
48+ ":mod:`pprint` "
49+ "模块提供了更加复杂的控制,可以以解释器可读的方式打印内置和用户定义的对象。当一行结果过长时,“漂亮的打印机”会添加换行符和缩进以更清楚地显示数据结构::"
4750
4851#: ../../tutorial/stdlib2.rst:39
4952msgid ""
5053"The :mod:`textwrap` module formats paragraphs of text to fit a given screen "
5154"width::"
52- msgstr ""
55+ msgstr ":mod:`textwrap` 模块格式化文本段落以适应给定的屏幕宽度:: "
5356
5457#: ../../tutorial/stdlib2.rst:53
5558msgid ""
@@ -60,7 +63,7 @@ msgstr ""
6063
6164#: ../../tutorial/stdlib2.rst:72
6265msgid "Templating"
63- msgstr ""
66+ msgstr "模板 "
6467
6568#: ../../tutorial/stdlib2.rst:74
6669msgid ""
@@ -105,7 +108,7 @@ msgstr ""
105108
106109#: ../../tutorial/stdlib2.rst:133
107110msgid "Working with Binary Data Record Layouts"
108- msgstr ""
111+ msgstr "使用二进制数据记录格式 "
109112
110113#: ../../tutorial/stdlib2.rst:135
111114msgid ""
@@ -120,7 +123,7 @@ msgstr ""
120123
121124#: ../../tutorial/stdlib2.rst:166
122125msgid "Multi-threading"
123- msgstr ""
126+ msgstr "多线程 "
124127
125128#: ../../tutorial/stdlib2.rst:168
126129msgid ""
@@ -135,7 +138,7 @@ msgstr ""
135138msgid ""
136139"The following code shows how the high level :mod:`threading` module can run "
137140"tasks in background while the main program continues to run::"
138- msgstr ""
141+ msgstr "以下代码展示了高级模块 :mod:`threading` 如何在后台运行任务,且不影响主程序继续运行:: "
139142
140143#: ../../tutorial/stdlib2.rst:197
141144msgid ""
@@ -158,7 +161,7 @@ msgstr ""
158161
159162#: ../../tutorial/stdlib2.rst:213
160163msgid "Logging"
161- msgstr ""
164+ msgstr "日志Logging "
162165
163166#: ../../tutorial/stdlib2.rst:215
164167msgid ""
@@ -169,7 +172,7 @@ msgstr ""
169172
170173#: ../../tutorial/stdlib2.rst:225
171174msgid "This produces the following output:"
172- msgstr ""
175+ msgstr "这会产生以下输出: "
173176
174177#: ../../tutorial/stdlib2.rst:233
175178msgid ""
@@ -256,7 +259,7 @@ msgstr ""
256259
257260#: ../../tutorial/stdlib2.rst:355
258261msgid "Decimal Floating Point Arithmetic"
259- msgstr ""
262+ msgstr "十进制浮点运算 "
260263
261264#: ../../tutorial/stdlib2.rst:357
262265msgid ""
@@ -269,32 +272,32 @@ msgstr ""
269272msgid ""
270273"financial applications and other uses which require exact decimal "
271274"representation,"
272- msgstr ""
275+ msgstr "财务应用和其他需要精确十进制表示的用途, "
273276
274277#: ../../tutorial/stdlib2.rst:363
275278msgid "control over precision,"
276- msgstr ""
279+ msgstr "控制精度, "
277280
278281#: ../../tutorial/stdlib2.rst:364
279282msgid "control over rounding to meet legal or regulatory requirements,"
280- msgstr ""
283+ msgstr "控制四舍五入以满足法律或监管要求, "
281284
282285#: ../../tutorial/stdlib2.rst:365
283286msgid "tracking of significant decimal places, or"
284- msgstr ""
287+ msgstr "跟踪有效小数位,或 "
285288
286289#: ../../tutorial/stdlib2.rst:366
287290msgid ""
288291"applications where the user expects the results to match calculations done "
289292"by hand."
290- msgstr ""
293+ msgstr "用户期望结果与手工完成的计算相匹配的应用程序。 "
291294
292295#: ../../tutorial/stdlib2.rst:369
293296msgid ""
294297"For example, calculating a 5% tax on a 70 cent phone charge gives different "
295298"results in decimal floating point and binary floating point. The difference "
296299"becomes significant if the results are rounded to the nearest cent::"
297- msgstr ""
300+ msgstr "例如,使用十进制浮点和二进制浮点数计算70美分手机和5%税的总费用,会产生的不同结果。如果结果四舍五入到最接近的分数差异会更大:: "
298301
299302#: ../../tutorial/stdlib2.rst:379
300303msgid ""
@@ -316,4 +319,4 @@ msgstr ""
316319msgid ""
317320"The :mod:`decimal` module provides arithmetic with as much precision as "
318321"needed::"
319- msgstr ""
322+ msgstr ":mod:`decimal` 模块的算法提供了尽可能的精度:: "
0 commit comments