Skip to content

Commit f0949bd

Browse files
[po] auto sync
1 parent 67f235f commit f0949bd

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

c-api/structures.po

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ msgstr ":attr:`ml_name`"
187187
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:347
188188
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:355
189189
msgid "const char \\*"
190-
msgstr ""
190+
msgstr "const char \\*"
191191

192192
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:141
193193
msgid "name of the method"
@@ -309,6 +309,9 @@ msgid ""
309309
"and will hold a reference to the module or object instance. In all cases "
310310
"the second parameter will be ``NULL``."
311311
msgstr ""
312+
"没有形参的方法如果通过 :const:`METH_NOARGS` 旗标列出了参数则不需要检查是否提供了参数。 它们必须为 "
313+
":c:type:`PyCFunction` 类型。 第一个形参通常命名为 *self* 并将存放一个指向模块或对象实例的引用。 "
314+
"在所有情况下第二个形参都将为 ``NULL``。"
312315

313316
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:226
314317
msgid ""
@@ -372,15 +375,15 @@ msgstr ":attr:`name`"
372375

373376
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:281
374377
msgid "name of the member"
375-
msgstr ""
378+
msgstr "成员名称"
376379

377380
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:283
378381
msgid ":attr:`!type`"
379-
msgstr ""
382+
msgstr ":attr:`!type`"
380383

381384
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:283
382385
msgid "the type of the member in the C struct"
383-
msgstr ""
386+
msgstr "C 结构体中成员的类型"
384387

385388
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:286
386389
msgid ":attr:`offset`"
@@ -394,15 +397,15 @@ msgstr "Py_ssize_t"
394397
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:286
395398
msgid ""
396399
"the offset in bytes that the member is located on the type's object struct"
397-
msgstr ""
400+
msgstr "成员在类型的对象结构体中所在位置的以字节表示的偏移量"
398401

399402
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:290
400403
msgid ":attr:`flags`"
401404
msgstr ":attr:`flags`"
402405

403406
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:290
404407
msgid "flag bits indicating if the field should be read-only or writable"
405-
msgstr ""
408+
msgstr "指明字段是否应为只读或可写的旗标位"
406409

407410
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:294
408411
msgid ":attr:`doc`"

0 commit comments

Comments
 (0)