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

Skip to content

Commit c4e89ba

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 0ebccee commit c4e89ba

File tree

5 files changed

+43
-1
lines changed

5 files changed

+43
-1
lines changed

c-api/exceptions.po

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

120125
#: ../../c-api/exceptions.rst:60
121126
msgid ""

c-api/veryhigh.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,11 @@ msgid ""
539539
"immediately be thrown; this is used for the :meth:`~generator.throw` methods "
540540
"of generator objects."
541541
msgstr ""
542+
"Python のインタープリタの主要な、直接的な関数です。実行フレーム *f* に関連付"
543+
"けられたコードオブジェクトを実行します。 バイトコードを解釈して、必要に応じて"
544+
"呼び出しを実行します。 追加の *throwflag* 引数はほとんど無視できます。 - も"
545+
"し true なら、 すぐに例外を発生させます。これはジェネレータオブジェクトの :"
546+
"meth:`~generator.throw` メソッドで利用されます。"
542547

543548
#: ../../c-api/veryhigh.rst:345
544549
msgid ""
@@ -601,10 +606,12 @@ msgid ""
601606
"as equal to ``0``, and any modification due to ``from __future__ import`` is "
602607
"discarded."
603608
msgstr ""
609+
"``PyCompilerFlags *flags`` が ``NULL`` の場合、 :attr:`cf_flags` は ``0`` と"
610+
"して扱われ、 ``from __future__ import`` による変更は無視されます。"
604611

605612
#: ../../c-api/veryhigh.rst:395
606613
msgid "Compiler flags."
607-
msgstr ""
614+
msgstr "コンパイラフラグ。"
608615

609616
#: ../../c-api/veryhigh.rst:399
610617
msgid ""

reference/expressions.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2272,6 +2272,10 @@ msgid ""
22722272
"iterating over ``y``. If an exception is raised during the iteration, it is "
22732273
"as if :keyword:`in` raised that exception."
22742274
msgstr ""
2275+
":meth:`__contains__` を定義していないが :meth:`__iter__` は定義しているユーザ"
2276+
"定義クラスでは、 ``x in y`` は ``x is z or x == z`` が真となるようなある値 "
2277+
"``z`` が ``y`` 内にわたる反復で生成された場合、 ``True`` となります。もし、反"
2278+
"復の間に例外が発生すれば、 :keyword:`in` が例外を発生させたようにみえます。"
22752279

22762280
#: ../../reference/expressions.rst:1570
22772281
msgid ""
@@ -2281,6 +2285,12 @@ msgid ""
22812285
"index raises the :exc:`IndexError` exception. (If any other exception is "
22822286
"raised, it is as if :keyword:`in` raised that exception)."
22832287
msgstr ""
2288+
"最終的には、旧式の反復プロトコルの実行を試みます、もし :meth:`__getitem__` を"
2289+
"定義しているようなユーザ定義クラスでは、 ``x in y`` は ``x is y[i] or x == "
2290+
"y[i]`` となるような非負の整数インデクス *i* が存在し、それより小さい整数イン"
2291+
"デクスが :exc:`IndexError` を送出しないとき、かつそのときにかぎり ``True`` と"
2292+
"なります。 (別の何らかの例外が送出された場合、例外は :keyword:`in` から送出さ"
2293+
"れたかのようになります)。"
22842294

22852295
#: ../../reference/expressions.rst:1582
22862296
msgid ""

reference/simple_stmts.po

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

236243
#: ../../reference/simple_stmts.rst:185
237244
msgid ""
@@ -892,6 +899,10 @@ msgid ""
892899
"within that loop. It continues with the next cycle of the nearest enclosing "
893900
"loop."
894901
msgstr ""
902+
":keyword:`continue` 文は :keyword:`for` ループや :keyword:`while` ループ内の"
903+
"ネストで構文法的にのみ現れますが、ループ内の関数定義やクラス定義の中には現れ"
904+
"ません。 :keyword:`continue` 文は、文を囲う最も内側のループの次の周期に処理を"
905+
"継続します。"
895906

896907
#: ../../reference/simple_stmts.rst:711
897908
msgid ""
@@ -1177,6 +1188,8 @@ msgid ""
11771188
"The only feature that requires using the future statement is ``annotations`` "
11781189
"(see :pep:`563`)."
11791190
msgstr ""
1191+
"future 文を使う必要がある唯一の機能は ``annotations`` です (:pep:`563` を参照"
1192+
"してください)。"
11801193

11811194
#: ../../reference/simple_stmts.rst:883
11821195
msgid ""

using/cmdline.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ msgid ""
660660
"See :ref:`warning-filter` and :ref:`describing-warning-filters` for more "
661661
"details."
662662
msgstr ""
663+
"詳しくは :ref:`warning-filter` と :ref:`describing-warning-filters` を参照し"
664+
"てください。"
663665

664666
#: ../../using/cmdline.rst:419
665667
msgid ""
@@ -1023,6 +1025,8 @@ msgid ""
10231025
"If this variable is not set or set to ``random``, a random value is used to "
10241026
"seed the hashes of str and bytes objects."
10251027
msgstr ""
1028+
"この変数が設定されていない場合や ``random`` に設定された場合、乱数値が str、"
1029+
"bytes オブジェクトのハッシュのシードに使われます。"
10261030

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

12281235
#: ../../using/cmdline.rst:795
12291236
msgid ""

0 commit comments

Comments
 (0)