@@ -1065,6 +1065,9 @@ msgid ""
10651065"\"\\ n\" . This is the result of discussion about how to interpret section "
10661066"2.11 of XML spec. (Contributed by Mefistotelis in :issue:`39011`.)"
10671067msgstr ""
1068+ "当把 :mod:`xml.etree.ElementTree` 序列化为 XML 文件时属性内部的空白字符现在将被保留。 不同的行结束符不会再被正规化为"
1069+ " \"\\ n\" 。 这是对于如何解读 XML 规范 2.11 节的相关讨论的最终结果。 (由 Mefistotelis 在 :issue:`39011`"
1070+ " 中贡献。)"
10681071
10691072#: ../../whatsnew/3.9.rst:606
10701073msgid "Optimizations"
@@ -1076,20 +1079,22 @@ msgid ""
10761079"Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment "
10771080"``y = expr``. For example:"
10781081msgstr ""
1082+ "优化了在推导式中为临时变量赋值的惯用方式。 现在推导式中的 ``for y in [expr]`` 会与简单赋值语句 ``y = expr`` "
1083+ "一样快速。 例如:"
10791084
10801085#: ../../whatsnew/3.9.rst:612
10811086msgid "sums = [s for s in [0] for x in data for s in [s + x]]"
1082- msgstr ""
1087+ msgstr "sums = [s for s in [0] for x in data for s in [s + x]] "
10831088
10841089#: ../../whatsnew/3.9.rst:614
10851090msgid ""
10861091"Unlike the ``:=`` operator this idiom does not leak a variable to the outer "
10871092"scope."
1088- msgstr ""
1093+ msgstr "不同于 ``:=`` 运算符,这个惯用方式不会使变量泄露到外部作用域中。 "
10891094
10901095#: ../../whatsnew/3.9.rst:617
10911096msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)"
1092- msgstr ""
1097+ msgstr "(由 Serhiy Storchaka 在 :issue:`32856` 中贡献。) "
10931098
10941099#: ../../whatsnew/3.9.rst:619
10951100msgid ""
@@ -1432,7 +1437,7 @@ msgstr ""
14321437
14331438#: ../../whatsnew/3.9.rst:883 ../../whatsnew/3.9.rst:1064
14341439msgid "Porting to Python 3.9"
1435- msgstr ""
1440+ msgstr "移植到 Python 3.9 "
14361441
14371442#: ../../whatsnew/3.9.rst:885
14381443msgid ""
@@ -1806,23 +1811,23 @@ msgstr ""
18061811
18071812#: ../../whatsnew/3.9.rst:1140
18081813msgid "``_PyDebug_PrintTotalRefs()``"
1809- msgstr ""
1814+ msgstr "``_PyDebug_PrintTotalRefs()`` "
18101815
18111816#: ../../whatsnew/3.9.rst:1141
18121817msgid "``_Py_PrintReferences()``"
1813- msgstr ""
1818+ msgstr "``_Py_PrintReferences()`` "
18141819
18151820#: ../../whatsnew/3.9.rst:1142
18161821msgid "``_Py_PrintReferenceAddresses()``"
1817- msgstr ""
1822+ msgstr "``_Py_PrintReferenceAddresses()`` "
18181823
18191824#: ../../whatsnew/3.9.rst:1143
18201825msgid "``_Py_tracemalloc_config``"
1821- msgstr ""
1826+ msgstr "``_Py_tracemalloc_config`` "
18221827
18231828#: ../../whatsnew/3.9.rst:1144
18241829msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)"
1825- msgstr ""
1830+ msgstr "``_Py_AddToAllObjects()`` (``Py_TRACE_REFS`` 构建专属) "
18261831
18271832#: ../../whatsnew/3.9.rst:1148
18281833msgid ""
@@ -1841,58 +1846,64 @@ msgstr ""
18411846
18421847#: ../../whatsnew/3.9.rst:1158
18431848msgid "``PyAsyncGen_ClearFreeLists()``"
1844- msgstr ""
1849+ msgstr "``PyAsyncGen_ClearFreeLists()`` "
18451850
18461851#: ../../whatsnew/3.9.rst:1159
18471852msgid "``PyContext_ClearFreeList()``"
1848- msgstr ""
1853+ msgstr "``PyContext_ClearFreeList()`` "
18491854
18501855#: ../../whatsnew/3.9.rst:1160
18511856msgid "``PyDict_ClearFreeList()``"
1852- msgstr ""
1857+ msgstr "``PyDict_ClearFreeList()`` "
18531858
18541859#: ../../whatsnew/3.9.rst:1161
18551860msgid "``PyFloat_ClearFreeList()``"
1856- msgstr ""
1861+ msgstr "``PyFloat_ClearFreeList()`` "
18571862
18581863#: ../../whatsnew/3.9.rst:1162
18591864msgid "``PyFrame_ClearFreeList()``"
1860- msgstr ""
1865+ msgstr "``PyFrame_ClearFreeList()`` "
18611866
18621867#: ../../whatsnew/3.9.rst:1163
18631868msgid "``PyList_ClearFreeList()``"
1864- msgstr ""
1869+ msgstr "``PyList_ClearFreeList()`` "
18651870
18661871#: ../../whatsnew/3.9.rst:1164
18671872msgid ""
18681873"``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free "
18691874"lists of bound method objects have been removed."
18701875msgstr ""
1876+ "``PyMethod_ClearFreeList()`` 和 ``PyCFunction_ClearFreeList()``: "
1877+ "绑定方法对象的自由列表已被移除。"
18711878
18721879#: ../../whatsnew/3.9.rst:1166
18731880msgid ""
18741881"``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4."
1875- msgstr ""
1882+ msgstr "``PySet_ClearFreeList()``: 集合自由列表已在 Python 3.4 中被移除。 "
18761883
18771884#: ../../whatsnew/3.9.rst:1168
18781885msgid "``PyTuple_ClearFreeList()``"
1879- msgstr ""
1886+ msgstr "``PyTuple_ClearFreeList()`` "
18801887
18811888#: ../../whatsnew/3.9.rst:1169
18821889msgid ""
18831890"``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in "
18841891"Python 3.3."
1885- msgstr ""
1892+ msgstr "``PyUnicode_ClearFreeList()``: Unicode 自由列表已在 Python 3.3 中被移除。 "
18861893
18871894#: ../../whatsnew/3.9.rst:1172
18881895msgid ""
18891896"Remove ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor "
18901897"Stinner in :issue:`39465`.)"
18911898msgstr ""
1899+ "移除了 ``_PyUnicode_ClearStaticStrings()`` 函数。 (由 Victor Stinner 在 "
1900+ ":issue:`39465` 中贡献。)"
18921901
18931902#: ../../whatsnew/3.9.rst:1175
18941903msgid ""
18951904"Remove ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and "
18961905"broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be "
18971906"used instead. (Contributed by Inada Naoki in :issue:`36346`.)"
18981907msgstr ""
1908+ "移除了 ``Py_UNICODE_MATCH``。 它已被 :pep:`393` 所弃用,并自 Python 3.3 起不再可用。 可以改用 "
1909+ ":c:func:`PyUnicode_Tailmatch` 函数。 (由 Inada Naoki 在 :issue:`36346` 中贡献。)"
0 commit comments