@@ -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-04-24 06:08 +0000\n "
14
+ "POT-Creation-Date : 2021-05-20 06:27 +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 "
@@ -25,13 +25,13 @@ msgstr ""
25
25
msgid "Using :mod:`!importlib.metadata`"
26
26
msgstr ""
27
27
28
- #: ../../library/importlib.metadata.rst:10
28
+ #: ../../library/importlib.metadata.rst:13
29
29
msgid ""
30
30
"This functionality is provisional and may deviate from the usual version "
31
31
"semantics of the standard library."
32
32
msgstr ""
33
33
34
- #: ../../library/importlib.metadata.rst:13
34
+ #: ../../library/importlib.metadata.rst:16
35
35
msgid ""
36
36
"``importlib.metadata`` is a library that provides for access to installed "
37
37
"package metadata. Built in part on Python's import system, this library "
@@ -42,7 +42,7 @@ msgid ""
42
42
"efficient ``pkg_resources`` package."
43
43
msgstr ""
44
44
45
- #: ../../library/importlib.metadata.rst:22
45
+ #: ../../library/importlib.metadata.rst:25
46
46
msgid ""
47
47
"By \" installed package\" we generally mean a third-party package installed "
48
48
"into Python's ``site-packages`` directory via tools such as `pip "
@@ -53,52 +53,52 @@ msgid ""
53
53
" Through an extension mechanism, the metadata can live almost anywhere."
54
54
msgstr ""
55
55
56
- #: ../../library/importlib.metadata.rst:33
56
+ #: ../../library/importlib.metadata.rst:36
57
57
msgid "Overview"
58
58
msgstr "概要"
59
59
60
- #: ../../library/importlib.metadata.rst:35
60
+ #: ../../library/importlib.metadata.rst:38
61
61
msgid ""
62
62
"Let's say you wanted to get the version string for a package you've "
63
63
"installed using ``pip``. We start by creating a virtual environment and "
64
64
"installing something into it:"
65
65
msgstr ""
66
66
67
- #: ../../library/importlib.metadata.rst:45
67
+ #: ../../library/importlib.metadata.rst:48
68
68
msgid "You can get the version string for ``wheel`` by running the following:"
69
69
msgstr ""
70
70
71
- #: ../../library/importlib.metadata.rst:54
71
+ #: ../../library/importlib.metadata.rst:57
72
72
msgid ""
73
73
"You can also get the set of entry points keyed by group, such as "
74
74
"``console_scripts``, ``distutils.commands`` and others. Each group contains"
75
75
" a sequence of :ref:`EntryPoint <entry-points>` objects."
76
76
msgstr ""
77
77
78
- #: ../../library/importlib.metadata.rst:58
78
+ #: ../../library/importlib.metadata.rst:61
79
79
msgid "You can get the :ref:`metadata for a distribution <metadata>`::"
80
80
msgstr ""
81
81
82
- #: ../../library/importlib.metadata.rst:63
82
+ #: ../../library/importlib.metadata.rst:66
83
83
msgid ""
84
84
"You can also get a :ref:`distribution's version number <version>`, list its "
85
85
":ref:`constituent files <files>`, and get a list of the distribution's "
86
86
":ref:`requirements`."
87
87
msgstr ""
88
88
89
- #: ../../library/importlib.metadata.rst:69
89
+ #: ../../library/importlib.metadata.rst:72
90
90
msgid "Functional API"
91
91
msgstr "機能 API"
92
92
93
- #: ../../library/importlib.metadata.rst:71
93
+ #: ../../library/importlib.metadata.rst:74
94
94
msgid "This package provides the following functionality via its public API."
95
95
msgstr ""
96
96
97
- #: ../../library/importlib.metadata.rst:77
97
+ #: ../../library/importlib.metadata.rst:80
98
98
msgid "Entry points"
99
99
msgstr ""
100
100
101
- #: ../../library/importlib.metadata.rst:79
101
+ #: ../../library/importlib.metadata.rst:82
102
102
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; "
@@ -108,7 +108,7 @@ msgid ""
108
108
"``.value`` attribute::"
109
109
msgstr ""
110
110
111
- #: ../../library/importlib.metadata.rst:103
111
+ #: ../../library/importlib.metadata.rst:106
112
112
msgid ""
113
113
"The ``group`` and ``name`` are arbitrary values defined by the package "
114
114
"author and usually a client will wish to resolve all entry points for a "
@@ -118,37 +118,37 @@ msgid ""
118
118
"their definition, and usage."
119
119
msgstr ""
120
120
121
- #: ../../library/importlib.metadata.rst:113
121
+ #: ../../library/importlib.metadata.rst:116
122
122
msgid "Distribution metadata"
123
123
msgstr ""
124
124
125
- #: ../../library/importlib.metadata.rst:115
125
+ #: ../../library/importlib.metadata.rst:118
126
126
msgid ""
127
127
"Every distribution includes some metadata, which you can extract using the "
128
128
"``metadata()`` function::"
129
129
msgstr ""
130
130
131
- #: ../../library/importlib.metadata.rst:120
131
+ #: ../../library/importlib.metadata.rst:123
132
132
msgid ""
133
133
"The keys of the returned data structure [#f1]_ name the metadata keywords, "
134
134
"and their values are returned unparsed from the distribution metadata::"
135
135
msgstr ""
136
136
137
- #: ../../library/importlib.metadata.rst:130
137
+ #: ../../library/importlib.metadata.rst:133
138
138
msgid "Distribution versions"
139
139
msgstr ""
140
140
141
- #: ../../library/importlib.metadata.rst:132
141
+ #: ../../library/importlib.metadata.rst:135
142
142
msgid ""
143
143
"The ``version()`` function is the quickest way to get a distribution's "
144
144
"version number, as a string::"
145
145
msgstr ""
146
146
147
- #: ../../library/importlib.metadata.rst:142
147
+ #: ../../library/importlib.metadata.rst:145
148
148
msgid "Distribution files"
149
149
msgstr ""
150
150
151
- #: ../../library/importlib.metadata.rst:144
151
+ #: ../../library/importlib.metadata.rst:147
152
152
msgid ""
153
153
"You can also get the full set of files contained within a distribution. The"
154
154
" ``files()`` function takes a distribution package name and returns all of "
@@ -158,11 +158,11 @@ msgid ""
158
158
"For example::"
159
159
msgstr ""
160
160
161
- #: ../../library/importlib.metadata.rst:160
161
+ #: ../../library/importlib.metadata.rst:163
162
162
msgid "Once you have the file, you can also read its contents::"
163
163
msgstr ""
164
164
165
- #: ../../library/importlib.metadata.rst:171
165
+ #: ../../library/importlib.metadata.rst:174
166
166
msgid ""
167
167
"In the case where the metadata file listing files (RECORD or SOURCES.txt) is"
168
168
" missing, ``files()`` will return ``None``. The caller may wish to wrap "
@@ -172,51 +172,51 @@ msgid ""
172
172
" known to have the metadata present."
173
173
msgstr ""
174
174
175
- #: ../../library/importlib.metadata.rst:182
175
+ #: ../../library/importlib.metadata.rst:185
176
176
msgid "Distribution requirements"
177
177
msgstr ""
178
178
179
- #: ../../library/importlib.metadata.rst:184
179
+ #: ../../library/importlib.metadata.rst:187
180
180
msgid ""
181
181
"To get the full set of requirements for a distribution, use the "
182
182
"``requires()`` function::"
183
183
msgstr ""
184
184
185
- #: ../../library/importlib.metadata.rst:192
185
+ #: ../../library/importlib.metadata.rst:195
186
186
msgid "Distributions"
187
187
msgstr ""
188
188
189
- #: ../../library/importlib.metadata.rst:194
189
+ #: ../../library/importlib.metadata.rst:197
190
190
msgid ""
191
191
"While the above API is the most common and convenient usage, you can get all"
192
192
" of that information from the ``Distribution`` class. A ``Distribution`` is"
193
193
" an abstract object that represents the metadata for a Python package. You "
194
194
"can get the ``Distribution`` instance::"
195
195
msgstr ""
196
196
197
- #: ../../library/importlib.metadata.rst:202
197
+ #: ../../library/importlib.metadata.rst:205
198
198
msgid ""
199
199
"Thus, an alternative way to get the version number is through the "
200
200
"``Distribution`` instance::"
201
201
msgstr ""
202
202
203
- #: ../../library/importlib.metadata.rst:208
203
+ #: ../../library/importlib.metadata.rst:211
204
204
msgid ""
205
205
"There are all kinds of additional metadata available on the ``Distribution``"
206
206
" instance::"
207
207
msgstr ""
208
208
209
- #: ../../library/importlib.metadata.rst:216
209
+ #: ../../library/importlib.metadata.rst:219
210
210
msgid ""
211
211
"The full set of available metadata is not described here. See :pep:`566` "
212
212
"for additional details."
213
213
msgstr ""
214
214
215
- #: ../../library/importlib.metadata.rst:221
215
+ #: ../../library/importlib.metadata.rst:224
216
216
msgid "Extending the search algorithm"
217
217
msgstr ""
218
218
219
- #: ../../library/importlib.metadata.rst:223
219
+ #: ../../library/importlib.metadata.rst:226
220
220
msgid ""
221
221
"Because package metadata is not available through :data:`sys.path` searches,"
222
222
" or package loaders directly, the metadata for a package is found through "
@@ -225,14 +225,14 @@ msgid ""
225
225
"path finders <meta path finder>` on :data:`sys.meta_path`."
226
226
msgstr ""
227
227
228
- #: ../../library/importlib.metadata.rst:229
228
+ #: ../../library/importlib.metadata.rst:232
229
229
msgid ""
230
230
"The default ``PathFinder`` for Python includes a hook that calls into "
231
231
"``importlib.metadata.MetadataPathFinder`` for finding distributions loaded "
232
232
"from typical file-system-based paths."
233
233
msgstr ""
234
234
235
- #: ../../library/importlib.metadata.rst:233
235
+ #: ../../library/importlib.metadata.rst:236
236
236
msgid ""
237
237
"The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the "
238
238
"interface expected of finders by Python's import system. "
@@ -242,14 +242,14 @@ msgid ""
242
242
"base class, which defines this abstract method::"
243
243
msgstr ""
244
244
245
- #: ../../library/importlib.metadata.rst:247
245
+ #: ../../library/importlib.metadata.rst:250
246
246
msgid ""
247
247
"The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` "
248
248
"properties indicating the path to search and name to match and may supply "
249
249
"other relevant context."
250
250
msgstr ""
251
251
252
- #: ../../library/importlib.metadata.rst:251
252
+ #: ../../library/importlib.metadata.rst:254
253
253
msgid ""
254
254
"What this means in practice is that to support finding distribution package "
255
255
"metadata in locations other than the file system, subclass ``Distribution`` "
@@ -258,11 +258,11 @@ msgid ""
258
258
"method."
259
259
msgstr ""
260
260
261
- #: ../../library/importlib.metadata.rst:264
261
+ #: ../../library/importlib.metadata.rst:267
262
262
msgid "Footnotes"
263
263
msgstr "脚注"
264
264
265
- #: ../../library/importlib.metadata.rst:265
265
+ #: ../../library/importlib.metadata.rst:268
266
266
msgid ""
267
267
"Technically, the returned distribution metadata object is an "
268
268
":class:`email.message.EmailMessage` instance, but this is an implementation "
0 commit comments