@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.9\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2021-06-28 06:43 +0000\n "
14
+ "POT-Creation-Date : 2021-07-18 06:55 +0000\n "
15
15
"PO-Revision-Date : 2019-09-01 14:41+0000\n "
16
16
"Last-Translator : tomo, 2019\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -157,7 +157,7 @@ msgid ""
157
157
"You can also get the full set of files contained within a distribution. The"
158
158
" ``files()`` function takes a distribution package name and returns all of "
159
159
"the files installed by this distribution. Each file object returned is a "
160
- "``PackagePath``, a :class:`pathlib.Path ` derived object with additional "
160
+ "``PackagePath``, a :class:`pathlib.PurePath ` derived object with additional "
161
161
"``dist``, ``size``, and ``hash`` properties as indicated by the metadata. "
162
162
"For example::"
163
163
msgstr ""
@@ -168,6 +168,12 @@ msgstr ""
168
168
169
169
#: ../../library/importlib.metadata.rst:176
170
170
msgid ""
171
+ "You can also use the ``locate`` method to get a the absolute path to the "
172
+ "file::"
173
+ msgstr ""
174
+
175
+ #: ../../library/importlib.metadata.rst:182
176
+ msgid ""
171
177
"In the case where the metadata file listing files (RECORD or SOURCES.txt) is"
172
178
" missing, ``files()`` will return ``None``. The caller may wish to wrap "
173
179
"calls to ``files()`` in `always_iterable <https://more-"
@@ -176,51 +182,51 @@ msgid ""
176
182
" known to have the metadata present."
177
183
msgstr ""
178
184
179
- #: ../../library/importlib.metadata.rst:187
185
+ #: ../../library/importlib.metadata.rst:193
180
186
msgid "Distribution requirements"
181
187
msgstr ""
182
188
183
- #: ../../library/importlib.metadata.rst:189
189
+ #: ../../library/importlib.metadata.rst:195
184
190
msgid ""
185
191
"To get the full set of requirements for a distribution, use the "
186
192
"``requires()`` function::"
187
193
msgstr ""
188
194
189
- #: ../../library/importlib.metadata.rst:197
195
+ #: ../../library/importlib.metadata.rst:203
190
196
msgid "Distributions"
191
197
msgstr ""
192
198
193
- #: ../../library/importlib.metadata.rst:199
199
+ #: ../../library/importlib.metadata.rst:205
194
200
msgid ""
195
201
"While the above API is the most common and convenient usage, you can get all"
196
202
" of that information from the ``Distribution`` class. A ``Distribution`` is"
197
203
" an abstract object that represents the metadata for a Python package. You "
198
204
"can get the ``Distribution`` instance::"
199
205
msgstr ""
200
206
201
- #: ../../library/importlib.metadata.rst:207
207
+ #: ../../library/importlib.metadata.rst:213
202
208
msgid ""
203
209
"Thus, an alternative way to get the version number is through the "
204
210
"``Distribution`` instance::"
205
211
msgstr ""
206
212
207
- #: ../../library/importlib.metadata.rst:213
213
+ #: ../../library/importlib.metadata.rst:219
208
214
msgid ""
209
215
"There are all kinds of additional metadata available on the ``Distribution``"
210
216
" instance::"
211
217
msgstr ""
212
218
213
- #: ../../library/importlib.metadata.rst:221
219
+ #: ../../library/importlib.metadata.rst:227
214
220
msgid ""
215
221
"The full set of available metadata is not described here. See :pep:`566` "
216
222
"for additional details."
217
223
msgstr ""
218
224
219
- #: ../../library/importlib.metadata.rst:226
225
+ #: ../../library/importlib.metadata.rst:232
220
226
msgid "Extending the search algorithm"
221
227
msgstr ""
222
228
223
- #: ../../library/importlib.metadata.rst:228
229
+ #: ../../library/importlib.metadata.rst:234
224
230
msgid ""
225
231
"Because package metadata is not available through :data:`sys.path` searches,"
226
232
" or package loaders directly, the metadata for a package is found through "
@@ -229,14 +235,14 @@ msgid ""
229
235
"path finders <meta path finder>` on :data:`sys.meta_path`."
230
236
msgstr ""
231
237
232
- #: ../../library/importlib.metadata.rst:234
238
+ #: ../../library/importlib.metadata.rst:240
233
239
msgid ""
234
240
"The default ``PathFinder`` for Python includes a hook that calls into "
235
241
"``importlib.metadata.MetadataPathFinder`` for finding distributions loaded "
236
242
"from typical file-system-based paths."
237
243
msgstr ""
238
244
239
- #: ../../library/importlib.metadata.rst:238
245
+ #: ../../library/importlib.metadata.rst:244
240
246
msgid ""
241
247
"The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the "
242
248
"interface expected of finders by Python's import system. "
@@ -246,14 +252,14 @@ msgid ""
246
252
"base class, which defines this abstract method::"
247
253
msgstr ""
248
254
249
- #: ../../library/importlib.metadata.rst:252
255
+ #: ../../library/importlib.metadata.rst:258
250
256
msgid ""
251
257
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
252
258
"properties indicating the path to search and name to match and may supply "
253
259
"other relevant context."
254
260
msgstr ""
255
261
256
- #: ../../library/importlib.metadata.rst:256
262
+ #: ../../library/importlib.metadata.rst:262
257
263
msgid ""
258
264
"What this means in practice is that to support finding distribution package "
259
265
"metadata in locations other than the file system, subclass ``Distribution`` "
@@ -262,11 +268,11 @@ msgid ""
262
268
"method."
263
269
msgstr ""
264
270
265
- #: ../../library/importlib.metadata.rst:269
271
+ #: ../../library/importlib.metadata.rst:275
266
272
msgid "Footnotes"
267
273
msgstr "脚注"
268
274
269
- #: ../../library/importlib.metadata.rst:270
275
+ #: ../../library/importlib.metadata.rst:276
270
276
msgid ""
271
277
"Technically, the returned distribution metadata object is an "
272
278
":class:`email.message.EmailMessage` instance, but this is an implementation "
0 commit comments