Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6fff7c9

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent853afcf commit6fff7c9

File tree

4 files changed

+4220
-4199
lines changed

4 files changed

+4220
-4199
lines changed

‎library/asyncio-sync.po

Lines changed: 65 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version:Python 3.7\n"
1616
"Report-Msgid-Bugs-To:\n"
17-
"POT-Creation-Date:2019-04-21 11:16+0900\n"
17+
"POT-Creation-Date:2019-05-30 11:32+0900\n"
1818
"PO-Revision-Date:2017-02-16 17:49+0000\n"
1919
"Last-Translator:tomo, 2018\n"
2020
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -90,8 +90,8 @@ msgid ""
9090
"The preferred way to use a Lock is an :keyword:`async with` statement::"
9191
msgstr""
9292

93-
#:../../library/asyncio-sync.rst:51../../library/asyncio-sync.rst:178
94-
#:../../library/asyncio-sync.rst:274
93+
#:../../library/asyncio-sync.rst:51../../library/asyncio-sync.rst:185
94+
#:../../library/asyncio-sync.rst:281
9595
msgid"which is equivalent to::"
9696
msgstr""
9797

@@ -105,95 +105,107 @@ msgid ""
105105
"returns ``True``."
106106
msgstr""
107107

108-
#:../../library/asyncio-sync.rst:71
109-
msgid"Release the lock."
108+
#:../../library/asyncio-sync.rst:69
109+
msgid""
110+
"When more than one coroutine is blocked in :meth:`acquire` waiting for the "
111+
"lock to be unlocked, only one coroutine eventually proceeds."
110112
msgstr""
111113

112114
#:../../library/asyncio-sync.rst:73
115+
msgid""
116+
"Acquiring a lock is *fair*: the coroutine that proceeds will be the first "
117+
"coroutine that started waiting on the lock."
118+
msgstr""
119+
120+
#:../../library/asyncio-sync.rst:78
121+
msgid"Release the lock."
122+
msgstr""
123+
124+
#:../../library/asyncio-sync.rst:80
113125
msgid"When the lock is *locked*, reset it to *unlocked* and return."
114126
msgstr""
115127

116-
#:../../library/asyncio-sync.rst:75
128+
#:../../library/asyncio-sync.rst:82
117129
msgid"If the lock is *unlocked*, a :exc:`RuntimeError` is raised."
118130
msgstr""
119131

120-
#:../../library/asyncio-sync.rst:79
132+
#:../../library/asyncio-sync.rst:86
121133
msgid"Return ``True`` if the lock is *locked*."
122134
msgstr""
123135

124-
#:../../library/asyncio-sync.rst:83
136+
#:../../library/asyncio-sync.rst:90
125137
msgid"Event"
126138
msgstr"Event"
127139

128-
#:../../library/asyncio-sync.rst:87
140+
#:../../library/asyncio-sync.rst:94
129141
msgid"An event object. Not thread-safe."
130142
msgstr""
131143

132-
#:../../library/asyncio-sync.rst:89
144+
#:../../library/asyncio-sync.rst:96
133145
msgid""
134146
"An asyncio event can be used to notify multiple asyncio tasks that some "
135147
"event has happened."
136148
msgstr""
137149

138-
#:../../library/asyncio-sync.rst:92
150+
#:../../library/asyncio-sync.rst:99
139151
msgid""
140152
"An Event object manages an internal flag that can be set to *true* with the "
141153
":meth:`set` method and reset to *false* with the :meth:`clear` method. The "
142154
":meth:`wait` method blocks until the flag is set to *true*. The flag is set"
143155
" to *false* initially."
144156
msgstr""
145157

146-
#:../../library/asyncio-sync.rst:99
158+
#:../../library/asyncio-sync.rst:106
147159
msgid"Example::"
148160
msgstr"以下はプログラム例です::"
149161

150-
#:../../library/asyncio-sync.rst:124
162+
#:../../library/asyncio-sync.rst:131
151163
msgid"Wait until the event is set."
152164
msgstr""
153165

154-
#:../../library/asyncio-sync.rst:126
166+
#:../../library/asyncio-sync.rst:133
155167
msgid""
156168
"If the event is set, return ``True`` immediately. Otherwise block until "
157169
"another task calls :meth:`set`."
158170
msgstr""
159171

160-
#:../../library/asyncio-sync.rst:131
172+
#:../../library/asyncio-sync.rst:138
161173
msgid"Set the event."
162174
msgstr""
163175

164-
#:../../library/asyncio-sync.rst:133
176+
#:../../library/asyncio-sync.rst:140
165177
msgid"All tasks waiting for event to be set will be immediately awakened."
166178
msgstr""
167179

168-
#:../../library/asyncio-sync.rst:138
180+
#:../../library/asyncio-sync.rst:145
169181
msgid"Clear (unset) the event."
170182
msgstr""
171183

