Skip to content

Commit 03bd316

Browse files
sync with cpython aa4da1e4
1 parent 133f527 commit 03bd316

23 files changed

+2856
-2644
lines changed

c-api/import.po

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.13\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
11+
"POT-Creation-Date: 2024-10-10 00:13+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -159,17 +159,17 @@ msgstr ""
159159

160160
#: ../../c-api/import.rst:139
161161
msgid ""
162-
"The module's :attr:`__spec__` and :attr:`__loader__` will be set, if not set "
163-
"already, with the appropriate values. The spec's loader will be set to the "
164-
"module's ``__loader__`` (if set) and to an instance of :class:`~importlib."
165-
"machinery.SourceFileLoader` otherwise."
162+
"The module's :attr:`~module.__spec__` and :attr:`~module.__loader__` will be "
163+
"set, if not set already, with the appropriate values. The spec's loader "
164+
"will be set to the module's :attr:`!__loader__` (if set) and to an instance "
165+
"of :class:`~importlib.machinery.SourceFileLoader` otherwise."
166166
msgstr ""
167167

168168
#: ../../c-api/import.rst:144
169169
msgid ""
170-
"The module's :attr:`__file__` attribute will be set to the code object's :"
171-
"attr:`~codeobject.co_filename`. If applicable, :attr:`__cached__` will also "
172-
"be set."
170+
"The module's :attr:`~module.__file__` attribute will be set to the code "
171+
"object's :attr:`~codeobject.co_filename`. If applicable, :attr:`~module."
172+
"__cached__` will also be set."
173173
msgstr ""
174174

175175
#: ../../c-api/import.rst:148
@@ -192,14 +192,14 @@ msgstr ""
192192

193193
#: ../../c-api/import.rst:157
194194
msgid ""
195-
"The setting of :attr:`__cached__` and :attr:`__loader__` is deprecated. See :"
196-
"class:`~importlib.machinery.ModuleSpec` for alternatives."
195+
"The setting of :attr:`~module.__cached__` and :attr:`~module.__loader__` is "
196+
"deprecated. See :class:`~importlib.machinery.ModuleSpec` for alternatives."
197197
msgstr ""
198198

199199
#: ../../c-api/import.rst:165
200200
msgid ""
201-
"Like :c:func:`PyImport_ExecCodeModule`, but the :attr:`__file__` attribute "
202-
"of the module object is set to *pathname* if it is non-``NULL``."
201+
"Like :c:func:`PyImport_ExecCodeModule`, but the :attr:`~module.__file__` "
202+
"attribute of the module object is set to *pathname* if it is non-``NULL``."
203203
msgstr ""
204204

205205
#: ../../c-api/import.rst:168
@@ -208,15 +208,15 @@ msgstr "也請見 :c:func:`PyImport_ExecCodeModuleWithPathnames`。"
208208

209209
#: ../../c-api/import.rst:173
210210
msgid ""
211-
"Like :c:func:`PyImport_ExecCodeModuleEx`, but the :attr:`__cached__` "
211+
"Like :c:func:`PyImport_ExecCodeModuleEx`, but the :attr:`~module.__cached__` "
212212
"attribute of the module object is set to *cpathname* if it is non-``NULL``. "
213213
"Of the three functions, this is the preferred one to use."
214214
msgstr ""
215215

216216
#: ../../c-api/import.rst:179
217217
msgid ""
218-
"Setting :attr:`__cached__` is deprecated. See :class:`~importlib.machinery."
219-
"ModuleSpec` for alternatives."
218+
"Setting :attr:`~module.__cached__` is deprecated. See :class:`~importlib."
219+
"machinery.ModuleSpec` for alternatives."
220220
msgstr ""
221221

222222
#: ../../c-api/import.rst:186

0 commit comments

Comments
 (0)