@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2024-09-20 14:57 +0000\n "
14
+ "POT-Creation-Date : 2024-10-11 14:48 +0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:32+0000\n "
16
16
"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
17
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -163,23 +163,18 @@ msgstr ""
163
163
164
164
#: ../../c-api/import.rst:123
165
165
msgid ""
166
- "The module's :attr:`__spec__` and :attr:`__loader__` will be set, if not set "
167
- " already, with the appropriate values. The spec's loader will be set to the "
168
- " module's `` __loader__`` (if set) and to an instance of "
169
- ":class:`~importlib.machinery.SourceFileLoader` otherwise."
166
+ "The module's :attr:`~module. __spec__` and :attr:`~module. __loader__` will be"
167
+ " set, if not set already, with the appropriate values. The spec's loader "
168
+ "will be set to the module's :attr:`! __loader__` (if set) and to an instance "
169
+ "of :class:`~importlib.machinery.SourceFileLoader` otherwise."
170
170
msgstr ""
171
- "模块的 :attr:`__spec__` 和 :attr:`__loader__` 如果尚未设置的话,将被设为适当的值。 相应 spec "
172
- "的加载器(如果已设置)将被设为模块的 ``__loader__`` 而在其他情况下将被设为 "
173
- ":class:`~importlib.machinery.SourceFileLoader` 的实例。"
174
171
175
172
#: ../../c-api/import.rst:128
176
173
msgid ""
177
- "The module's :attr:`__file__` attribute will be set to the code object's "
178
- ":attr:`~codeobject.co_filename`. If applicable, :attr:`__cached__` will "
179
- "also be set."
174
+ "The module's :attr:`~module. __file__` attribute will be set to the code "
175
+ "object's :attr:`~codeobject.co_filename`. If applicable, "
176
+ ":attr:`~module.__cached__` will also be set."
180
177
msgstr ""
181
- "模块的 :attr:`__file__` 属性将被设为代码对象的 :attr:`~codeobject.co_filename`。 如果适用,还将设置 "
182
- ":attr:`__cached__`。"
183
178
184
179
#: ../../c-api/import.rst:132
185
180
msgid ""
@@ -203,39 +198,32 @@ msgstr ""
203
198
204
199
#: ../../c-api/import.rst:141
205
200
msgid ""
206
- "The setting of :attr:`__cached__` and :attr:`__loader__` is deprecated. See "
207
- ":class:`~importlib.machinery.ModuleSpec` for alternatives."
201
+ "The setting of :attr:`~module. __cached__` and :attr:`~module. __loader__` is "
202
+ "deprecated. See :class:`~importlib.machinery.ModuleSpec` for alternatives."
208
203
msgstr ""
209
- ":attr:`__cached__` 和 :attr:`__loader__` 的设置已被弃用。 替代设置参见 "
210
- ":class:`~importlib.machinery.ModuleSpec`。"
211
204
212
205
#: ../../c-api/import.rst:149
213
206
msgid ""
214
- "Like :c:func:`PyImport_ExecCodeModule`, but the :attr:`__file__` attribute "
215
- "of the module object is set to *pathname* if it is non-``NULL``."
207
+ "Like :c:func:`PyImport_ExecCodeModule`, but the :attr:`~module. __file__` "
208
+ "attribute of the module object is set to *pathname* if it is non-``NULL``."
216
209
msgstr ""
217
- "类似于 :c:func:`PyImport_ExecCodeModule`,但如果 *pathname* 不为 ``NULL`` 则会被设为模块对象的 "
218
- ":attr:`__file__` 属性的值。"
219
210
220
211
#: ../../c-api/import.rst:152
221
212
msgid "See also :c:func:`PyImport_ExecCodeModuleWithPathnames`."
222
213
msgstr "参见 :c:func:`PyImport_ExecCodeModuleWithPathnames`。"
223
214
224
215
#: ../../c-api/import.rst:157
225
216
msgid ""
226
- "Like :c:func:`PyImport_ExecCodeModuleEx`, but the :attr:`__cached__` "
227
- "attribute of the module object is set to *cpathname* if it is non-``NULL``."
217
+ "Like :c:func:`PyImport_ExecCodeModuleEx`, but the :attr:`~module. __cached__`"
218
+ " attribute of the module object is set to *cpathname* if it is non-``NULL``."
228
219
" Of the three functions, this is the preferred one to use."
229
220
msgstr ""
230
- "类似于 :c:func:`PyImport_ExecCodeModuleEx`,但如果 *cpathname* 不为 ``NULL`` "
231
- "则会被设为模块对象的 :attr:`__cached__` 值。 在三个函数中,这是推荐使用的一个。"
232
221
233
222
#: ../../c-api/import.rst:163
234
223
msgid ""
235
- "Setting :attr:`__cached__` is deprecated. See "
224
+ "Setting :attr:`~module. __cached__` is deprecated. See "
236
225
":class:`~importlib.machinery.ModuleSpec` for alternatives."
237
226
msgstr ""
238
- ":attr:`__cached__` 的设置已被弃用。 替代设置参见 :class:`~importlib.machinery.ModuleSpec`。"
239
227
240
228
#: ../../c-api/import.rst:170
241
229
msgid ""
0 commit comments