@@ -2835,13 +2835,13 @@ msgstr "指向一个实例分配函数的可选指针。"
28352835msgid ""
28362836"This field is inherited by static subtypes, but not by dynamic subtypes "
28372837"(subtypes created by a class statement)."
2838- msgstr ""
2838+ msgstr "该字段会被静态子类型继承,但不会被动态子类型(通过 class 语句创建的子类型)继承。 "
28392839
28402840#: ../../c-api/typeobj.rst:1713
28412841msgid ""
28422842"For dynamic subtypes, this field is always set to "
28432843":c:func:`PyType_GenericAlloc`, to force a standard heap allocation strategy."
2844- msgstr ""
2844+ msgstr "对于动态子类型,该字段总是会被设为 :c:func:`PyType_GenericAlloc`,以强制应用标准的堆分配策略。 "
28452845
28462846#: ../../c-api/typeobj.rst:1717
28472847msgid ""
@@ -3442,7 +3442,7 @@ msgstr ""
34423442#: ../../c-api/typeobj.rst:2339
34433443msgid ""
34443444"This slot may be set to ``NULL`` if an object is not an :term:`awaitable`."
3445- msgstr ""
3445+ msgstr "如果一个对象不是 :term:`awaitable` 则此槽位可被设为 ``NULL``。 "
34463446
34473447#: ../../c-api/typeobj.rst:2347
34483448msgid ""
@@ -3453,7 +3453,7 @@ msgstr ""
34533453msgid ""
34543454"This slot may be set to ``NULL`` if an object does not implement "
34553455"asynchronous iteration protocol."
3456- msgstr ""
3456+ msgstr "如果一个对象没有实现异步迭代协议则此槽位可被设为 ``NULL``。 "
34573457
34583458#: ../../c-api/typeobj.rst:2358
34593459msgid ""
@@ -3520,7 +3520,7 @@ msgstr "返回对象的指定属性的值。"
35203520msgid ""
35213521"Set the value of the named attribute for the object. The value argument is "
35223522"set to ``NULL`` to delete the attribute."
3523- msgstr ""
3523+ msgstr "为对象设置指定属性的值。 将 value 参数设为 ``NULL`` 将删除该属性。 "
35243524
35253525#: ../../c-api/typeobj.rst:2421
35263526msgid "See :c:member:`~PyTypeObject.tp_getattro`."
0 commit comments