Skip to content

Commit c570ebf

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 5869dc9 commit c570ebf

File tree

4 files changed

+26
-6
lines changed

4 files changed

+26
-6
lines changed

faq/design.po

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

11241128
#: ../../faq/design.rst:625
11251129
msgid ""

library/multiprocessing.po

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

31983201
#: ../../library/multiprocessing.rst:2188
31993202
msgid ""

library/sys.po

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

27132713
#: ../../library/sys.rst:1579
27142714
msgid "*exc_type*: Exception type."
2715-
msgstr ""
2715+
msgstr "*exc_type*: 例外の型"
27162716

27172717
#: ../../library/sys.rst:1580
27182718
msgid "*exc_value*: Exception value, can be ``None``."
2719-
msgstr ""
2719+
msgstr "*exc_value*: 例外の値、``None``の可能性がある。"
27202720

27212721
#: ../../library/sys.rst:1581
27222722
msgid "*exc_traceback*: Exception traceback, can be ``None``."

library/threading.po

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,19 @@ msgstr ""
100100

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

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

109109
#: ../../library/threading.rst:60
110110
msgid "*exc_type*: Exception type."
111-
msgstr ""
111+
msgstr "*exc_type*: 例外の型"
112112

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

117117
#: ../../library/threading.rst:62
118118
msgid "*exc_traceback*: Exception traceback, can be ``None``."
@@ -408,6 +408,9 @@ msgid ""
408408
"excepthook` is called to handle it. By default, :func:`threading.excepthook` "
409409
"ignores silently :exc:`SystemExit`."
410410
msgstr ""
411+
":meth:`~Thread.run`メソッドが例外を発生させた場合、:func:`threading."
412+
"excepthook`が呼び出され、例外を処理します。デフォルトでは、:func:`threading."
413+
"excepthook`は:exc:`SystemExit`を黙殺します。"
411414

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

13931401
#: ../../library/threading.rst:771
13941402
msgid ""
@@ -1656,6 +1664,11 @@ msgid ""
16561664
"will block until all of the threads have made their :meth:`~Barrier.wait` "
16571665
"calls. At this point, the threads are released simultaneously."
16581666
msgstr ""
1667+
"このクラスは、互いを待つ必要のある固定の数のスレッドで使用するための単純な同"
1668+
"期プリミティブを提供します。それぞれのスレッドは :meth:`~Barrier.wait` メソッ"
1669+
"ドを呼ぶことによりバリアを通ろうとしてブロックします。すべてのスレッドがそれ"
1670+
"ぞれの:meth:`~Barrier.wait`メソッドを呼び出した時点で、すべてのスレッドが同時"
1671+
"に解放されます。"
16591672

16601673
#: ../../library/threading.rst:959
16611674
msgid ""

0 commit comments

Comments
 (0)