Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47fa49c

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 1e06e39 commit 47fa49c

File tree

5 files changed

+54
-2
lines changed

5 files changed

+54
-2
lines changed

c-api/exceptions.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ msgid ""
120120
"printed and the Python process will exit with the error code specified by "
121121
"the ``SystemExit`` instance."
122122
msgstr ""
123+
"標準のトレースバックを ``sys.stderr`` に出力し、エラーインジケータをクリアし"
124+
"ます。\n"
125+
"ただし、エラーが ``SystemExit`` **である場合を除いて** です。\n"
126+
"その場合、トレースバックは出力されず、 Python プロセスは ``SystemExit`` イン"
127+
"スタンスで指定されたエラーコードで終了します。"
123128

124129
#: ../../c-api/exceptions.rst:60
125130
msgid ""
@@ -1091,6 +1096,9 @@ msgid ""
10911096
"to be concatenated to the :exc:`RecursionError` message caused by the "
10921097
"recursion depth limit."
10931098
msgstr ""
1099+
"*where* は ``\" in instance check\"`` のような UTF-8 エンコードされた文字列に"
1100+
"して、再帰の深さの限界に達したことで送出される :exc:`RecursionError` のメッ"
1101+
"セージに連結できるようにすべきです。"
10941102

10951103
#: ../../c-api/exceptions.rst:738 ../../c-api/exceptions.rst:746
10961104
msgid "This function is now also available in the limited API."

c-api/veryhigh.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ msgid ""
206206
"\"rb\")``). Otherwise, Python may not handle script file with LF line ending "
207207
"correctly."
208208
msgstr ""
209+
"Windowsでは、 *fp* はバイナリモードで開くべきです (例えば ``fopen(filename, "
210+
"\"rb\")``)。\n"
211+
"そうしない場合は、 Python は行末が LF のスクリプトを正しく扱えないでしょう。"
209212

210213
#: ../../c-api/veryhigh.rst:126
211214
msgid ""
@@ -542,6 +545,11 @@ msgid ""
542545
"immediately be thrown; this is used for the :meth:`~generator.throw` methods "
543546
"of generator objects."
544547
msgstr ""
548+
"Python のインタープリタの主要な、直接的な関数です。実行フレーム *f* に関連付"
549+
"けられたコードオブジェクトを実行します。 バイトコードを解釈して、必要に応じて"
550+
"呼び出しを実行します。 追加の *throwflag* 引数はほとんど無視できます。 - も"
551+
"し true なら、 すぐに例外を発生させます。これはジェネレータオブジェクトの :"
552+
"meth:`~generator.throw` メソッドで利用されます。"
545553

546554
#: ../../c-api/veryhigh.rst:355
547555
msgid ""
@@ -604,10 +612,12 @@ msgid ""
604612
"as equal to ``0``, and any modification due to ``from __future__ import`` is "
605613
"discarded."
606614
msgstr ""
615+
"``PyCompilerFlags *flags`` が ``NULL`` の場合、 :attr:`cf_flags` は ``0`` と"
616+
"して扱われ、 ``from __future__ import`` による変更は無視されます。"
607617

608618
#: ../../c-api/veryhigh.rst:405
609619
msgid "Compiler flags."
610-
msgstr ""
620+
msgstr "コンパイラフラグ。"
611621

612622
#: ../../c-api/veryhigh.rst:409
613623
msgid ""

reference/expressions.po

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,10 @@ msgid ""
16231623
"It only applies to integral numbers or to custom objects that override the :"
16241624
"meth:`__invert__` special method."
16251625
msgstr ""
1626+
"単項演算子 ``~`` (反転) は、整数引数をビット単位反転 (bitwise invert) したも"
1627+
"のを与えます。``x`` のビット単位反転は、``-(x+1)`` として定義されています。こ"
1628+
"の演算子は整数や :meth:`__invert__` 特殊メソッドをオーバーライドするカスタム"
1629+
"オブジェクトにのみ適用されます。"
16261630

16271631
#: ../../reference/expressions.rst:1187
16281632
msgid ""
@@ -2326,6 +2330,10 @@ msgid ""
23262330
"iterating over ``y``. If an exception is raised during the iteration, it is "
23272331
"as if :keyword:`in` raised that exception."
23282332
msgstr ""
2333+
":meth:`__contains__` を定義していないが :meth:`__iter__` は定義しているユーザ"
2334+
"定義クラスでは、 ``x in y`` は ``x is z or x == z`` が真となるようなある値 "
2335+
"``z`` が ``y`` 内にわたる反復で生成された場合、 ``True`` となります。もし、反"
2336+
"復の間に例外が発生すれば、 :keyword:`in` が例外を発生させたようにみえます。"
23292337

