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

Skip to content

Commit 28f94aa

Browse files
[po] auto sync
1 parent 64f0c29 commit 28f94aa

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.18%", "updated_at": "2024-02-15T01:36:20Z"}
1+
{"translation": "91.20%", "updated_at": "2024-02-15T07:20:46Z"}

whatsnew/3.6.po

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,41 +2957,53 @@ msgid ""
29572957
"New :c:func:`Py_FinalizeEx` API which indicates if flushing buffered data "
29582958
"failed. (Contributed by Martin Panter in :issue:`5319`.)"
29592959
msgstr ""
2960+
"新增 :c:func:`Py_FinalizeEx` API 用于提示缓冲数据的刷新是否失败。 (由 Martin Panter 在 "
2961+
":issue:`5319` 中贡献。)"
29602962

29612963
#: ../../whatsnew/3.6.rst:1884
29622964
msgid ""
29632965
":c:func:`PyArg_ParseTupleAndKeywords` now supports :ref:`positional-only "
29642966
"parameters <positional-only_parameter>`. Positional-only parameters are "
29652967
"defined by empty names. (Contributed by Serhiy Storchaka in :issue:`26282`)."
29662968
msgstr ""
2969+
":c:func:`PyArg_ParseTupleAndKeywords` 现在支持 :ref:`仅限位置形参 <positional-"
2970+
"only_parameter>`,仅限位置形参是不带名称定义的。 (由 Serhiy Storchaka 在 :issue:`26282` 中贡献。)"
29672971

29682972
#: ../../whatsnew/3.6.rst:1889
29692973
msgid ""
29702974
"``PyTraceback_Print`` method now abbreviates long sequences of repeated "
29712975
"lines as ``\"[Previous line repeated {count} more times]\"``. (Contributed "
29722976
"by Emanuel Barry in :issue:`26823`.)"
29732977
msgstr ""
2978+
"现在 ``PyTraceback_Print`` 方法会将由重复行组成的长序列缩写为 ``\"[Previous line repeated "
2979+
"{count} more times]\"``。 (由 Emanuel Barry 在 :issue:`26823` 中贡献。)"
29742980

29752981
#: ../../whatsnew/3.6.rst:1893
29762982
msgid ""
29772983
"The new :c:func:`PyErr_SetImportErrorSubclass` function allows for "
29782984
"specifying a subclass of :exc:`ImportError` to raise. (Contributed by Eric "
29792985
"Snow in :issue:`15767`.)"
29802986
msgstr ""
2987+
"新增的 :c:func:`PyErr_SetImportErrorSubclass` 函数允许指定一个要引发的 :exc:`ImportError` "
2988+
"子类。 (由 Eric Snow 在 :issue:`15767` 中贡献。)"
29812989

29822990
#: ../../whatsnew/3.6.rst:1897
29832991
msgid ""
29842992
"The new :c:func:`PyErr_ResourceWarning` function can be used to generate a "
29852993
":exc:`ResourceWarning` providing the source of the resource allocation. "
29862994
"(Contributed by Victor Stinner in :issue:`26567`.)"
29872995
msgstr ""
2996+
"新增的 :c:func:`PyErr_ResourceWarning` 函数可被用于生成提供资源分配来源的 "
2997+
":exc:`ResourceWarning`。(由 Victor Stinner 在 :issue:`26567` 中贡献。)"
29882998

29892999
#: ../../whatsnew/3.6.rst:1901
29903000
msgid ""
29913001
"The new :c:func:`PyOS_FSPath` function returns the file system "
29923002
"representation of a :term:`path-like object`. (Contributed by Brett Cannon "
29933003
"in :issue:`27186`.)"
29943004
msgstr ""
3005+
"新增的 :c:func:`PyOS_FSPath` 函数可返回一个 :term:`path-like object` 的文件系统表示形式。 (由 "
3006+
"Brett Cannon 在 :issue:`27186` 中贡献。)"
29953007

29963008
#: ../../whatsnew/3.6.rst:1905
29973009
msgid ""
@@ -3028,6 +3040,9 @@ msgid ""
30283040
" become proper keywords in Python 3.7. Starting in Python 3.6, the use of "
30293041
"``async`` or ``await`` as names will generate a :exc:`DeprecationWarning`."
30303042
msgstr ""
3043+
"不建议将 ``async`` 和 ``await`` 作为变量、类、函数或模块的名称。 它们通过 :pep:`492` 在 Python 3.5 "
3044+
"中被引入,并将在 Python 3.7 成为保留关键字。 从 Python 3.6 开始,使用 ``async`` 或 ``await`` "
3045+
"作为名称将会产生 :exc:`DeprecationWarning`。"
30313046

30323047
#: ../../whatsnew/3.6.rst:1935
30333048
msgid "Deprecated Python behavior"

0 commit comments

Comments
 (0)