@@ -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 : 2020-05-31 09:25 +0000\n "
14
+ "POT-Creation-Date : 2020-06-06 03:16 +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 "
@@ -103,50 +103,52 @@ msgid ""
103
103
"The ``entry_points()`` function returns a dictionary of all entry points, "
104
104
"keyed by group. Entry points are represented by ``EntryPoint`` instances; "
105
105
"each ``EntryPoint`` has a ``.name``, ``.group``, and ``.value`` attributes "
106
- "and a ``.load()`` method to resolve the value."
106
+ "and a ``.load()`` method to resolve the value. There are also ``.module``, "
107
+ "``.attr``, and ``.extras`` attributes for getting the components of the "
108
+ "``.value`` attribute::"
107
109
msgstr ""
108
110
109
- #: ../../library/importlib.metadata.rst:93
111
+ #: ../../library/importlib.metadata.rst:101
110
112
msgid ""
111
113
"The ``group`` and ``name`` are arbitrary values defined by the package "
112
114
"author and usually a client will wish to resolve all entry points for a "
113
115
"particular group. Read `the setuptools docs "
114
116
"<https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-"
115
- "discovery-of-services-and-plugins>`_ for more information on entrypoints , "
117
+ "discovery-of-services-and-plugins>`_ for more information on entry points , "
116
118
"their definition, and usage."
117
119
msgstr ""
118
120
119
- #: ../../library/importlib.metadata.rst:103
121
+ #: ../../library/importlib.metadata.rst:111
120
122
msgid "Distribution metadata"
121
123
msgstr ""
122
124
123
- #: ../../library/importlib.metadata.rst:105
125
+ #: ../../library/importlib.metadata.rst:113
124
126
msgid ""
125
127
"Every distribution includes some metadata, which you can extract using the "
126
128
"``metadata()`` function::"
127
129
msgstr ""
128
130
129
- #: ../../library/importlib.metadata.rst:110
131
+ #: ../../library/importlib.metadata.rst:118
130
132
msgid ""
131
133
"The keys of the returned data structure [#f1]_ name the metadata keywords, "
132
134
"and their values are returned unparsed from the distribution metadata::"
133
135
msgstr ""
134
136
135
- #: ../../library/importlib.metadata.rst:120
137
+ #: ../../library/importlib.metadata.rst:128
136
138
msgid "Distribution versions"
137
139
msgstr ""
138
140
139
- #: ../../library/importlib.metadata.rst:122
141
+ #: ../../library/importlib.metadata.rst:130
140
142
msgid ""
141
143
"The ``version()`` function is the quickest way to get a distribution's "
142
144
"version number, as a string::"
143
145
msgstr ""
144
146
145
- #: ../../library/importlib.metadata.rst:132
147
+ #: ../../library/importlib.metadata.rst:140
146
148
msgid "Distribution files"
147
149
msgstr ""
148
150
149
- #: ../../library/importlib.metadata.rst:134
151
+ #: ../../library/importlib.metadata.rst:142
150
152
msgid ""
151
153
"You can also get the full set of files contained within a distribution. The"
152
154
" ``files()`` function takes a distribution package name and returns all of "
@@ -156,11 +158,11 @@ msgid ""
156
158
"For example::"
157
159
msgstr ""
158
160
159
- #: ../../library/importlib.metadata.rst:150
161
+ #: ../../library/importlib.metadata.rst:158
160
162
msgid "Once you have the file, you can also read its contents::"
161
163
msgstr ""
162
164
163
- #: ../../library/importlib.metadata.rst:161
165
+ #: ../../library/importlib.metadata.rst:169
164
166
msgid ""
165
167
"In the case where the metadata file listing files (RECORD or SOURCES.txt) is"
166
168
" missing, ``files()`` will return ``None``. The caller may wish to wrap "
@@ -170,51 +172,51 @@ msgid ""
170
172
" known to have the metadata present."
171
173
msgstr ""
172
174
173
- #: ../../library/importlib.metadata.rst:172
175
+ #: ../../library/importlib.metadata.rst:180
174
176
msgid "Distribution requirements"
175
177
msgstr ""
176
178
177
- #: ../../library/importlib.metadata.rst:174
179
+ #: ../../library/importlib.metadata.rst:182
178
180
msgid ""
179
181
"To get the full set of requirements for a distribution, use the "
180
182
"``requires()`` function::"
181
183
msgstr ""
182
184
183
- #: ../../library/importlib.metadata.rst:182
185
+ #: ../../library/importlib.metadata.rst:190
184
186
msgid "Distributions"
185
187
msgstr ""
186
188
187
- #: ../../library/importlib.metadata.rst:184
189
+ #: ../../library/importlib.metadata.rst:192
188
190
msgid ""
189
191
"While the above API is the most common and convenient usage, you can get all"
190
192
" of that information from the ``Distribution`` class. A ``Distribution`` is"
191
193
" an abstract object that represents the metadata for a Python package. You "
192
194
"can get the ``Distribution`` instance::"
193
195
msgstr ""
194
196
195
- #: ../../library/importlib.metadata.rst:192
197
+ #: ../../library/importlib.metadata.rst:200
196
198
msgid ""
197
199
"Thus, an alternative way to get the version number is through the "
198
200
"``Distribution`` instance::"
199
201
msgstr ""
200
202
201
- #: ../../library/importlib.metadata.rst:198
203
+ #: ../../library/importlib.metadata.rst:206
202
204
msgid ""
203
205
"There are all kinds of additional metadata available on the ``Distribution``"
204
206
" instance::"
205
207
msgstr ""
206
208
207
- #: ../../library/importlib.metadata.rst:206
209
+ #: ../../library/importlib.metadata.rst:214
208
210
msgid ""
209
211
"The full set of available metadata is not described here. See :pep:`566` "
210
212
"for additional details."
211
213
msgstr ""
212
214
213
- #: ../../library/importlib.metadata.rst:211
215
+ #: ../../library/importlib.metadata.rst:219
214
216
msgid "Extending the search algorithm"
215
217
msgstr ""
216
218
217
- #: ../../library/importlib.metadata.rst:213
219
+ #: ../../library/importlib.metadata.rst:221
218
220
msgid ""
219
221
"Because package metadata is not available through :data:`sys.path` searches,"
220
222
" or package loaders directly, the metadata for a package is found through "
@@ -223,14 +225,14 @@ msgid ""
223
225
"path finders <meta path finder>` on :data:`sys.meta_path`."
224
226
msgstr ""
225
227
226
- #: ../../library/importlib.metadata.rst:219
228
+ #: ../../library/importlib.metadata.rst:227
227
229
msgid ""
228
230
"The default ``PathFinder`` for Python includes a hook that calls into "
229
231
"``importlib.metadata.MetadataPathFinder`` for finding distributions loaded "
230
232
"from typical file-system-based paths."
231
233
msgstr ""
232
234
233
- #: ../../library/importlib.metadata.rst:223
235
+ #: ../../library/importlib.metadata.rst:231
234
236
msgid ""
235
237
"The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the "
236
238
"interface expected of finders by Python's import system. "
@@ -240,14 +242,14 @@ msgid ""
240
242
"base class, which defines this abstract method::"
241
243
msgstr ""
242
244
243
- #: ../../library/importlib.metadata.rst:237
245
+ #: ../../library/importlib.metadata.rst:245
244
246
msgid ""
245
247
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
246
- "properties indicating the path to search and names to match and may supply "
248
+ "properties indicating the path to search and name to match and may supply "
247
249
"other relevant context."
248
250
msgstr ""
249
251
250
- #: ../../library/importlib.metadata.rst:241
252
+ #: ../../library/importlib.metadata.rst:249
251
253
msgid ""
252
254
"What this means in practice is that to support finding distribution package "
253
255
"metadata in locations other than the file system, subclass ``Distribution`` "
@@ -256,11 +258,11 @@ msgid ""
256
258
"method."
257
259
msgstr ""
258
260
259
- #: ../../library/importlib.metadata.rst:254
261
+ #: ../../library/importlib.metadata.rst:262
260
262
msgid "Footnotes"
261
263
msgstr "脚注"
262
264
263
- #: ../../library/importlib.metadata.rst:255
265
+ #: ../../library/importlib.metadata.rst:263
264
266
msgid ""
265
267
"Technically, the returned distribution metadata object is an "
266
268
":class:`email.message.EmailMessage` instance, but this is an implementation "
0 commit comments