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

Skip to content

Commit 2355167

Browse files
[po] auto sync
1 parent 493cfd5 commit 2355167

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.83%", "updated_at": "2023-08-14T22:57:11Z"}
1+
{"translation": "89.84%", "updated_at": "2023-08-15T06:58:02Z"}

c-api/type.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,13 @@ msgstr "类型的名称,用来设置 :c:member:`PyTypeObject.tp_name`。"
496496
msgid ""
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
502502
msgid ""
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
508508
msgid ""
@@ -511,17 +511,21 @@ msgid ""
511511
":c:func:`PyObject_GetTypeData` to get a pointer to subclass-specific memory "
512512
"reserved this way."
513513
msgstr ""
514+
"如果为负数,则以其绝对值指定该类的实例在超类的 *基础之上* 还需要多少空间。 使用 :c:func:`PyObject_GetTypeData` "
515+
"来获取通过此方式保留的子类专属内存的指针。"
514516

515517
#: ../../c-api/type.rst:401
516518
msgid "Previously, this field could not be negative."
517-
msgstr ""
519+
msgstr "在之前版本中,此字段不能为负数。"
518520

519521
#: ../../c-api/type.rst:405
520522
msgid ""
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."
524526
msgstr ""
527+
"可变大小类型中一个元素的大小,以字节为单位。 用于设置 :c:member:`PyTypeObject.tp_itemsize`。 注意事项请参阅 "
528+
"``tp_itemsize`` 文档。"
525529

526530
#: ../../c-api/type.rst:409
527531
msgid ""

0 commit comments

Comments
 (0)