Skip to content

Commit df714c9

Browse files
[po] auto sync
1 parent 0a03113 commit df714c9

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.93%", "updated_at": "2024-05-08T01:28:58Z"}
1+
{"translation": "92.94%", "updated_at": "2024-05-08T08:23:52Z"}

whatsnew/3.4.po

+17
Original file line numberDiff line numberDiff line change
@@ -2955,6 +2955,8 @@ msgid ""
29552955
"New :class:`~weakref.WeakMethod` class simulates weak references to bound "
29562956
"methods. (Contributed by Antoine Pitrou in :issue:`14631`.)"
29572957
msgstr ""
2958+
"新增的 :class:`~weakref.WeakMethod` 类可模拟指向绑定方法的弱引用。 (由 Antoine Pitrou 在 "
2959+
":issue:`14631` 中贡献。)"
29582960

29592961
#: ../../whatsnew/3.4.rst:1754
29602962
msgid ""
@@ -2963,13 +2965,18 @@ msgid ""
29632965
"to carefully manage the lifecycle of the weak reference itself. "
29642966
"(Contributed by Richard Oudkerk in :issue:`15528`.)"
29652967
msgstr ""
2968+
"新增的 :class:`~weakref.finalize` "
2969+
"类使得注册一个当对象被作为垃圾回收时发起调用的回调成为可能,而无需小心地管理弱引用本身的生命周期。 (由 Richard Oudkerk 在 "
2970+
":issue:`15528` 中贡献。)"
29662971

29672972
#: ../../whatsnew/3.4.rst:1759
29682973
msgid ""
29692974
"The callback, if any, associated with a :class:`~weakref.ref` is now exposed"
29702975
" via the :attr:`~weakref.ref.__callback__` attribute. (Contributed by Mark "
29712976
"Dickinson in :issue:`17643`.)"
29722977
msgstr ""
2978+
"如果存在任何与 :class:`~weakref.ref` 相关联的回调,现在将通过 :attr:`~weakref.ref.__callback__`"
2979+
" 属性对外公开。 (由 Mark Dickinson 在 :issue:`17643` 中贡献。)"
29732980

29742981
#: ../../whatsnew/3.4.rst:1765
29752982
msgid "xml.etree"
@@ -2982,6 +2989,9 @@ msgid ""
29822989
":ref:`elementtree-pull-parsing`. (Contributed by Antoine Pitrou in "
29832990
":issue:`17741`.)"
29842991
msgstr ""
2992+
"新增的解析器 :class:`~xml.etree.ElementTree.XMLPullParser` 允许用非阻塞的应用程序来解析 XML 文档。 "
2993+
"相关示例可参见 :ref:`elementtree-pull-parsing`。 (由 Antoine Pitrou 在 :issue:`17741` "
2994+
"中贡献。)"
29852995

29862996
#: ../../whatsnew/3.4.rst:1772
29872997
msgid ""
@@ -2994,6 +3004,13 @@ msgid ""
29943004
" written in abbreviated (``<tag />``) or expanded (``<tag></tag>``) form. "
29953005
"(Contributed by Ariel Poliak and Serhiy Storchaka in :issue:`14377`.)"
29963006
msgstr ""
3007+
"现在 :mod:`xml.etree.ElementTree` :func:`~xml.etree.ElementTree.tostring` 和 "
3008+
":func:`~xml.etree.ElementTree.tostringlist` 函数,以及 "
3009+
":class:`~xml.etree.ElementTree.ElementTree` 的 "
3010+
":meth:`~xml.etree.ElementTree.ElementTree.write` 方法都具有一个 "
3011+
"*short_empty_elements* :ref:`仅限关键字形参 <keyword-only_parameter>` "
3012+
"用来提供对于无内容的元素要采取缩写 (``<tag />``) 还是扩展 (``<tag></tag>``) 形式的控制。 (由 Ariel "
3013+
"Poliak 和 Serhiy Storchaka 在 :issue:`14377` 中贡献。)"
29973014

29983015
#: ../../whatsnew/3.4.rst:1783
29993016
msgid "zipfile"

0 commit comments

Comments
 (0)