@@ -187,7 +187,7 @@ msgstr ":attr:`ml_name`"
187
187
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:347
188
188
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:355
189
189
msgid "const char \\ *"
190
- msgstr ""
190
+ msgstr "const char \\ * "
191
191
192
192
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:141
193
193
msgid "name of the method"
@@ -309,6 +309,9 @@ msgid ""
309
309
"and will hold a reference to the module or object instance. In all cases "
310
310
"the second parameter will be ``NULL``."
311
311
msgstr ""
312
+ "没有形参的方法如果通过 :const:`METH_NOARGS` 旗标列出了参数则不需要检查是否提供了参数。 它们必须为 "
313
+ ":c:type:`PyCFunction` 类型。 第一个形参通常命名为 *self* 并将存放一个指向模块或对象实例的引用。 "
314
+ "在所有情况下第二个形参都将为 ``NULL``。"
312
315
313
316
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:226
314
317
msgid ""
@@ -372,15 +375,15 @@ msgstr ":attr:`name`"
372
375
373
376
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:281
374
377
msgid "name of the member"
375
- msgstr ""
378
+ msgstr "成员名称 "
376
379
377
380
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:283
378
381
msgid ":attr:`!type`"
379
- msgstr ""
382
+ msgstr ":attr:`!type` "
380
383
381
384
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:283
382
385
msgid "the type of the member in the C struct"
383
- msgstr ""
386
+ msgstr "C 结构体中成员的类型 "
384
387
385
388
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:286
386
389
msgid ":attr:`offset`"
@@ -394,15 +397,15 @@ msgstr "Py_ssize_t"
394
397
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:286
395
398
msgid ""
396
399
"the offset in bytes that the member is located on the type's object struct"
397
- msgstr ""
400
+ msgstr "成员在类型的对象结构体中所在位置的以字节表示的偏移量 "
398
401
399
402
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:290
400
403
msgid ":attr:`flags`"
401
404
msgstr ":attr:`flags`"
402
405
403
406
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:290
404
407
msgid "flag bits indicating if the field should be read-only or writable"
405
- msgstr ""
408
+ msgstr "指明字段是否应为只读或可写的旗标位 "
406
409
407
410
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:294
408
411
msgid ":attr:`doc`"
0 commit comments