@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.12\n "
1313"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 "
1515"PO-Revision-Date : 2024-05-11 00:32+0000\n "
1616"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
1717"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -163,23 +163,18 @@ msgstr ""
163163
164164#: ../../c-api/import.rst:123
165165msgid ""
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."
170170msgstr ""
171- "模块的 :attr:`__spec__` 和 :attr:`__loader__` 如果尚未设置的话,将被设为适当的值。 相应 spec "
172- "的加载器(如果已设置)将被设为模块的 ``__loader__`` 而在其他情况下将被设为 "
173- ":class:`~importlib.machinery.SourceFileLoader` 的实例。"
174171
175172#: ../../c-api/import.rst:128
176173msgid ""
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."
180177msgstr ""
181- "模块的 :attr:`__file__` 属性将被设为代码对象的 :attr:`~codeobject.co_filename`。 如果适用,还将设置 "
182- ":attr:`__cached__`。"
183178
184179#: ../../c-api/import.rst:132
185180msgid ""
@@ -203,39 +198,32 @@ msgstr ""
203198
204199#: ../../c-api/import.rst:141
205200msgid ""
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."
208203msgstr ""
209- ":attr:`__cached__` 和 :attr:`__loader__` 的设置已被弃用。 替代设置参见 "
210- ":class:`~importlib.machinery.ModuleSpec`。"
211204
212205#: ../../c-api/import.rst:149
213206msgid ""
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``."
216209msgstr ""
217- "类似于 :c:func:`PyImport_ExecCodeModule`,但如果 *pathname* 不为 ``NULL`` 则会被设为模块对象的 "
218- ":attr:`__file__` 属性的值。"
219210
220211#: ../../c-api/import.rst:152
221212msgid "See also :c:func:`PyImport_ExecCodeModuleWithPathnames`."
222213msgstr "参见 :c:func:`PyImport_ExecCodeModuleWithPathnames`。"
223214
224215#: ../../c-api/import.rst:157
225216msgid ""
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``."
228219" Of the three functions, this is the preferred one to use."
229220msgstr ""
230- "类似于 :c:func:`PyImport_ExecCodeModuleEx`,但如果 *cpathname* 不为 ``NULL`` "
231- "则会被设为模块对象的 :attr:`__cached__` 值。 在三个函数中,这是推荐使用的一个。"
232221
233222#: ../../c-api/import.rst:163
234223msgid ""
235- "Setting :attr:`__cached__` is deprecated. See "
224+ "Setting :attr:`~module. __cached__` is deprecated. See "
236225":class:`~importlib.machinery.ModuleSpec` for alternatives."
237226msgstr ""
238- ":attr:`__cached__` 的设置已被弃用。 替代设置参见 :class:`~importlib.machinery.ModuleSpec`。"
239227
240228#: ../../c-api/import.rst:170
241229msgid ""
0 commit comments