Skip to content

Commit b26693d

Browse files
author
github-actions
committed
Merge 3.15 into 3.14
1 parent 05ad9a3 commit b26693d

140 files changed

Lines changed: 2465 additions & 2678 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎library/__future__.po‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,12 @@ msgid ""
202202
" CompilerFlag)"
203203
msgstr ""
204204

205-
#: ../../library/__future__.rst:98
206205
msgid ""
207206
"where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both "
208207
"are 5-tuples of the same form as :data:`sys.version_info`::"
209208
msgstr ""
210-
"ここで、普通は、 *OptionalRelease* は *MandatoryRelease* より小さく、2つと"
211-
"も :data:`sys.version_info` と同じフォーマットの5つのタプルからなります::"
209+
"通常、*OptionalRelease* は *MandatoryRelease* より小さく、どちらも :data:"
210+
"`sys.version_info` と同じ形式の 5 要素のタプルです。 ::"
212211

213212
#: ../../library/__future__.rst:101
214213
msgid ""

‎library/_thread.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,13 @@ msgstr ""
284284
"ロックを解放します。そのロックは既に獲得されたものでなければなりませんが、し"
285285
"かし同じスレッドによって獲得されたものである必要はありません。"
286286

287-
#: ../../library/_thread.rst:208
288287
msgid ""
289288
"Return the status of the lock: ``True`` if it has been acquired by some "
290289
"thread, ``False`` if not."
291290
msgstr ""
292-
"ロックの状態を返します: 同じスレッドによって獲得されたものなら ``True`` 、違"
293-
"うのなら ``False`` を返します。"
291+
"ロックの状態を返します。\n"
292+
"いずれかのスレッドがロックを獲得していれば ``True``、そうでなければ "
293+
"``False`` を返します。"
294294

295295
#: ../../library/_thread.rst:211
296296
msgid ""

‎library/argparse.po‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,15 +486,14 @@ msgid ""
486486
"Namespace(bar='YYY', parent=None)"
487487
msgstr ""
488488

489-
#: ../../library/argparse.rst:281
490489
msgid ""
491490
"Note that most parent parsers will specify ``add_help=False``. Otherwise, "
492491
"the :class:`ArgumentParser` will see two ``-h/--help`` options (one in the "
493492
"parent and one in the child) and raise an error."
494493
msgstr ""
495-
"一番親になるパーサーに ``add_help=False`` を指定していることに注目してくださ"
496-
"い。こうしないと、:class:`ArgumentParser` は2つの ``-h/--help`` オプションを"
497-
"与えられる (1つは親から、もうひとつは子から) ことになり、エラーを発生します。"
494+
"多くの親パーサーでは ``add_help=False`` を指定します。\n"
495+
"そうしないと、:class:`ArgumentParser` は親と子に一つずつ、計二つの ``-h/--"
496+
"help`` オプションを検出してエラーを発生させます。"
498497

499498
#: ../../library/argparse.rst:286
500499
msgid ""

‎library/ast.po‎

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -822,14 +822,13 @@ msgstr ""
822822
"ト を順序が一致した形で (それぞれ :code:`dictionary.keys()` と :code:"
823823
"`dictionary.values()` を呼び出したときに返される順序で) 保持します。"
824824

825-
#: ../../library/ast.rst:454
826825
msgid ""
827826
"When doing dictionary unpacking using dictionary literals the expression to "
828827
"be expanded goes in the ``values`` list, with a ``None`` at the "
829828
"corresponding position in ``keys``."
830829
msgstr ""
831-
"辞書リテラルを使って辞書を展開した場合、展開された式ツリーにおいて辞書は "
832-
"``values`` リストに入り、 ``keys`` の対応する位置には ``None`` が入ります。"
830+
"辞書リテラルで辞書のアンパックを行う場合、展開対象の式が ``values`` リストに"
831+
"入り、``keys`` の対応する位置には ``None`` が入ります。"
833832

834833
#: ../../library/ast.rst:458
835834
msgid ""
@@ -2951,15 +2950,14 @@ msgstr ""
29512950
":class:`ast.AST` オブジェクトを逆に構文解析して、 :func:`ast.parse` が元の :"
29522951
"class:`ast.AST` と等価なオブジェクトを生成できるような文字列を生成します。"
29532952

2954-
#: ../../library/ast.rst:2305
29552953
msgid ""
29562954
"The produced code string will not necessarily be equal to the original code "
29572955
"that generated the :class:`ast.AST` object (without any compiler "
29582956
"optimizations, such as constant tuples/frozensets)."
29592957
msgstr ""
2960-
"生成されたコード文字列は、生成元のコードである :class:`ast.AST` オブジェクト"
2961-
"と必ずしも等価であるとは限りません (定数タプルや frozenset などに対するコンパ"
2962-
"イラ最適化なしのコードです)。"
2958+
":class:`ast.AST` オブジェクトの生成元となったコードと、生成されたコード文字列"
2959+
"が一致するとは限りません (定数タプルや frozenset などに対するコンパイラ最適化"
2960+
"を行わない場合でも同様です)。"
29632961

29642962
#: ../../library/ast.rst:2310
29652963
msgid ""
@@ -3226,14 +3224,13 @@ msgid ""
32263224
"NodeVisitor.generic_visit` method for the node first."
32273225
msgstr ""
32283226

3229-
#: ../../library/ast.rst:2487
32303227
msgid ""
32313228
"For nodes that were part of a collection of statements (that applies to all "
32323229
"statement nodes), the visitor may also return a list of nodes rather than "
32333230
"just a single node."
32343231
msgstr ""
3235-
"文のコレクションであるようなノード (全ての文のノードが当てはまります) に対し"
3236-
"て、このビジターは単独のノードではなくノードのリストを返すかもしれません。"
3232+
"文のコレクションの要素であるノード (すべての文ノードが該当します) に対して"
3233+
"は、ビジターは単一のノードの代わりにノードのリストを返すこともできます。"
32373234

32383235
#: ../../library/ast.rst:2491
32393236
msgid ""

‎library/asyncio-eventloop.po‎

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ msgstr ""
2727
msgid "Event loop"
2828
msgstr ""
2929

30-
#: ../../library/asyncio-eventloop.rst:10
3130
msgid ""
3231
"**Source code:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/"
3332
"base_events.py`"
3433
msgstr ""
35-
"**ソースコード:** :source:`Lib/asyncio/profile.py` と :source:`Lib/asyncio/"
36-
"pstats.py`"
34+
"**ソースコード:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/"
35+
"base_events.py`"
3736

3837
#: ../../library/asyncio-eventloop.rst:16
3938
msgid "Preface"
@@ -1065,15 +1064,14 @@ msgid ""
10651064
"exc:`OSError` with :attr:`!errno.WSAEINVAL` will be raised when running it."
10661065
msgstr ""
10671066

1068-
#: ../../library/asyncio-eventloop.rst:637
10691067
msgid ""
10701068
"*remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used to "
10711069
"connect the socket to a remote address. The *remote_host* and *remote_port* "
10721070
"are looked up using :meth:`getaddrinfo`."
10731071
msgstr ""
1074-
"*remote_addr* が指定される場合、``(remote_host, remote_por)`` のタプルで、ソ"
1075-
"ケットをリモートアドレスに束縛するために使用されます。*remote_host* と "
1076-
"*remote_port* は :meth:`getaddrinfo` を使用して検索されます。"
1072+
"*remote_addr* を指定する場合は、ソケットをリモートアドレスに接続するための "
1073+
"``(remote_host, remote_port)`` タプルを渡します。\n"
1074+
"*remote_host* と *remote_port* は :meth:`getaddrinfo` を使って検索されます。"
10771075

10781076
#: ../../library/asyncio-eventloop.rst:641
10791077
msgid ""
@@ -1931,9 +1929,8 @@ msgstr ""
19311929
msgid "Working with pipes"
19321930
msgstr "パイプとやりとりする"
19331931

1934-
#: ../../library/asyncio-eventloop.rst:1276
19351932
msgid "Register the read end of *pipe* in the event loop."
1936-
msgstr "イベントループの読み込み側終端に *pipe* を登録します。"
1933+
msgstr "*pipe* の読み込み側の終端をイベントループに登録します。"
19371934

19381935
#: ../../library/asyncio-eventloop.rst:1281
19391936
#: ../../library/asyncio-eventloop.rst:1300
@@ -1952,14 +1949,12 @@ msgstr ""
19521949
"`ReadTransport` のインターフェースをサポートし、 *protocol* は "
19531950
"*protocol_factory* ファクトリでインスタンス化されたオブジェクトです。"
19541951

1955-
#: ../../library/asyncio-eventloop.rst:1289
1956-
#: ../../library/asyncio-eventloop.rst:1308
19571952
msgid ""
19581953
"With :class:`SelectorEventLoop` event loop, the *pipe* is set to non-"
19591954
"blocking mode."
19601955
msgstr ""
1961-
":class:`SelectorEventLoop` イベントループの場合、*pipe* は非ブロックモードに"
1962-
"設定されていなければなりません。"
1956+
":class:`SelectorEventLoop` イベントループでは、*pipe* が非ブロックモードに設"
1957+
"定されます。"
19631958

19641959
#: ../../library/asyncio-eventloop.rst:1295
19651960
msgid "Register the write end of *pipe* in the event loop."
@@ -2044,17 +2039,16 @@ msgid ""
20442039
"positional arguments."
20452040
msgstr ""
20462041

2047-
#: ../../library/asyncio-eventloop.rst:1359
20482042
msgid ""
20492043
"The callback will be invoked by *loop*, along with other queued callbacks "
20502044
"and runnable coroutines of that event loop. Unlike signal handlers "
20512045
"registered using :func:`signal.signal`, a callback registered with this "
20522046
"function is allowed to interact with the event loop."
20532047
msgstr ""
2054-
"コールバックは *loop*、登録された他のコールバック、およびイベントループの実行"
2055-
"可能なコルーチンから呼び出されます。 :func:`signal.signal` を使って登録された"
2056-
"シグナルハンドラと異なり、この関数で登録されたコールバックはイベントループと"
2057-
"相互作用することが可能です。"
2048+
"このコールバックは、キューに入っている他のコールバックや実行可能なコルーチン"
2049+
"とともに、イベントループ *loop* によって呼び出されます。\n"
2050+
":func:`signal.signal` で登録したシグナルハンドラとは異なり、この関数で登録し"
2051+
"たコールバックはイベントループとやりとりできます。"
20582052

20592053
#: ../../library/asyncio-eventloop.rst:1364
20602054
msgid ""

‎library/asyncio-llapi-index.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,8 @@ msgstr "コールバックのスケジューリング"
175175
msgid ":meth:`loop.call_soon`"
176176
msgstr ":meth:`loop.call_soon`"
177177

178-
#: ../../library/asyncio-llapi-index.rst:87
179178
msgid "Invoke a callback soon."
180-
msgstr "コールバックを即座に実行します。"
179+
msgstr "コールバックがまもなく実行されるようにスケジュールします。"
181180

182181
#: ../../library/asyncio-llapi-index.rst:89
183182
msgid ":meth:`loop.call_soon_threadsafe`"

‎library/asyncio-protocol.po‎

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,6 @@ msgstr ""
564564
"が *low* の値以下になると :meth:`~BaseProtocol.resume_writing` メソッドが呼び"
565565
"出されます。"
566566

567-
#: ../../library/asyncio-protocol.rst:315
568567
msgid ""
569568
"The defaults are implementation-specific. If only the high watermark is "
570569
"given, the low watermark defaults to an implementation-specific value less "
@@ -575,13 +574,16 @@ msgid ""
575574
"Use of zero for either limit is generally sub-optimal as it reduces "
576575
"opportunities for doing I/O and computation concurrently."
577576
msgstr ""
578-
"デフォルト値は実装固有になります。 *high* のみ与えられた場合、 *low* は "
579-
"*high* 以下の実装固有のデフォルト値になります。 *high* をゼロに設定すると "
580-
"*low* も強制的にゼロになり、バッファーが空でなくなるとすぐに :meth:"
581-
"`~BaseProtocol.pause_writing` メソッドが呼び出されるようになります。 *low* を"
582-
"ゼロに設定すると、バッファーが空にな :meth:`~BaseProtocol.resume_writing` が"
583-
"呼び出されるようになります。どちらかにゼロを設定することは I/O と計算を並行に"
584-
"実行する機会を減少させるため、一般に最適ではありません。"
577+
"デフォルト値は実装固有になります。\n"
578+
"*high* のみ与えられた場合、 *low* は *high* 以下の実装固有のデフォルト値にな"
579+
"ります。\n"
580+
"*high* をゼロに設定すると *low* も強制的にゼロになり、バッファーが空でなくな"
581+
"るとすぐに :meth:`~BaseProtocol.pause_writing` メソッドが呼び出されるようにな"
582+
"ります。\n"
583+
"*low* をゼロに設定すると、バッファーが空になって初めて :meth:`~BaseProtocol."
584+
"resume_writing` が呼び出されるようになります。\n"
585+
"どちらかにゼロを設定することは I/O と計算を並行に実行する機会を減少させるた"
586+
"め、一般に最適ではありません。"
585587

586588
#: ../../library/asyncio-protocol.rst:326
587589
msgid "Use :meth:`~WriteTransport.get_write_buffer_limits` to get the limits."
@@ -852,9 +854,10 @@ msgid ""
852854
"successful connection. All other protocol callbacks can only be called "
853855
"between those two methods."
854856
msgstr ""
855-
"コネクションコールバックは全てのプロトコルから、成功したコネクションそれぞれ"
856-
"につきただ一度だけ呼び出されます。その他の全てのプロトコルコールバックはこれ"
857-
"ら2つのメソッドの間に呼び出すことができます。"
857+
"コネクションコールバックはすべてのプロトコルに対して、成功した接続ごとにそれ"
858+
"ぞれ一度だけ呼び出されます。\n"
859+
"他のプロトコルコールバックは、これら二つのメソッドの呼び出しの間にのみ呼び出"
860+
"されます。"
858861

859862
#: ../../library/asyncio-protocol.rst:498
860863
msgid "Called when a connection is made."
@@ -923,16 +926,15 @@ msgstr ""
923926
"pause_writing` は呼び出されません: バッファーサイズは必ず制限値を超えなければ"
924927
"なりません。"
925928

926-
#: ../../library/asyncio-protocol.rst:533
927929
msgid ""
928930
"Conversely, :meth:`~BaseProtocol.resume_writing` is called when the buffer "
929931
"size is equal or lower than the low watermark. These end conditions are "
930932
"important to ensure that things go as expected when either mark is zero."
931933
msgstr ""
932934
"それに対して、 :meth:`~BaseProtocol.resume_writing` はバッファーサイズが最低"
933-
"水位点と等しいかそれよりも小さい場合に呼び出されます。これらの境界条件は、ど"
934-
"ちらの基準値もゼロである場合の処理が期待通りとなることを保証するために重要で"
935-
"す。"
935+
"水位点と等しいかそれよりも小さい場合に呼び出されます。\n"
936+
"これらの境界条件は、どちらかの基準値がゼロである場合の処理が期待通りとなるこ"
937+
"とを保証するために重要です。"
936938

937939
#: ../../library/asyncio-protocol.rst:540
938940
msgid "Streaming Protocols"
@@ -1174,15 +1176,15 @@ msgstr ""
11741176
"どの場合、データグラムが配信できなければそのまま通知されることなく破棄されま"
11751177
"す。"
11761178

1177-
#: ../../library/asyncio-protocol.rst:677
11781179
msgid ""
11791180
"On BSD systems (macOS, FreeBSD, etc.) flow control is not supported for "
11801181
"datagram protocols, because there is no reliable way to detect send failures "
11811182
"caused by writing too many packets."
11821183
msgstr ""
1183-
"BSD システム (macOS, FreeBSD など) ではフロー制御はサポートされていません。こ"
1184-
"れは非常に多くのパケットを書き込もうとしたことによる送信の失敗を検出する信頼"
1185-
"できる方法が存在しないためです。"
1184+
"BSD システム (macOS, FreeBSD など) ではデータグラムプロトコルのフロー制御はサ"
1185+
"ポートされていません。\n"
1186+
"これは非常に多くのパケットを書き込もうとしたことによる送信の失敗を検出する信"
1187+
"頼できる方法が存在しないためです。"
11861188