172-
#:../../library/asyncio-sync.rst:140
184+
#:../../library/asyncio-sync.rst:147
173185
msgid""
174186
"Tasks awaiting on :meth:`wait` will now block until the :meth:`set` method "
175187
"is called again."
176188
msgstr""
177189

178-
#:../../library/asyncio-sync.rst:145
190+
#:../../library/asyncio-sync.rst:152
179191
msgid"Return ``True`` if the event is set."
180192
msgstr""
181193

182-
#:../../library/asyncio-sync.rst:149
194+
#:../../library/asyncio-sync.rst:156
183195
msgid"Condition"
184196
msgstr"Condition"
185197

186-
#:../../library/asyncio-sync.rst:153
198+
#:../../library/asyncio-sync.rst:160
187199
msgid"A Condition object. Not thread-safe."
188200
msgstr""
189201

190-
#:../../library/asyncio-sync.rst:155
202+
#:../../library/asyncio-sync.rst:162
191203
msgid""
192204
"An asyncio condition primitive can be used by a task to wait for some event "
193205
"to happen and then get exclusive access to a shared resource."
194206
msgstr""
195207

196-
#:../../library/asyncio-sync.rst:159
208+
#:../../library/asyncio-sync.rst:166
197209
msgid""
198210
"In essence, a Condition object combines the functionality of an "
199211
":class:`Event` and a :class:`Lock`. It is possible to have multiple "
@@ -202,158 +214,158 @@ msgid ""
202214
"states of that shared resource."
203215
msgstr""
204216

205-
#:../../library/asyncio-sync.rst:165
217+
#:../../library/asyncio-sync.rst:172
206218
msgid""
207219
"The optional *lock* argument must be a :class:`Lock` object or ``None``. In"
208220
" the latter case a new Lock object is created automatically."
209221
msgstr""
210222

211-
#:../../library/asyncio-sync.rst:169
223+
#:../../library/asyncio-sync.rst:176
212224
msgid""
213225
"The preferred way to use a Condition is an :keyword:`async with` statement::"
214226
msgstr""
215227

216-
#:../../library/asyncio-sync.rst:191
228+
#:../../library/asyncio-sync.rst:198
217229
msgid"Acquire the underlying lock."
218230
msgstr"下層でのロックを獲得します。"
219231

220-
#:../../library/asyncio-sync.rst:193
232+
#:../../library/asyncio-sync.rst:200
221233
msgid""
222234
"This method waits until the underlying lock is *unlocked*, sets it to "
223235
"*locked* and returns ``True``."
224236
msgstr""
225237

226-
#:../../library/asyncio-sync.rst:198
238+
#:../../library/asyncio-sync.rst:205
227239
msgid""
228240
"Wake up at most *n* tasks (1 by default) waiting on this condition. The "
229241
"method is no-op if no tasks are waiting."
230242
msgstr""
231243

232-
#:../../library/asyncio-sync.rst:201../../library/asyncio-sync.rst:216
244+
#:../../library/asyncio-sync.rst:208../../library/asyncio-sync.rst:223
233245
msgid""
234246
"The lock must be acquired before this method is called and released shortly "
235247
"after. If called with an *unlocked* lock a :exc:`RuntimeError` error is "
236248
"raised."
237249
msgstr""
238250

239-
#:../../library/asyncio-sync.rst:207
251+
#:../../library/asyncio-sync.rst:214
240252
msgid"Return ``True`` if the underlying lock is acquired."
241253
msgstr"下層のロックを獲得していれば ``True`` を返します。"
242254

243-
#:../../library/asyncio-sync.rst:211
255+
#:../../library/asyncio-sync.rst:218
244256
msgid"Wake up all tasks waiting on this condition."
245257
msgstr""
246258

247-
#:../../library/asyncio-sync.rst:213
259+
#:../../library/asyncio-sync.rst:220
248260
msgid"This method acts like :meth:`notify`, but wakes up all waiting tasks."
249261
msgstr""
250262

251-
#:../../library/asyncio-sync.rst:222
263+
#:../../library/asyncio-sync.rst:229
252264
msgid"Release the underlying lock."
253265
msgstr"下層のロックを解除します。"
254266

255-
#:../../library/asyncio-sync.rst:224
267+
#:../../library/asyncio-sync.rst:231
256268
msgid"When invoked on an unlocked lock, a :exc:`RuntimeError` is raised."
257269
msgstr"アンロック状態のロックに対して呼び出された場合、:exc:`RuntimeError` が送出されます。"
258270

259-
#:../../library/asyncio-sync.rst:229
271+
#:../../library/asyncio-sync.rst:236
260272
msgid"Wait until notified."
261273
msgstr"通知を受けるまで待機します。"
262274

263-
#:../../library/asyncio-sync.rst:231
275+
#:../../library/asyncio-sync.rst:238
264276
msgid""
265277
"If the calling task has not acquired the lock when this method is called, a "
266278
":exc:`RuntimeError` is raised."
267279
msgstr""
268280

