@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version :Python 3.8\n "
1313"Report-Msgid-Bugs-To :\n "
14- "POT-Creation-Date :2021-01-01 16:06 +0000\n "
14+ "POT-Creation-Date :2021-04-15 17:05 +0000\n "
1515"PO-Revision-Date :2020-05-30 12:04+0000\n "
1616"Last-Translator :tomo, 2020\n "
1717"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -25,13 +25,17 @@ msgstr ""
2525msgid "Using :mod:`!importlib.metadata`"
2626msgstr ""
2727
28- #: ../../library/importlib.metadata.rst:8
28+ #: ../../library/importlib.metadata.rst:10
29+ msgid "**Source code:** :source:`Lib/importlib/metadata.py`"
30+ msgstr ""
31+
32+ #: ../../library/importlib.metadata.rst:13
2933msgid ""
3034"This functionality is provisional and may deviate from the usual version "
3135"semantics of the standard library."
3236msgstr ""
3337
34- #: ../../library/importlib.metadata.rst:11
38+ #: ../../library/importlib.metadata.rst:16
3539msgid ""
3640"``importlib.metadata`` is a library that provides for access to installed "
3741"package metadata. Built in part on Python's import system, this library "
@@ -42,7 +46,7 @@ msgid ""
4246"efficient ``pkg_resources`` package."
4347msgstr ""
4448
45- #: ../../library/importlib.metadata.rst:20
49+ #: ../../library/importlib.metadata.rst:25
4650msgid ""
4751"By\" installed package\" we generally mean a third-party package installed "
4852"into Python's ``site-packages`` directory via tools such as `pip "
@@ -53,60 +57,60 @@ msgid ""
5357" Through an extension mechanism, the metadata can live almost anywhere."
5458msgstr ""
5559
56- #: ../../library/importlib.metadata.rst:31
60+ #: ../../library/importlib.metadata.rst:36
5761msgid "Overview"
5862msgstr "概要"
5963
60- #: ../../library/importlib.metadata.rst:33
64+ #: ../../library/importlib.metadata.rst:38
6165msgid ""
6266"Let's say you wanted to get the version string for a package you've "
6367"installed using ``pip``. We start by creating a virtual environment and "
6468"installing something into it:"
6569msgstr ""
6670
67- #: ../../library/importlib.metadata.rst:43
71+ #: ../../library/importlib.metadata.rst:48
6872msgid "You can get the version string for ``wheel`` by running the following:"
6973msgstr ""
7074
71- #: ../../library/importlib.metadata.rst:52
75+ #: ../../library/importlib.metadata.rst:57
7276msgid ""
7377"You can also get the set of entry points keyed by group, such as "
7478"``console_scripts``, ``distutils.commands`` and others. Each group contains"
7579" a sequence of :ref:`EntryPoint <entry-points>` objects."
7680msgstr ""
7781
78- #: ../../library/importlib.metadata.rst:56
82+ #: ../../library/importlib.metadata.rst:61
7983msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
8084msgstr ""
8185
82- #: ../../library/importlib.metadata.rst:61
86+ #: ../../library/importlib.metadata.rst:66
8387msgid ""
8488"You can also get a :ref:`distribution's version number <version>`, list its "
8589":ref:`constituent files <files>`, and get a list of the distribution's "
8690":ref:`requirements`."
8791msgstr ""
8892
89- #: ../../library/importlib.metadata.rst:67
93+ #: ../../library/importlib.metadata.rst:72
9094msgid "Functional API"
9195msgstr "機能 API"
9296
93- #: ../../library/importlib.metadata.rst:69
97+ #: ../../library/importlib.metadata.rst:74
9498msgid "This package provides the following functionality via its public API."
9599msgstr ""
96100
97- #: ../../library/importlib.metadata.rst:75
101+ #: ../../library/importlib.metadata.rst:80
98102msgid "Entry points"
99103msgstr ""
100104
101- #: ../../library/importlib.metadata.rst:77
105+ #: ../../library/importlib.metadata.rst:82
102106msgid ""
103107"The ``entry_points()`` function returns a dictionary of all entry points, "
104108"keyed by group. Entry points are represented by ``EntryPoint`` instances; "
105109"each ``EntryPoint`` has a ``.name``, ``.group``, and ``.value`` attributes "
106110"and a ``.load()`` method to resolve the value."
107111msgstr ""
108112
109- #: ../../library/importlib.metadata.rst:93
113+ #: ../../library/importlib.metadata.rst:98
110114msgid ""
111115"The ``group`` and ``name`` are arbitrary values defined by the package "
112116"author and usually a client will wish to resolve all entry points for a "
@@ -116,37 +120,37 @@ msgid ""
116120"their definition, and usage."
117121msgstr ""
118122
119- #: ../../library/importlib.metadata.rst:103
123+ #: ../../library/importlib.metadata.rst:108
120124msgid "Distribution metadata"
121125msgstr ""
122126
123- #: ../../library/importlib.metadata.rst:105
127+ #: ../../library/importlib.metadata.rst:110
124128msgid ""
125129"Every distribution includes some metadata, which you can extract using the "
126130"``metadata()`` function::"
127131msgstr ""
128132
129- #: ../../library/importlib.metadata.rst:110
133+ #: ../../library/importlib.metadata.rst:115
130134msgid ""
131135"The keys of the returned data structure [#f1]_ name the metadata keywords, "
132136"and their values are returned unparsed from the distribution metadata::"
133137msgstr ""
134138
135- #: ../../library/importlib.metadata.rst:120
139+ #: ../../library/importlib.metadata.rst:125
136140msgid "Distribution versions"
137141msgstr ""
138142
139- #: ../../library/importlib.metadata.rst:122
143+ #: ../../library/importlib.metadata.rst:127
140144msgid ""
141145"The ``version()`` function is the quickest way to get a distribution's "
142146"version number, as a string::"
143147msgstr ""
144148
145- #: ../../library/importlib.metadata.rst:132
149+ #: ../../library/importlib.metadata.rst:137
146150msgid "Distribution files"
147151msgstr ""
148152
149- #: ../../library/importlib.metadata.rst:134
153+ #: ../../library/importlib.metadata.rst:139
150154msgid ""
151155"You can also get the full set of files contained within a distribution. The"
152156" ``files()`` function takes a distribution package name and returns all of "
@@ -156,11 +160,11 @@ msgid ""
156160"For example::"
157161msgstr ""
158162
159- #: ../../library/importlib.metadata.rst:150
163+ #: ../../library/importlib.metadata.rst:155
160164msgid "Once you have the file, you can also read its contents::"
161165msgstr ""
162166
163- #: ../../library/importlib.metadata.rst:161
167+ #: ../../library/importlib.metadata.rst:166
164168msgid ""
165169"In the case where the metadata file listing files (RECORD or SOURCES.txt) is"
166170" missing, ``files()`` will return ``None``. The caller may wish to wrap "
@@ -170,51 +174,51 @@ msgid ""
170174" known to have the metadata present."
171175msgstr ""
172176
173- #: ../../library/importlib.metadata.rst:172
177+ #: ../../library/importlib.metadata.rst:177
174178msgid "Distribution requirements"
175179msgstr ""
176180
177- #: ../../library/importlib.metadata.rst:174
181+ #: ../../library/importlib.metadata.rst:179
178182msgid ""
179183"To get the full set of requirements for a distribution, use the "
180184"``requires()`` function::"
181185msgstr ""
182186
183- #: ../../library/importlib.metadata.rst:182
187+ #: ../../library/importlib.metadata.rst:187
184188msgid "Distributions"
185189msgstr ""
186190
187- #: ../../library/importlib.metadata.rst:184
191+ #: ../../library/importlib.metadata.rst:189
188192msgid ""
189193"While the above API is the most common and convenient usage, you can get all"
190194" of that information from the ``Distribution`` class. A ``Distribution`` is"
191195" an abstract object that represents the metadata for a Python package. You "
192196"can get the ``Distribution`` instance::"
193197msgstr ""
194198
195- #: ../../library/importlib.metadata.rst:192
199+ #: ../../library/importlib.metadata.rst:197
196200msgid ""
197201"Thus, an alternative way to get the version number is through the "
198202"``Distribution`` instance::"
199203msgstr ""
200204
201- #: ../../library/importlib.metadata.rst:198
205+ #: ../../library/importlib.metadata.rst:203
202206msgid ""
203207"There are all kinds of additional metadata available on the ``Distribution``"
204208" instance::"
205209msgstr ""
206210
207- #: ../../library/importlib.metadata.rst:206
211+ #: ../../library/importlib.metadata.rst:211
208212msgid ""
209213"The full set of available metadata is not described here. See :pep:`566` "
210214"for additional details."
211215msgstr ""
212216
213- #: ../../library/importlib.metadata.rst:211
217+ #: ../../library/importlib.metadata.rst:216
214218msgid "Extending the search algorithm"
215219msgstr ""
216220
217- #: ../../library/importlib.metadata.rst:213
221+ #: ../../library/importlib.metadata.rst:218
218222msgid ""
219223"Because package metadata is not available through :data:`sys.path` searches,"
220224" or package loaders directly, the metadata for a package is found through "
@@ -223,14 +227,14 @@ msgid ""
223227"path finders <meta path finder>` on :data:`sys.meta_path`."
224228msgstr ""
225229
226- #: ../../library/importlib.metadata.rst:219
230+ #: ../../library/importlib.metadata.rst:224
227231msgid ""
228232"The default ``PathFinder`` for Python includes a hook that calls into "
229233"``importlib.metadata.MetadataPathFinder`` for finding distributions loaded "
230234"from typical file-system-based paths."
231235msgstr ""
232236
233- #: ../../library/importlib.metadata.rst:223
237+ #: ../../library/importlib.metadata.rst:228
234238msgid ""
235239"The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the "
236240"interface expected of finders by Python's import system. "
@@ -240,14 +244,14 @@ msgid ""
240244"base class, which defines this abstract method::"
241245msgstr ""
242246
243- #: ../../library/importlib.metadata.rst:237
247+ #: ../../library/importlib.metadata.rst:242
244248msgid ""
245249"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
246250"properties indicating the path to search and names to match and may supply "
247251"other relevant context."
248252msgstr ""
249253
250- #: ../../library/importlib.metadata.rst:241
254+ #: ../../library/importlib.metadata.rst:246
251255msgid ""
252256"What this means in practice is that to support finding distribution package "
253257"metadata in locations other than the file system, subclass ``Distribution`` "
@@ -256,11 +260,11 @@ msgid ""
256260"method."
257261msgstr ""
258262
259- #: ../../library/importlib.metadata.rst:254
263+ #: ../../library/importlib.metadata.rst:259
260264msgid "Footnotes"
261265msgstr "脚注"
262266
263- #: ../../library/importlib.metadata.rst:255
267+ #: ../../library/importlib.metadata.rst:260
264268msgid ""
265269"Technically, the returned distribution metadata object is an "
266270":class:`email.message.EmailMessage` instance, but this is an implementation "