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

Skip to content

Commit d7e5006

Browse files
[po] auto sync
1 parent 9572367 commit d7e5006

2 files changed

Lines changed: 36 additions & 25 deletions

File tree

whatsnew/3.9.po

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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`.)"
10671067
msgstr ""
1068+
"当把 :mod:`xml.etree.ElementTree` 序列化为 XML 文件时属性内部的空白字符现在将被保留。 不同的行结束符不会再被正规化为"
1069+
" \"\\n\"。 这是对于如何解读 XML 规范 2.11 节的相关讨论的最终结果。 (由 Mefistotelis 在 :issue:`39011`"
1070+
" 中贡献。)"
10681071

10691072
#: ../../whatsnew/3.9.rst:606
10701073
msgid "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:"
10781081
msgstr ""
1082+
"优化了在推导式中为临时变量赋值的惯用方式。 现在推导式中的 ``for y in [expr]`` 会与简单赋值语句 ``y = expr`` "
1083+
"一样快速。 例如:"
10791084

10801085
#: ../../whatsnew/3.9.rst:612
10811086
msgid "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
10851090
msgid ""
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
10911096
msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)"
1092-
msgstr ""
1097+
msgstr "(由 Serhiy Storchaka 在 :issue:`32856` 中贡献。)"
10931098

10941099
#: ../../whatsnew/3.9.rst:619
10951100
msgid ""
@@ -1432,7 +1437,7 @@ msgstr ""
14321437

14331438
#: ../../whatsnew/3.9.rst:883 ../../whatsnew/3.9.rst:1064
14341439
msgid "Porting to Python 3.9"
1435-
msgstr ""
1440+
msgstr "移植到 Python 3.9"
14361441

14371442
#: ../../whatsnew/3.9.rst:885
14381443
msgid ""
@@ -1806,23 +1811,23 @@ msgstr ""
18061811

18071812
#: ../../whatsnew/3.9.rst:1140
18081813
msgid "``_PyDebug_PrintTotalRefs()``"
1809-
msgstr ""
1814+
msgstr "``_PyDebug_PrintTotalRefs()``"
18101815

18111816
#: ../../whatsnew/3.9.rst:1141
18121817
msgid "``_Py_PrintReferences()``"
1813-
msgstr ""
1818+
msgstr "``_Py_PrintReferences()``"
18141819

18151820
#: ../../whatsnew/3.9.rst:1142
18161821
msgid "``_Py_PrintReferenceAddresses()``"
1817-
msgstr ""
1822+
msgstr "``_Py_PrintReferenceAddresses()``"
18181823

18191824
#: ../../whatsnew/3.9.rst:1143
18201825
msgid "``_Py_tracemalloc_config``"
1821-
msgstr ""
1826+
msgstr "``_Py_tracemalloc_config``"
18221827

18231828
#: ../../whatsnew/3.9.rst:1144
18241829
msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)"
1825-
msgstr ""
1830+
msgstr "``_Py_AddToAllObjects()`` (``Py_TRACE_REFS`` 构建专属)"
18261831

18271832
#: ../../whatsnew/3.9.rst:1148
18281833
msgid ""
@@ -1841,58 +1846,64 @@ msgstr ""
18411846

18421847
#: ../../whatsnew/3.9.rst:1158
18431848
msgid "``PyAsyncGen_ClearFreeLists()``"
1844-
msgstr ""
1849+
msgstr "``PyAsyncGen_ClearFreeLists()``"
18451850

18461851
#: ../../whatsnew/3.9.rst:1159
18471852
msgid "``PyContext_ClearFreeList()``"
1848-
msgstr ""
1853+
msgstr "``PyContext_ClearFreeList()``"
18491854

18501855
#: ../../whatsnew/3.9.rst:1160
18511856
msgid "``PyDict_ClearFreeList()``"
1852-
msgstr ""
1857+
msgstr "``PyDict_ClearFreeList()``"
18531858

18541859
#: ../../whatsnew/3.9.rst:1161
18551860
msgid "``PyFloat_ClearFreeList()``"
1856-
msgstr ""
1861+
msgstr "``PyFloat_ClearFreeList()``"
18571862

18581863
#: ../../whatsnew/3.9.rst:1162
18591864
msgid "``PyFrame_ClearFreeList()``"
1860-
msgstr ""
1865+
msgstr "``PyFrame_ClearFreeList()``"
18611866

18621867
#: ../../whatsnew/3.9.rst:1163
18631868
msgid "``PyList_ClearFreeList()``"
1864-
msgstr ""
1869+
msgstr "``PyList_ClearFreeList()``"
18651870

18661871
#: ../../whatsnew/3.9.rst:1164
18671872
msgid ""
18681873
"``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free "
18691874
"lists of bound method objects have been removed."
18701875
msgstr ""
1876+
"``PyMethod_ClearFreeList()`` 和 ``PyCFunction_ClearFreeList()``: "
1877+
"绑定方法对象的自由列表已被移除。"
18711878

18721879
#: ../../whatsnew/3.9.rst:1166
18731880
msgid ""
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
18781885
msgid "``PyTuple_ClearFreeList()``"
1879-
msgstr ""
1886+
msgstr "``PyTuple_ClearFreeList()``"
18801887

18811888
#: ../../whatsnew/3.9.rst:1169
18821889
msgid ""
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
18881895
msgid ""
18891896
"Remove ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor "
18901897
"Stinner in :issue:`39465`.)"
18911898
msgstr ""
1899+
"移除了 ``_PyUnicode_ClearStaticStrings()`` 函数。 (由 Victor Stinner 在 "
1900+
":issue:`39465` 中贡献。)"
18921901

18931902
#: ../../whatsnew/3.9.rst:1175
18941903
msgid ""
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`.)"
18981907
msgstr ""
1908+
"移除了 ``Py_UNICODE_MATCH``。 它已被 :pep:`393` 所弃用,并自 Python 3.3 起不再可用。 可以改用 "
1909+
":c:func:`PyUnicode_Tailmatch` 函数。 (由 Inada Naoki 在 :issue:`36346` 中贡献。)"