269-
#:../../library/asyncio-sync.rst:234
281+
#:../../library/asyncio-sync.rst:241
270282
msgid""
271283
"This method releases the underlying lock, and then blocks until it is "
272284
"awakened by a :meth:`notify` or :meth:`notify_all` call. Once awakened, the "
273285
"Condition re-acquires its lock and this method returns ``True``."
274286
msgstr""
275287

276-
#:../../library/asyncio-sync.rst:241
288+
#:../../library/asyncio-sync.rst:248
277289
msgid"Wait until a predicate becomes *true*."
278290
msgstr""
279291

280-
#:../../library/asyncio-sync.rst:243
292+
#:../../library/asyncio-sync.rst:250
281293
msgid""
282294
"The predicate must be a callable which result will be interpreted as a "
283295
"boolean value. The final value is the return value."
284296
msgstr""
285297

286-
#:../../library/asyncio-sync.rst:249
298+
#:../../library/asyncio-sync.rst:256
287299
msgid"Semaphore"
288300
msgstr"Semaphore"
289301

290-
#:../../library/asyncio-sync.rst:253
302+
#:../../library/asyncio-sync.rst:260
291303
msgid"A Semaphore object. Not thread-safe."
292304
msgstr""
293305

294-
#:../../library/asyncio-sync.rst:255
306+
#:../../library/asyncio-sync.rst:262
295307
msgid""
296308
"A semaphore manages an internal counter which is decremented by each "
297309
":meth:`acquire` call and incremented by each :meth:`release` call. The "
298310
"counter can never go below zero; when :meth:`acquire` finds that it is zero,"
299311
" it blocks, waiting until some task calls :meth:`release`."
300312
msgstr""
301313

302-
#:../../library/asyncio-sync.rst:261
314+
#:../../library/asyncio-sync.rst:268
303315
msgid""
304316
"The optional *value* argument gives the initial value for the internal "
305317
"counter (``1`` by default). If the given value is less than ``0`` a "
306318
":exc:`ValueError` is raised."
307319
msgstr""
308320

309-
#:../../library/asyncio-sync.rst:265
321+
#:../../library/asyncio-sync.rst:272
310322
msgid""
311323
"The preferred way to use a Semaphore is an :keyword:`async with` statement::"
312324
msgstr""
313325

314-
#:../../library/asyncio-sync.rst:287
326+
#:../../library/asyncio-sync.rst:294
315327
msgid"Acquire a semaphore."
316328
msgstr"セマフォを獲得します。"
317329

318-
#:../../library/asyncio-sync.rst:289
330+
#:../../library/asyncio-sync.rst:296
319331
msgid""
320332
"If the internal counter is greater than zero, decrement it by one and return"
321333
" ``True`` immediately. If it is zero, wait until a :meth:`release` is "
322334
"called and return ``True``."
323335
msgstr""
324336

325-
#:../../library/asyncio-sync.rst:295
337+
#:../../library/asyncio-sync.rst:302
326338
msgid"Returns ``True`` if semaphore can not be acquired immediately."
327339
msgstr"セマフォを直ちに獲得できない場合 ``True`` を返します。"
328340

329-
#:../../library/asyncio-sync.rst:299
341+
#:../../library/asyncio-sync.rst:306
330342
msgid""
331343
"Release a semaphore, incrementing the internal counter by one. Can wake up a"
332344
" task waiting to acquire the semaphore."
333345
msgstr""
334346

335-
#:../../library/asyncio-sync.rst:302
347+
#:../../library/asyncio-sync.rst:309
336348
msgid""
337349
"Unlike :class:`BoundedSemaphore`, :class:`Semaphore` allows making more "
338350
"``release()`` calls than ``acquire()`` calls."
339351
msgstr""
340352

341-
#:../../library/asyncio-sync.rst:307
353+
#:../../library/asyncio-sync.rst:314
342354
msgid"BoundedSemaphore"
343355
msgstr"BoundedSemaphore"
344356

345-
#:../../library/asyncio-sync.rst:311
357+
#:../../library/asyncio-sync.rst:318
346358
msgid"A bounded semaphore object. Not thread-safe."
347359
msgstr""
348360

349-
#:../../library/asyncio-sync.rst:313
361+
#:../../library/asyncio-sync.rst:320
350362
msgid""
351363
"Bounded Semaphore is a version of :class:`Semaphore` that raises a "
352364
":exc:`ValueError` in :meth:`~Semaphore.release` if it increases the internal"
353365
" counter above the initial *value*."
354366
msgstr""
355367

356-
#:../../library/asyncio-sync.rst:323
368+
#:../../library/asyncio-sync.rst:330
357369
msgid""
358370
"Acquiring a lock using ``await lock`` or ``yield from lock`` and/or "
359371
":keyword:`with` statement (``with await lock``, ``with (yield from lock)``) "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp