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

Commit3407b86

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent9399ed5 commit3407b86

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

‎faq/design.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,10 @@ msgid ""
11301130
"all reasonable uses of the\"go\" or\"goto\" constructs of C, Fortran, and "
11311131
"other languages. For example::"
11321132
msgstr""
1133+
"関数の呼び出しをまたいでも動作する\"構造化された goto\" をまかなうものとして"
1134+
"例外を使えます。C、Fortran、その他の言語での\"go\" あるいは\"goto\" 構造の"
1135+
"適切な用途は全て、例外で同じようなことををすれば便利であると、広く感じられて"
1136+
"います。例えば::"
11331137

11341138
#:../../faq/design.rst:627
11351139
msgid""

‎library/multiprocessing.po‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3214,6 +3214,9 @@ msgid ""
32143214
"one *iterable* argument though, for multiple iterables see :meth:`starmap`). "
32153215
"It blocks until the result is ready."
32163216
msgstr""
3217+
":func:`map` 組み込み関数の並列版です (*iterable* な引数を1つだけサポートする"
3218+
"という違いはあります。もしも複数のイテラブルを使いたいのならば:meth:`starmap`"
3219+
"を参照)。結果が出るまでブロックします。"
32173220

32183221
#:../../library/multiprocessing.rst:2199
32193222
msgid""

‎library/sys.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2736,11 +2736,11 @@ msgstr ""
27362736

27372737
#:../../library/sys.rst:1591
27382738
msgid"*exc_type*: Exception type."
2739-
msgstr""
2739+
msgstr"*exc_type*: 例外の型"
27402740

27412741
#:../../library/sys.rst:1592
27422742
msgid"*exc_value*: Exception value, can be ``None``."
2743-
msgstr""
2743+
msgstr"*exc_value*: 例外の値、``None``の可能性がある。"
27442744

27452745
#:../../library/sys.rst:1593
27462746
msgid"*exc_traceback*: Exception traceback, can be ``None``."

‎library/threading.po‎

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,19 @@ msgstr ""
109109

110110
#:../../library/threading.rst:56
111111
msgid"Handle uncaught exception raised by :func:`Thread.run`."
112-
msgstr""
112+
msgstr":func:`Thread.run`で発生したキャッチされない例外を処理する。"
113113

114114
#:../../library/threading.rst:58
115115
msgid"The *args* argument has the following attributes:"
116-
msgstr""
116+
msgstr"(実) 引数*args*は以下の属性をもちます:"
117117

118118
#:../../library/threading.rst:60
119119
msgid"*exc_type*: Exception type."
120-
msgstr""
120+
msgstr"*exc_type*: 例外の型"
121121

122122
#:../../library/threading.rst:61
123123
msgid"*exc_value*: Exception value, can be ``None``."
124-
msgstr""
124+
msgstr"*exc_value*: 例外の値、``None``の可能性がある。"
125125

126126
#:../../library/threading.rst:62
127127
msgid"*exc_traceback*: Exception traceback, can be ``None``."
@@ -204,6 +204,11 @@ msgid ""
204204
"yet been started. However, the main thread is always part of the result, "
205205
"even when terminated."
206206
msgstr""
207+
"現在、アクティブな :class:`Thread` オブジェクト全てのリストを返します。リスト"
208+
"には、デーモンスレッド (daemonic thread)、 :func:`current_thread` の生成する"
209+
"ダミースレッドオブジェクトが入ります。終了したスレッドとまだ開始していないス"
210+
"レッドは入りません。しかし、主スレッドは、たとえ終了しても、常に結果に含まれ"
211+
"ます。"
207212

208213
#:../../library/threading.rst:122
209214
msgid""
@@ -414,6 +419,9 @@ msgid ""
414419
"excepthook` is called to handle it. By default, :func:`threading.excepthook` "
415420
"ignores silently :exc:`SystemExit`."
416421
msgstr""
422+
":meth:`~Thread.run`メソッドが例外を発生させた場合、:func:`threading."
423+
"excepthook`が呼び出され、例外を処理します。デフォルトでは、:func:`threading."
424+
"excepthook`は:exc:`SystemExit`を黙殺します。"
417425

418426
#:../../library/threading.rst:246
419427
msgid""
@@ -1395,6 +1403,11 @@ msgid ""
13951403
"blocks if necessary until it can return without making the counter negative. "
13961404
"If not given, *value* defaults to 1."
13971405
msgstr""
1406+
"このクラスはセマフォ (semaphore) オブジェクトを実装します。セマフォは、 :"
1407+
"meth:`release` を呼び出した数から :meth:`acquire` を呼び出した数を引き、初期"
1408+
"値を足した値を表す極小のカウンタを管理します。 :meth:`acquire` メソッドは、カ"
1409+
"ウンタの値を負にせずに処理を戻せるまで必要ならば処理をブロックします。 "
1410+
"*value* を指定しない場合、デフォルトの値は 1 になります。"
13981411

13991412
#:../../library/threading.rst:772
14001413
msgid""
@@ -1456,10 +1469,14 @@ msgid ""
14561469
"zero on entry and other threads are waiting for it to become larger than "
14571470
"zero again, wake up *n* of those threads."
14581471
msgstr""
1472+
"内部カウンタを *n* インクリメントして、セマフォを解放します。 :meth:"
1473+
"`release` 処理に入ったときにカウンタがゼロであり、カウンタの値がゼロより大き"
1474+
"くなるのを待っている別のスレッドがあった場合、それらのスレッドから*n*個を起こ"
1475+
"します。"
14591476

14601477
#:../../library/threading.rst:810
14611478
msgid"Added the *n* parameter to release multiple waiting threads at once."
1462-
msgstr""
1479+
msgstr"複数の待機中のスレッドを一度に解放する *n* パラメータを追加しました。"
14631480

14641481
#:../../library/threading.rst:816
14651482
msgid""
@@ -1663,6 +1680,11 @@ msgid ""
16631680
"will block until all of the threads have made their :meth:`~Barrier.wait` "
16641681
"calls. At this point, the threads are released simultaneously."
16651682
msgstr""
1683+
"このクラスは、互いを待つ必要のある固定の数のスレッドで使用するための単純な同"
1684+
"期プリミティブを提供します。それぞれのスレッドは :meth:`~Barrier.wait` メソッ"
1685+
"ドを呼ぶことによりバリアを通ろうとしてブロックします。すべてのスレッドがそれ"
1686+
"ぞれの:meth:`~Barrier.wait`メソッドを呼び出した時点で、すべてのスレッドが同時"
1687+
"に解放されます。"
16661688

16671689
#:../../library/threading.rst:963
16681690
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp