@@ -15,7 +15,7 @@ msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.8\n "
1717"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 "
1919"PO-Revision-Date : 2017-02-16 17:49+0000\n "
2020"Last-Translator : tomo, 2018\n "
2121"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -67,45 +67,49 @@ msgid ""
6767" always known and can be returned by calling the :meth:`qsize` method."
6868msgstr ""
6969
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
7175msgid "This class is :ref:`not thread safe <asyncio-multithreading>`."
7276msgstr "このクラスは :ref:`スレッド安全ではありません <asyncio-multithreading>`。"
7377
74- #: ../../library/asyncio-queue.rst:39
78+ #: ../../library/asyncio-queue.rst:43
7579msgid "Number of items allowed in the queue."
7680msgstr "キューに追加できるアイテム数です。"
7781
78- #: ../../library/asyncio-queue.rst:43
82+ #: ../../library/asyncio-queue.rst:47
7983msgid "Return ``True`` if the queue is empty, ``False`` otherwise."
8084msgstr "キューが空ならば ``True`` を、そうでなければ ``False`` を返します。"
8185
82- #: ../../library/asyncio-queue.rst:47
86+ #: ../../library/asyncio-queue.rst:51
8387msgid "Return ``True`` if there are :attr:`maxsize` items in the queue."
8488msgstr "キューに要素が :attr:`maxsize` 個あれば ``True`` を返します。"
8589
86- #: ../../library/asyncio-queue.rst:49
90+ #: ../../library/asyncio-queue.rst:53
8791msgid ""
8892"If the queue was initialized with ``maxsize=0`` (the default), then "
8993":meth:`full()` never returns ``True``."
9094msgstr ""
9195
92- #: ../../library/asyncio-queue.rst:54
96+ #: ../../library/asyncio-queue.rst:58
9397msgid ""
9498"Remove and return an item from the queue. If queue is empty, wait until an "
9599"item is available."
96100msgstr "キューから要素を削除して返します。キューが空の場合項目が利用可能になるまで待機します。"
97101
98- #: ../../library/asyncio-queue.rst:59
102+ #: ../../library/asyncio-queue.rst:63
99103msgid ""
100104"Return an item if one is immediately available, else raise "
101105":exc:`QueueEmpty`."
102106msgstr "直ちに利用できるアイテムがあるときはそれを、そうでなければ :exc:`QueueEmpty` を返します。"
103107
104- #: ../../library/asyncio-queue.rst:64
108+ #: ../../library/asyncio-queue.rst:68
105109msgid "Block until all items in the queue have been received and processed."
106110msgstr ""
107111
108- #: ../../library/asyncio-queue.rst:66
112+ #: ../../library/asyncio-queue.rst:70
109113msgid ""
110114"The count of unfinished tasks goes up whenever an item is added to the "
111115"queue. The count goes down whenever a consumer coroutine calls "
@@ -114,29 +118,29 @@ msgid ""
114118":meth:`join` unblocks."
115119msgstr ""
116120
117- #: ../../library/asyncio-queue.rst:74
121+ #: ../../library/asyncio-queue.rst:78
118122msgid ""
119123"Put an item into the queue. If the queue is full, wait until a free slot is "
120124"available before adding the item."
121125msgstr ""
122126
123- #: ../../library/asyncio-queue.rst:79
127+ #: ../../library/asyncio-queue.rst:83
124128msgid "Put an item into the queue without blocking."
125129msgstr "ブロックせずにアイテムをキューに追加します。"
126130
127- #: ../../library/asyncio-queue.rst:81
131+ #: ../../library/asyncio-queue.rst:85
128132msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
129133msgstr "直ちに利用できるスロットがない場合、:exc:`QueueFull` を送出します。"
130134
131- #: ../../library/asyncio-queue.rst:85
135+ #: ../../library/asyncio-queue.rst:89
132136msgid "Return the number of items in the queue."
133137msgstr ""
134138
135- #: ../../library/asyncio-queue.rst:89
139+ #: ../../library/asyncio-queue.rst:93
136140msgid "Indicate that a formerly enqueued task is complete."
137141msgstr "キューに入っていたタスクが完了したことを示します。"
138142
139- #: ../../library/asyncio-queue.rst:91
143+ #: ../../library/asyncio-queue.rst:95
140144msgid ""
141145"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a task, a"
142146" subsequent call to :meth:`task_done` tells the queue that the processing on"
@@ -145,7 +149,7 @@ msgstr ""
145149"キューコンシューマーによって使用されます。タスクの取得に :meth:`~Queue.get` を使用し、その後の :meth:`task_done` "
146150"の呼び出しでタスクの処理が完了したことをキューに通知します。"
147151
148- #: ../../library/asyncio-queue.rst:95
152+ #: ../../library/asyncio-queue.rst:99
149153msgid ""
150154"If a :meth:`join` is currently blocking, it will resume when all items have "
151155"been processed (meaning that a :meth:`task_done` call was received for every"
@@ -154,57 +158,57 @@ msgstr ""
154158":meth:`join` が現在ブロック中だった場合、全アイテムが処理されたとき (:meth:`~Queue.put` "
155159"でキューに追加された全アイテムの :meth:`task_done` の呼び出しを受信したとき) に再開します。"
156160
157- #: ../../library/asyncio-queue.rst:100
161+ #: ../../library/asyncio-queue.rst:104
158162msgid ""
159163"Raises :exc:`ValueError` if called more times than there were items placed "
160164"in the queue."
161165msgstr "キューに追加されているアイテム数以上の呼び出しが行われたときに :exc:`ValueError` を送出します。"
162166
163- #: ../../library/asyncio-queue.rst:105
167+ #: ../../library/asyncio-queue.rst:109
164168msgid "Priority Queue"
165169msgstr ""
166170
167- #: ../../library/asyncio-queue.rst:109
171+ #: ../../library/asyncio-queue.rst:113
168172msgid ""
169173"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
170174"first)."
171175msgstr ""
172176
173- #: ../../library/asyncio-queue.rst:112
177+ #: ../../library/asyncio-queue.rst:116
174178msgid "Entries are typically tuples of the form ``(priority_number, data)``."
175179msgstr ""
176180
177- #: ../../library/asyncio-queue.rst:117
181+ #: ../../library/asyncio-queue.rst:121
178182msgid "LIFO Queue"
179183msgstr ""
180184
181- #: ../../library/asyncio-queue.rst:121
185+ #: ../../library/asyncio-queue.rst:125
182186msgid ""
183187"A variant of :class:`Queue` that retrieves most recently added entries first"
184188" (last in, first out)."
185189msgstr ""
186190
187- #: ../../library/asyncio-queue.rst:126
191+ #: ../../library/asyncio-queue.rst:130
188192msgid "Exceptions"
189193msgstr "例外"
190194
191- #: ../../library/asyncio-queue.rst:130
195+ #: ../../library/asyncio-queue.rst:134
192196msgid ""
193197"This exception is raised when the :meth:`~Queue.get_nowait` method is called"
194198" on an empty queue."
195199msgstr ""
196200
197- #: ../../library/asyncio-queue.rst:136
201+ #: ../../library/asyncio-queue.rst:140
198202msgid ""
199203"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
200204"queue that has reached its *maxsize*."
201205msgstr ""
202206
203- #: ../../library/asyncio-queue.rst:141
207+ #: ../../library/asyncio-queue.rst:145
204208msgid "Examples"
205209msgstr "使用例"
206210
207- #: ../../library/asyncio-queue.rst:145
211+ #: ../../library/asyncio-queue.rst:149
208212msgid ""
209213"Queues can be used to distribute workload between several concurrent tasks::"
210214msgstr ""
0 commit comments