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

Skip to content

Commit 3061d4f

Browse files
[po] auto sync
1 parent dbb666b commit 3061d4f

3 files changed

Lines changed: 6290 additions & 6247 deletions

File tree

extending/extending.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Tony Tong <[email protected]>, 2018
1010
# ww song <[email protected]>, 2018
1111
# Shengjing Zhu <[email protected]>, 2019
12-
# Harry Liu. <[email protected]>, 2019
1312
# Freesand Leo <[email protected]>, 2019
13+
# Harry Liu. <[email protected]>, 2020
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
2121
"PO-Revision-Date: 2017-02-16 17:42+0000\n"
22-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
22+
"Last-Translator: Harry Liu. <harry.python@gmail.com>, 2020\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -193,6 +193,9 @@ msgid ""
193193
"the calling function can return ``NULL`` immediately (as we saw in the "
194194
"example)."
195195
msgstr ""
196+
":c:func:`PyArg_ParseTuple` "
197+
"在所有参数都有正确类型且组成部分按顺序放在传递进来的地址里时,返回真(非零)。其在传入无效参数时返回假(零)。在后续例子里,还会抛出特定异常,使得调用的函数可以理解返回"
198+
" ``NULL`` (也就是例子里所见)。"
196199

197200
#: ../../extending/extending.rst:126
198201
msgid "Intermezzo: Errors and Exceptions"
@@ -361,6 +364,9 @@ msgid ""
361364
"class being :exc:`Exception` (unless another class is passed in instead of "
362365
"``NULL``), described in :ref:`bltin-exceptions`."
363366
msgstr ""
367+
"注意异常对象的Python名字是 :exc:`spam.error` 。而 :c:func:`PyErr_NewException` "
368+
"函数可以创建一个类,其基类为 :exc:`Exception` (除非是另一个类传入以替换 ``NULL`` ), 细节参见 :ref:`bltin-"
369+
"exceptions` 。"
364370

365371
#: ../../extending/extending.rst:240
366372
msgid ""

whatsnew/3.9.po

Lines changed: 55 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.9\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2020-06-11 03:19+0000\n"
19+
"POT-Creation-Date: 2020-06-19 03:24+0000\n"
2020
"PO-Revision-Date: 2020-05-31 09:32+0000\n"
2121
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1266,7 +1266,7 @@ msgid ""
12661266
"(Contributed by Raymond Hettinger in :issue:`40465`)"
12671267
msgstr ""
12681268

1269-
#: ../../whatsnew/3.9.rst:779 ../../whatsnew/3.9.rst:1102
1269+
#: ../../whatsnew/3.9.rst:779 ../../whatsnew/3.9.rst:1108
12701270
msgid "Removed"
12711271
msgstr "移除"
12721272

@@ -1626,7 +1626,7 @@ msgid ""
16261626
"(Contributed by Victor Stinner in :issue:`37194`.)"
16271627
msgstr ""
16281628

1629-
#: ../../whatsnew/3.9.rst:1039 ../../whatsnew/3.9.rst:1113
1629+
#: ../../whatsnew/3.9.rst:1039 ../../whatsnew/3.9.rst:1119
16301630
msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):"
16311631
msgstr ""
16321632

@@ -1645,7 +1645,7 @@ msgid ""
16451645
"function to hide implementation details."
16461646
msgstr ""
16471647

1648-
#: ../../whatsnew/3.9.rst:1050 ../../whatsnew/3.9.rst:1140
1648+
#: ../../whatsnew/3.9.rst:1050 ../../whatsnew/3.9.rst:1146
16491649
msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)"
16501650
msgstr ""
16511651

@@ -1718,165 +1718,181 @@ msgid ""
17181718
":issue:`40241`.)"
17191719
msgstr ""
17201720

1721-
#: ../../whatsnew/3.9.rst:1104
1721+
#: ../../whatsnew/3.9.rst:1100
1722+
msgid ""
1723+
"The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, "
1724+
":c:func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, "
1725+
"``_PyUnicode_AsUnicode``, and :c:func:`PyUnicode_AsUnicodeAndSize` are "
1726+
"marked as deprecated in C. They have been deprecated by :pep:`393` since "
1727+
"Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.)"
1728+
msgstr ""
1729+
1730+
#: ../../whatsnew/3.9.rst:1110
17221731
msgid ""
17231732
"Exclude ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of "
17241733
"``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in "
17251734
":issue:`38835`.)"
17261735
msgstr ""
17271736

1728-
#: ../../whatsnew/3.9.rst:1108
1737+
#: ../../whatsnew/3.9.rst:1114
17291738
msgid ""
17301739
"The ``tp_print`` slot of :ref:`PyTypeObject <type-structs>` has been "
17311740
"removed. It was used for printing objects to files in Python 2.7 and before."
17321741
" Since Python 3.0, it has been ignored and unused. (Contributed by Jeroen "
17331742
"Demeyer in :issue:`36974`.)"
17341743
msgstr ""
17351744

1736-
#: ../../whatsnew/3.9.rst:1115
1745+
#: ../../whatsnew/3.9.rst:1121
17371746
msgid "Exclude the following functions from the limited C API:"
17381747
msgstr ""
17391748

1740-
#: ../../whatsnew/3.9.rst:1117
1749+
#: ../../whatsnew/3.9.rst:1123
17411750
msgid ""
17421751
"``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in "
17431752
":issue:`37878`.)"
17441753
msgstr ""
17451754

1746-
#: ../../whatsnew/3.9.rst:1119
1755+
#: ../../whatsnew/3.9.rst:1125
17471756
msgid "``_Py_CheckRecursionLimit``"
17481757
msgstr ""
17491758

1750-
#: ../../whatsnew/3.9.rst:1120
1759+
#: ../../whatsnew/3.9.rst:1126
17511760
msgid "``_Py_NewReference()``"
17521761
msgstr ""
17531762

1754-
#: ../../whatsnew/3.9.rst:1121
1763+
#: ../../whatsnew/3.9.rst:1127
17551764
msgid "``_Py_ForgetReference()``"
17561765
msgstr ""
17571766

1758-
#: ../../whatsnew/3.9.rst:1122
1767+
#: ../../whatsnew/3.9.rst:1128
17591768
msgid "``_PyTraceMalloc_NewReference()``"
17601769
msgstr ""
17611770

1762-
#: ../../whatsnew/3.9.rst:1123
1771+
#: ../../whatsnew/3.9.rst:1129
17631772
msgid "``_Py_GetRefTotal()``"
17641773
msgstr ""
17651774

1766-
#: ../../whatsnew/3.9.rst:1124
1775+
#: ../../whatsnew/3.9.rst:1130
17671776
msgid "The trashcan mechanism which never worked in the limited C API."
17681777
msgstr ""
17691778

1770-
#: ../../whatsnew/3.9.rst:1125
1779+
#: ../../whatsnew/3.9.rst:1131
17711780
msgid "``PyTrash_UNWIND_LEVEL``"
17721781
msgstr ""
17731782

1774-
#: ../../whatsnew/3.9.rst:1126
1783+
#: ../../whatsnew/3.9.rst:1132
17751784
msgid "``Py_TRASHCAN_BEGIN_CONDITION``"
17761785
msgstr ""
17771786

1778-
#: ../../whatsnew/3.9.rst:1127
1787+
#: ../../whatsnew/3.9.rst:1133
17791788
msgid "``Py_TRASHCAN_BEGIN``"
17801789
msgstr ""
17811790

1782-
#: ../../whatsnew/3.9.rst:1128
1791+
#: ../../whatsnew/3.9.rst:1134
17831792
msgid "``Py_TRASHCAN_END``"
17841793
msgstr ""
17851794

1786-
#: ../../whatsnew/3.9.rst:1129
1795+
#: ../../whatsnew/3.9.rst:1135
17871796
msgid "``Py_TRASHCAN_SAFE_BEGIN``"
17881797
msgstr ""
17891798

1790-
#: ../../whatsnew/3.9.rst:1130
1799+
#: ../../whatsnew/3.9.rst:1136
17911800
msgid "``Py_TRASHCAN_SAFE_END``"
17921801
msgstr ""
17931802

1794-
#: ../../whatsnew/3.9.rst:1132
1803+
#: ../../whatsnew/3.9.rst:1138
17951804
msgid "Move following functions and definitions to the internal C API:"
17961805
msgstr ""
17971806

1798-
#: ../../whatsnew/3.9.rst:1134
1807+
#: ../../whatsnew/3.9.rst:1140
17991808
msgid "``_PyDebug_PrintTotalRefs()``"
18001809
msgstr ""
18011810

1802-
#: ../../whatsnew/3.9.rst:1135
1811+
#: ../../whatsnew/3.9.rst:1141
18031812
msgid "``_Py_PrintReferences()``"
18041813
msgstr ""
18051814

