@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.7\n "
17
17
"Report-Msgid-Bugs-To : \n "
18
- "POT-Creation-Date : 2023-02 -24 14:40+0000\n "
18
+ "POT-Creation-Date : 2023-03 -24 14:40+0000\n "
19
19
"PO-Revision-Date : 2019-09-01 03:40+0000\n "
20
20
"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
21
21
"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -66,23 +66,26 @@ msgid ""
66
66
"must be done by using the macros :c:macro:`Py_REFCNT`, :c:macro:`Py_TYPE`, "
67
67
"and :c:macro:`Py_SIZE`."
68
68
msgstr ""
69
+ "这是一个 :c:type:`PyObject` 的添加了 :attr:`ob_size` 字段的扩展。 它仅用于具有某种 *长度* 标记的对象。 "
70
+ "此类型并不经常在 Python/C API 中出现。 对成员的访问必须通过使用 :c:macro:`Py_REFCNT`, "
71
+ ":c:macro:`Py_TYPE` 和 :c:macro:`Py_SIZE` 宏来完成。"
69
72
70
73
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:42
71
74
msgid ""
72
75
"This is a macro used when declaring new types which represent objects "
73
76
"without a varying length. The PyObject_HEAD macro expands to::"
74
- msgstr ""
77
+ msgstr "这是一个在声明代表无可变长度对象的新类型时所使用的宏。 该 PyObject_HEAD 宏被扩展为:: "
75
78
76
79
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:47
77
80
msgid "See documentation of :c:type:`PyObject` above."
78
- msgstr ""
81
+ msgstr "参见上面 :c:type:`PyObject` 的文档。 "
79
82
80
83
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:52
81
84
msgid ""
82
85
"This is a macro used when declaring new types which represent objects with a"
83
86
" length that varies from instance to instance. The PyObject_VAR_HEAD macro "
84
87
"expands to::"
85
- msgstr ""
88
+ msgstr "这是一个在声明代表每个实例具有可变长度的对象时所使用的宏。 PyObject_VAR_HEAD 宏被扩展为:: "
86
89
87
90
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:58
88
91
msgid "See documentation of :c:type:`PyVarObject` above."
@@ -110,14 +113,15 @@ msgstr ""
110
113
msgid ""
111
114
"This is a macro which expands to initialization values for a new "
112
115
":c:type:`PyObject` type. This macro expands to::"
113
- msgstr ""
116
+ msgstr "这是一个为新的 :c:type:`PyObject` 类型扩展初始化值的宏。 该宏扩展为:: "
114
117
115
118
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:97
116
119
msgid ""
117
120
"This is a macro which expands to initialization values for a new "
118
121
":c:type:`PyVarObject` type, including the :attr:`ob_size` field. This macro "
119
122
"expands to::"
120
123
msgstr ""
124
+ "这是一个为新的 :c:type:`PyVarObject` 类型扩展初始化值的宏,包括 :attr:`ob_size` 字段。 该宏扩展为::"
121
125
122
126
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:107
123
127
msgid ""
@@ -151,7 +155,7 @@ msgstr ""
151
155
msgid ""
152
156
"Structure used to describe a method of an extension type. This structure "
153
157
"has four fields:"
154
- msgstr ""
158
+ msgstr "用于描述一个扩展类型的方法的结构体。 该结构体有四个字段: "
155
159
156
160
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:139
157
161
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:279
@@ -187,7 +191,7 @@ msgstr ""
187
191
188
192
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:141
189
193
msgid "name of the method"
190
- msgstr ""
194
+ msgstr "方法名 "
191
195
192
196
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:143
193
197
msgid ":attr:`ml_meth`"
@@ -199,7 +203,7 @@ msgstr ""
199
203
200
204
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:143
201
205
msgid "pointer to the C implementation"
202
- msgstr ""
206
+ msgstr "指向 C 实现的指针 "
203
207
204
208
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:146
205
209
msgid ":attr:`ml_flags`"
0 commit comments