@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.8\n "
17
17
"Report-Msgid-Bugs-To : \n "
18
- "POT-Creation-Date : 2019-09-01 14:24 +0000\n "
18
+ "POT-Creation-Date : 2019-09-10 22:34 +0000\n "
19
19
"PO-Revision-Date : 2017-02-16 17:49+0000\n "
20
20
"Last-Translator : tomo, 2018\n "
21
21
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -67,45 +67,49 @@ msgid ""
67
67
" always known and can be returned by calling the :meth:`qsize` method."
68
68
msgstr ""
69
69
70
- #: ../../library/asyncio-queue.rst:35
70
+ #: ../../library/asyncio-queue.rst:38
71
+ msgid "The *loop* parameter."
72
+ msgstr ""
73
+
74
+ #: ../../library/asyncio-queue.rst:39
71
75
msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
72
76
msgstr "このクラスは :ref:`スレッド安全ではありません <asyncio-multithreading>`。"
73
77
74
- #: ../../library/asyncio-queue.rst:39
78
+ #: ../../library/asyncio-queue.rst:43
75
79
msgid "Number of items allowed in the queue."
76
80
msgstr "キューに追加できるアイテム数です。"
77
81
78
- #: ../../library/asyncio-queue.rst:43
82
+ #: ../../library/asyncio-queue.rst:47
79
83
msgid "Return ``True`` if the queue is empty, ``False`` otherwise."
80
84
msgstr "キューが空ならば ``True`` を、そうでなければ ``False`` を返します。"
81
85
82
- #: ../../library/asyncio-queue.rst:47
86
+ #: ../../library/asyncio-queue.rst:51
83
87
msgid "Return ``True`` if there are :attr:`maxsize` items in the queue."
84
88
msgstr "キューに要素が :attr:`maxsize` 個あれば ``True`` を返します。"
85
89
86
- #: ../../library/asyncio-queue.rst:49
90
+ #: ../../library/asyncio-queue.rst:53
87
91
msgid ""
88
92
"If the queue was initialized with ``maxsize=0`` (the default), then "
89
93
":meth:`full()` never returns ``True``."
90
94
msgstr ""
91
95
92
- #: ../../library/asyncio-queue.rst:54
96
+ #: ../../library/asyncio-queue.rst:58
93
97
msgid ""
94
98
"Remove and return an item from the queue. If queue is empty, wait until an "
95
99
"item is available."
96
100
msgstr "キューから要素を削除して返します。キューが空の場合項目が利用可能になるまで待機します。"
97
101
98
- #: ../../library/asyncio-queue.rst:59
102
+ #: ../../library/asyncio-queue.rst:63
99
103
msgid ""
100
104
"Return an item if one is immediately available, else raise "
101
105
":exc:`QueueEmpty`."
102
106
msgstr "直ちに利用できるアイテムがあるときはそれを、そうでなければ :exc:`QueueEmpty` を返します。"
103
107
104
- #: ../../library/asyncio-queue.rst:64
108
+ #: ../../library/asyncio-queue.rst:68
105
109
msgid "Block until all items in the queue have been received and processed."
106
110
msgstr ""
107
111
108
- #: ../../library/asyncio-queue.rst:66
112
+ #: ../../library/asyncio-queue.rst:70
109
113
msgid ""
110
114
"The count of unfinished tasks goes up whenever an item is added to the "
111
115
"queue. The count goes down whenever a consumer coroutine calls "
@@ -114,29 +118,29 @@ msgid ""
114
118
":meth:`join` unblocks."
115
119
msgstr ""
116
120
117
- #: ../../library/asyncio-queue.rst:74
121
+ #: ../../library/asyncio-queue.rst:78
118
122
msgid ""
119
123
"Put an item into the queue. If the queue is full, wait until a free slot is "
120
124
"available before adding the item."
121
125
msgstr ""
122
126
123
- #: ../../library/asyncio-queue.rst:79
127
+ #: ../../library/asyncio-queue.rst:83
124
128
msgid "Put an item into the queue without blocking."
125
129
msgstr "ブロックせずにアイテムをキューに追加します。"
126
130
127
- #: ../../library/asyncio-queue.rst:81
131
+ #: ../../library/asyncio-queue.rst:85
128
132
msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
129
133
msgstr "直ちに利用できるスロットがない場合、:exc:`QueueFull` を送出します。"
130
134
131
- #: ../../library/asyncio-queue.rst:85
135
+ #: ../../library/asyncio-queue.rst:89
132
136
msgid "Return the number of items in the queue."
133
137
msgstr ""
134
138
135
- #: ../../library/asyncio-queue.rst:89
139
+ #: ../../library/asyncio-queue.rst:93
136
140
msgid "Indicate that a formerly enqueued task is complete."
137
141
msgstr "キューに入っていたタスクが完了したことを示します。"
138
142
139
- #: ../../library/asyncio-queue.rst:91
143
+ #: ../../library/asyncio-queue.rst:95
140
144
msgid ""
141
145
"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a task, a"
142
146
" subsequent call to :meth:`task_done` tells the queue that the processing on"
@@ -145,7 +149,7 @@ msgstr ""
145
149
"キューコンシューマーによって使用されます。タスクの取得に :meth:`~Queue.get` を使用し、その後の :meth:`task_done` "
146
150
"の呼び出しでタスクの処理が完了したことをキューに通知します。"
147
151
148
- #: ../../library/asyncio-queue.rst:95
152
+ #: ../../library/asyncio-queue.rst:99
149
153
msgid ""
150
154
"If a :meth:`join` is currently blocking, it will resume when all items have "
151
155
"been processed (meaning that a :meth:`task_done` call was received for every"
@@ -154,57 +158,57 @@ msgstr ""
154
158
":meth:`join` が現在ブロック中だった場合、全アイテムが処理されたとき (:meth:`~Queue.put` "
155
159
"でキューに追加された全アイテムの :meth:`task_done` の呼び出しを受信したとき) に再開します。"
156
160
157
- #: ../../library/asyncio-queue.rst:100
161
+ #: ../../library/asyncio-queue.rst:104
158
162
msgid ""
159
163
"Raises :exc:`ValueError` if called more times than there were items placed "
160
164
"in the queue."
161
165
msgstr "キューに追加されているアイテム数以上の呼び出しが行われたときに :exc:`ValueError` を送出します。"
162
166
163
- #: ../../library/asyncio-queue.rst:105
167
+ #: ../../library/asyncio-queue.rst:109
164
168
msgid "Priority Queue"
165
169
msgstr ""
166
170
167
- #: ../../library/asyncio-queue.rst:109
171
+ #: ../../library/asyncio-queue.rst:113
168
172
msgid ""
169
173
"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
170
174
"first)."
171
175
msgstr ""
172
176
173
- #: ../../library/asyncio-queue.rst:112
177
+ #: ../../library/asyncio-queue.rst:116
174
178
msgid "Entries are typically tuples of the form ``(priority_number, data)``."
175
179
msgstr ""
176
180
177
- #: ../../library/asyncio-queue.rst:117
181
+ #: ../../library/asyncio-queue.rst:121
178
182
msgid "LIFO Queue"
179
183
msgstr ""
180
184
181
- #: ../../library/asyncio-queue.rst:121
185
+ #: ../../library/asyncio-queue.rst:125
182
186
msgid ""
183
187
"A variant of :class:`Queue` that retrieves most recently added entries first"
184
188
" (last in, first out)."
185
189
msgstr ""
186
190
187
- #: ../../library/asyncio-queue.rst:126
191
+ #: ../../library/asyncio-queue.rst:130
188
192
msgid "Exceptions"
189
193
msgstr "例外"
190
194
191
- #: ../../library/asyncio-queue.rst:130
195
+ #: ../../library/asyncio-queue.rst:134
192
196
msgid ""
193
197
"This exception is raised when the :meth:`~Queue.get_nowait` method is called"
194
198
" on an empty queue."
195
199
msgstr ""
196
200
197
- #: ../../library/asyncio-queue.rst:136
201
+ #: ../../library/asyncio-queue.rst:140
198
202
msgid ""
199
203
"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
200
204
"queue that has reached its *maxsize*."
201
205
msgstr ""
202
206
203
- #: ../../library/asyncio-queue.rst:141
207
+ #: ../../library/asyncio-queue.rst:145
204
208
msgid "Examples"
205
209
msgstr "使用例"
206
210
207
- #: ../../library/asyncio-queue.rst:145
211
+ #: ../../library/asyncio-queue.rst:149
208
212
msgid ""
209
213
"Queues can be used to distribute workload between several concurrent tasks::"
210
214
msgstr ""
0 commit comments