@@ -3911,32 +3911,35 @@ msgstr ":c:macro:`T_NONE` (之前未写入文档,并且相当怪异)"
39113911
39123912#: ../../whatsnew/3.12.rst:1989
39133913msgid "The macro ``WRITE_RESTRICTED`` which does nothing."
3914- msgstr ""
3914+ msgstr "不进行任何操作的宏 ``WRITE_RESTRICTED``。 "
39153915
39163916#: ../../whatsnew/3.12.rst:1990
39173917msgid ""
39183918"The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of "
39193919":c:macro:`Py_AUDIT_READ`."
3920- msgstr ""
3920+ msgstr "``RESTRICTED`` 和 ``READ_RESTRICTED`` 宏,等同于 :c:macro:`Py_AUDIT_READ`。 "
39213921
39223922#: ../../whatsnew/3.12.rst:1992
39233923msgid ""
39243924"In some configurations, ``<stddef.h>`` is not included from ``Python.h``. It"
39253925" should be included manually when using ``offsetof()``."
39263926msgstr ""
3927+ "在某些配置中,``Python.h`` 未被 ``<stddef.h>`` 包括。 在使用 ``offsetof()`` 时应当手动包括它。"
39273928
39283929#: ../../whatsnew/3.12.rst:1995
39293930msgid ""
39303931"The deprecated header continues to provide its original contents under the "
39313932"original names. Your old code can stay unchanged, unless the extra include "
39323933"and non-namespaced macros bother you greatly."
3933- msgstr ""
3934+ msgstr "已被弃用的头文件将继续以原来的名称提供原来的内容。 你的旧代码可以保持不变,除非额外的包括指令和无命名空间宏会给你带来很大困扰。 "
39343935
39353936#: ../../whatsnew/3.12.rst:2000
39363937msgid ""
39373938"(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by "
39383939"Alexander Belopolsky and Matthias Braun.)"
39393940msgstr ""
3941+ "(由 Petr Viktorin 在 :gh:`47146` 中贡献,基于 Alexander Belopolsky 和 Matthias Braun "
3942+ "在先前的工作。).)"
39403943
39413944#: ../../whatsnew/3.12.rst:2003
39423945msgid ""
@@ -3953,12 +3956,16 @@ msgid ""
39533956":c:func:`!PyErr_Display` is deprecated. Use :c:func:`PyErr_DisplayException`"
39543957" instead. (Contributed by Irit Katriel in :gh:`102755`)."
39553958msgstr ""
3959+ ":c:func:`!PyErr_Display` 已被弃用,请改用 :c:func:`PyErr_DisplayException`。 (由 Irit "
3960+ "Katriel 在 :gh:`102755` 中贡献。)"
39563961
39573962#: ../../whatsnew/3.12.rst:2011
39583963msgid ""
39593964"``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` "
39603965"instead. (Contributed by Irit Katriel in :gh:`102192`.)"
39613966msgstr ""
3967+ "``_PyErr_ChainExceptions`` 已被弃用。 请改用 ``_PyErr_ChainExceptions1``。 (由 Irit "
3968+ "Katriel 在 :gh:`102192` 中贡献。)"
39623969
39633970#: ../../whatsnew/3.12.rst:2014
39643971msgid ""
@@ -3967,17 +3974,23 @@ msgid ""
39673974"overrides :c:member:`~PyTypeObject.tp_new` is deprecated. Call the metaclass"
39683975" instead."
39693976msgstr ""
3977+ "使用 :c:func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases` 或 "
3978+ ":c:func:`PyType_FromModuleAndSpec` 来创建所属元类重载了 "
3979+ ":c:member:`~PyTypeObject.tp_new` 的类的做法已被弃用。 请改为调用相应元类。is deprecated. Call "
3980+ "the metaclass instead."
39703981
39713982#: ../../whatsnew/3.12.rst:2022
39723983msgid ""
39733984"Remove the ``token.h`` header file. There was never any public tokenizer C "
39743985"API. The ``token.h`` header file was only designed to be used by Python "
39753986"internals. (Contributed by Victor Stinner in :gh:`92651`.)"
39763987msgstr ""
3988+ "移除了 ``token.h`` 头文件。 从来就没有任何公用的分词器 C API。 ``token.h`` 头文件只是为 Python "
3989+ "内部使用而设计的。 (由 Victor Stinner 在 :gh:`92651` 中贡献。)"
39773990
39783991#: ../../whatsnew/3.12.rst:2027
39793992msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail."
3980- msgstr ""
3993+ msgstr "旧式 Unicode API 已被移除。 请参阅 :pep:`623` 了解详情。for detail. "
39813994
39823995#: ../../whatsnew/3.12.rst:2029
39833996msgid ":c:macro:`!PyUnicode_WCHAR_KIND`"
0 commit comments