23302338
#: ../../reference/expressions.rst:1604
23312339
msgid ""
@@ -2335,6 +2343,12 @@ msgid ""
23352343
"index raises the :exc:`IndexError` exception. (If any other exception is "
23362344
"raised, it is as if :keyword:`in` raised that exception)."
23372345
msgstr ""
2346+
"最終的には、旧式の反復プロトコルの実行を試みます、もし :meth:`__getitem__` を"
2347+
"定義しているようなユーザ定義クラスでは、 ``x in y`` は ``x is y[i] or x == "
2348+
"y[i]`` となるような非負の整数インデクス *i* が存在し、それより小さい整数イン"
2349+
"デクスが :exc:`IndexError` を送出しないとき、かつそのときにかぎり ``True`` と"
2350+
"なります。 (別の何らかの例外が送出された場合、例外は :keyword:`in` から送出さ"
2351+
"れたかのようになります)。"
23382352

23392353
#: ../../reference/expressions.rst:1616
23402354
msgid ""

reference/simple_stmts.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,13 @@ msgid ""
237237
"the right-hand side expression refers to a class attribute, the left-hand "
238238
"side creates a new instance attribute as the target of the assignment::"
239239
msgstr ""
240+
"注意: オブジェクトがクラスインスタンスで、代入演算子の両辺に属性参照があると"
241+
"き、右辺式の ``a.x`` はインスタンスの属性と (インスタンスの属性が存在しなけれ"
242+
"ば) クラス属性のどちらにもアクセスする可能性があります。左辺のターゲット ``a."
243+
"x`` は常にインスタンスの属性として割り当てられ、必要ならば生成されます。この"
244+
"とおり、現れる二つの ``a.x`` は同じ値を参照するとは限りません: 右辺式はクラス"
245+
"属性を参照し、左辺は新しいインスタンス属性を代入のターゲットとして生成するよ"
246+
"うなとき::"
240247

241248
#: ../../reference/simple_stmts.rst:185
242249
msgid ""
@@ -897,6 +904,10 @@ msgid ""
897904
"within that loop. It continues with the next cycle of the nearest enclosing "
898905
"loop."
899906
msgstr ""
907+
":keyword:`continue` 文は :keyword:`for` ループや :keyword:`while` ループ内の"
908+
"ネストで構文法的にのみ現れますが、ループ内の関数定義やクラス定義の中には現れ"
909+
"ません。 :keyword:`continue` 文は、文を囲う最も内側のループの次の周期に処理を"
910+
"継続します。"
900911

901912
#: ../../reference/simple_stmts.rst:711
902913
msgid ""
@@ -1182,6 +1193,8 @@ msgid ""
11821193
"The only feature that requires using the future statement is ``annotations`` "
11831194
"(see :pep:`563`)."
11841195
msgstr ""
1196+
"future 文を使う必要がある唯一の機能は ``annotations`` です (:pep:`563` を参照"
1197+
"してください)。"
11851198

11861199
#: ../../reference/simple_stmts.rst:883
11871200
msgid ""

using/cmdline.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ msgid ""
666666
"See :ref:`warning-filter` and :ref:`describing-warning-filters` for more "
667667
"details."
668668
msgstr ""
669+
"詳しくは :ref:`warning-filter` と :ref:`describing-warning-filters` を参照し"
670+
"てください。"
669671

670672
#: ../../using/cmdline.rst:419
671673
msgid ""
@@ -785,7 +787,7 @@ msgstr ""
785787

786788
#: ../../using/cmdline.rst:481
787789
msgid "The ``-X showalloccount`` option has been removed."
788-
msgstr ""
790+
msgstr "``-X showalloccount`` オプションが削除されました。"
789791

790792
#: ../../using/cmdline.rst:484
791793
msgid "The ``-X oldparser`` option."
@@ -1025,6 +1027,8 @@ msgid ""
10251027
"If this variable is not set or set to ``random``, a random value is used to "
10261028
"seed the hashes of str and bytes objects."
10271029
msgstr ""
1030+
"この変数が設定されていない場合や ``random`` に設定された場合、乱数値が str、"
1031+
"bytes オブジェクトのハッシュのシードに使われます。"
10281032

10291033
#: ../../using/cmdline.rst:649
10301034
msgid ""
@@ -1226,6 +1230,9 @@ msgid ""
12261230
"`pymalloc memory allocator <pymalloc>` every time a new pymalloc object "
12271231
"arena is created, and on shutdown."
12281232
msgstr ""
1233+
"空でない文字列に設定されると、Python は新たなオブジェクトアリーナが生成される"
1234+
"時と、シャットダウン時に :ref:`pymalloc メモリアロケータ <pymalloc>` の統計情"
1235+
"報を表示します。"
12291236

12301237
#: ../../using/cmdline.rst:808
12311238
msgid ""

0 commit comments

Comments
 (0)