11871189
#: ../../library/asyncio-protocol.rst:681
11881190
msgid ""

‎library/asyncio-queue.po‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,11 @@ msgid ""
121121
"if the queue has been shut down immediately."
122122
msgstr ""
123123

124-
#: ../../library/asyncio-queue.rst:71
125124
msgid ""
126125
"Return an item if one is immediately available, else raise :exc:`QueueEmpty`."
127126
msgstr ""
128-
"直ちに利用できるアイテムがあるときはそれを、そうでなければ :exc:`QueueEmpty` "
129-
"を返します。"
127+
"直ちに利用できる要素がある場合はその要素を返し、そうでなければ :exc:"
128+
"`QueueEmpty` を送出します。"
130129

131130
#: ../../library/asyncio-queue.rst:74
132131
msgid ""
@@ -241,13 +240,12 @@ msgstr ""
241240
"`~Queue.put` でキューに追加された全アイテムの :meth:`task_done` の呼び出しを"
242241
"受信したとき) に再開します。"
243242

244-
#: ../../library/asyncio-queue.rst:153
245243
msgid ""
246244
"Raises :exc:`ValueError` if called more times than there were items placed "
247245
"in the queue."
248246
msgstr ""
249-
"キューに追加されているアイテム数以上の呼び出しが行われたときに :exc:"
250-
"`ValueError` を送出します。"
247+
"呼び出し回数がキューに追加されたアイテムの総数を超えると :exc:`ValueError` を"
248+
"送出します。"
251249

252250
#: ../../library/asyncio-queue.rst:158
253251
msgid "Priority Queue"

‎library/asyncio-stream.po‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,8 @@ msgstr ""
264264
"*StreamReader* オブジェクトを直接インスタンス化することは推奨されません; 代わ"
265265
"りに :func:`open_connection` や :func:`start_server` を使ってください。"
266266

267-
#: ../../library/asyncio-stream.rst:224
268267
msgid "Acknowledge the EOF."
269-
msgstr "EOF の肯定応答を行います。"
268+
msgstr "EOF に達したことをストリームに通知します。"
270269

271270
#: ../../library/asyncio-stream.rst:229
272271
msgid "Read up to *n* bytes from the stream."
@@ -496,19 +495,18 @@ msgid ""
496495
"await writer.drain()"
497496
msgstr ""
498497

499-
#: ../../library/asyncio-stream.rst:378
500498
msgid ""
501499
"This is a flow control method that interacts with the underlying IO write "
502500
"buffer. When the size of the buffer reaches the high watermark, *drain()* "
503501
"blocks until the size of the buffer is drained down to the low watermark and "
504502
"writing can be resumed. When there is nothing to wait for, the :meth:"
505503
"`drain` returns immediately."
506504
msgstr ""
507-
"このメソッドは背後にある IO 書き込みバッファーとやりとりを行うフロー制御メ"
508-
"ソッドです。バッファーのサイズが最高水位点に達した場合、*drain()* はバッファ"
509-
"のサイズが最低水位点を下回るまで減量され、書き込み再開可能になるまで書き込み"
510-
"をブロックします。待ち受けの必要がない場合、 :meth:`drain` は即座にリターンし"
511-
"ます。"
505+
"このメソッドは背後にある IO 書き込みバッファとやりとりを行うフロー制御メソッ"
506+
"ドです。\n"
507+
"バッファのサイズが最高水位点に達すると、*drain()* はサイズが最低水位点まで減"
508+
"り、書き込みを再開できるようになるまで待機します。\n"
509+
"待つ必要がない場合、:meth:`drain` はすぐに返ります。"
512510

513511
#: ../../library/asyncio-stream.rst:387
514512
msgid ""

0 commit comments

Comments
 (0)