whatsnew/changelog.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,35 +1450,35 @@ msgstr ""
14501450

14511451
#: ../../../build/NEWS:646
14521452
msgid "``PyAsyncGen_ClearFreeLists()``"
1453-
msgstr ""
1453+
msgstr "``PyAsyncGen_ClearFreeLists()``"
14541454

14551455
#: ../../../build/NEWS:647
14561456
msgid "``PyContext_ClearFreeList()``"
1457-
msgstr ""
1457+
msgstr "``PyContext_ClearFreeList()``"
14581458

14591459
#: ../../../build/NEWS:648
14601460
msgid "``PyDict_ClearFreeList()``"
1461-
msgstr ""
1461+
msgstr "``PyDict_ClearFreeList()``"
14621462

14631463
#: ../../../build/NEWS:649
14641464
msgid "``PyFloat_ClearFreeList()``"
1465-
msgstr ""
1465+
msgstr "``PyFloat_ClearFreeList()``"
14661466

14671467
#: ../../../build/NEWS:650
14681468
msgid "``PyFrame_ClearFreeList()``"
1469-
msgstr ""
1469+
msgstr "``PyFrame_ClearFreeList()``"
14701470

14711471
#: ../../../build/NEWS:651
14721472
msgid "``PyList_ClearFreeList()``"
1473-
msgstr ""
1473+
msgstr "``PyList_ClearFreeList()``"
14741474

14751475
#: ../../../build/NEWS:652
14761476
msgid "``PySet_ClearFreeList()``"
14771477
msgstr ""
14781478

14791479
#: ../../../build/NEWS:653
14801480
msgid "``PyTuple_ClearFreeList()``"
1481-
msgstr ""
1481+
msgstr "``PyTuple_ClearFreeList()``"
14821482

14831483
#: ../../../build/NEWS:655
14841484
msgid ""

0 commit comments

Comments
 (0)