1806-
#: ../../whatsnew/3.9.rst:1136
1815+
#: ../../whatsnew/3.9.rst:1142
18071816
msgid "``_Py_PrintReferenceAddresses()``"
18081817
msgstr ""
18091818

1810-
#: ../../whatsnew/3.9.rst:1137
1819+
#: ../../whatsnew/3.9.rst:1143
18111820
msgid "``_Py_tracemalloc_config``"
18121821
msgstr ""
18131822

1814-
#: ../../whatsnew/3.9.rst:1138
1823+
#: ../../whatsnew/3.9.rst:1144
18151824
msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)"
18161825
msgstr ""
18171826

1818-
#: ../../whatsnew/3.9.rst:1142
1827+
#: ../../whatsnew/3.9.rst:1148
18191828
msgid ""
18201829
"Remove ``_PyRuntime.getframe`` hook and remove ``_PyThreadState_GetFrame`` "
18211830
"macro which was an alias to ``_PyRuntime.getframe``. They were only exposed "
18221831
"by the internal C API. Remove also ``PyThreadFrameGetter`` type. "
18231832
"(Contributed by Victor Stinner in :issue:`39946`.)"
18241833
msgstr ""
18251834

1826-
#: ../../whatsnew/3.9.rst:1147
1835+
#: ../../whatsnew/3.9.rst:1153
18271836
msgid ""
18281837
"Remove the following functions from the C API. Call :c:func:`PyGC_Collect` "
18291838
"explicitly to clear all free lists. (Contributed by Inada Naoki and Victor "
18301839
"Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.)"
18311840
msgstr ""
18321841

1833-
#: ../../whatsnew/3.9.rst:1152
1842+
#: ../../whatsnew/3.9.rst:1158
18341843
msgid "``PyAsyncGen_ClearFreeLists()``"
18351844
msgstr ""
18361845

1837-
#: ../../whatsnew/3.9.rst:1153
1846+
#: ../../whatsnew/3.9.rst:1159
18381847
msgid "``PyContext_ClearFreeList()``"
18391848
msgstr ""
18401849

1841-
#: ../../whatsnew/3.9.rst:1154
1850+
#: ../../whatsnew/3.9.rst:1160
18421851
msgid "``PyDict_ClearFreeList()``"
18431852
msgstr ""
18441853

1845-
#: ../../whatsnew/3.9.rst:1155
1854+
#: ../../whatsnew/3.9.rst:1161
18461855
msgid "``PyFloat_ClearFreeList()``"
18471856
msgstr ""
18481857

1849-
#: ../../whatsnew/3.9.rst:1156
1858+
#: ../../whatsnew/3.9.rst:1162
18501859
msgid "``PyFrame_ClearFreeList()``"
18511860
msgstr ""
18521861

1853-
#: ../../whatsnew/3.9.rst:1157
1862+
#: ../../whatsnew/3.9.rst:1163
18541863
msgid "``PyList_ClearFreeList()``"
18551864
msgstr ""
18561865

1857-
#: ../../whatsnew/3.9.rst:1158
1866+
#: ../../whatsnew/3.9.rst:1164
18581867
msgid ""
18591868
"``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free "
18601869
"lists of bound method objects have been removed."
18611870
msgstr ""
18621871

1863-
#: ../../whatsnew/3.9.rst:1160
1872+
#: ../../whatsnew/3.9.rst:1166
18641873
msgid ""
18651874
"``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4."
18661875
msgstr ""
18671876

1868-
#: ../../whatsnew/3.9.rst:1162
1877+
#: ../../whatsnew/3.9.rst:1168
18691878
msgid "``PyTuple_ClearFreeList()``"
18701879
msgstr ""
18711880

1872-
#: ../../whatsnew/3.9.rst:1163
1881+
#: ../../whatsnew/3.9.rst:1169
18731882
msgid ""
18741883
"``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in "
18751884
"Python 3.3."
18761885
msgstr ""
18771886

1878-
#: ../../whatsnew/3.9.rst:1166
1887+
#: ../../whatsnew/3.9.rst:1172
18791888
msgid ""
18801889
"Remove ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor "
18811890
"Stinner in :issue:`39465`.)"
18821891
msgstr ""
1892+
1893+
#: ../../whatsnew/3.9.rst:1175
1894+
msgid ""
1895+
"Remove ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and "
1896+
"broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be "
1897+
"used instead. (Contributed by Inada Naoki in :issue:`36346`.)"
1898+
msgstr ""

0 commit comments

Comments
 (0)