File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 89.83 %" , "updated_at" : " 2023-08-14T22:57:11Z " }
1+ {"translation" : " 89.84 %" , "updated_at" : " 2023-08-15T06:58:02Z " }
Original file line number Diff line number Diff line change @@ -496,13 +496,13 @@ msgstr "类型的名称,用来设置 :c:member:`PyTypeObject.tp_name`。"
496496msgid ""
497497"If positive, specifies the size of the instance in bytes. It is used to set "
498498":c:member:`PyTypeObject.tp_basicsize`."
499- msgstr ""
499+ msgstr "如果为正数,则以字节为单位指定实例的大小。 它用于设置 :c:member:`PyTypeObject.tp_basicsize`。 "
500500
501501#: ../../c-api/type.rst:391
502502msgid ""
503503"If zero, specifies that :c:member:`~PyTypeObject.tp_basicsize` should be "
504504"inherited."
505- msgstr ""
505+ msgstr "如果为零,则指定应当继承 :c:member:`~PyTypeObject.tp_basicsize`。 "
506506
507507#: ../../c-api/type.rst:394
508508msgid ""
@@ -511,17 +511,21 @@ msgid ""
511511":c:func:`PyObject_GetTypeData` to get a pointer to subclass-specific memory "
512512"reserved this way."
513513msgstr ""
514+ "如果为负数,则以其绝对值指定该类的实例在超类的 *基础之上* 还需要多少空间。 使用 :c:func:`PyObject_GetTypeData` "
515+ "来获取通过此方式保留的子类专属内存的指针。"
514516
515517#: ../../c-api/type.rst:401
516518msgid "Previously, this field could not be negative."
517- msgstr ""
519+ msgstr "在之前版本中,此字段不能为负数。 "
518520
519521#: ../../c-api/type.rst:405
520522msgid ""
521523"Size of one element of a variable-size type, in bytes. Used to set "
522524":c:member:`PyTypeObject.tp_itemsize`. See ``tp_itemsize`` documentation for "
523525"caveats."
524526msgstr ""
527+ "可变大小类型中一个元素的大小,以字节为单位。 用于设置 :c:member:`PyTypeObject.tp_itemsize`。 注意事项请参阅 "
528+ "``tp_itemsize`` 文档。"
525529
526530#: ../../c-api/type.rst:409
527531msgid ""
You can’t perform that action at this time.
0 commit comments