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

Commita4249bc

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent72ca85d commita4249bc

34 files changed

+847
-45
lines changed

‎library/abc.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ msgid ""
256256
"\"virtual subclasses\" registered with the ABC's :meth:`register` method are "
257257
"not affected."
258258
msgstr""
259+
"クラスに動的に抽象メソッドを追加する、あるいはメソッドやクラスが作られた後か"
260+
"ら抽象的かどうかの状態を変更しようと試みることは、:func:"
261+
"`update_abstractmethods` 関数を使ってのみサポートされます。 :func:"
262+
"`abstractmethod` が影響を与えるのは正規の継承により派生したサブクラスのみで、"
263+
"ABC の :meth:`register` メソッドで登録された\"仮想的サブクラス\" は影響され"
264+
"ません。"
259265

260266
#:../../library/abc.rst:183
261267
msgid""

‎library/ast.po

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ msgid ""
7777
"`above <abstract-grammar>`. They are defined in the :mod:`_ast` C module "
7878
"and re-exported in :mod:`ast`."
7979
msgstr""
80+
"このクラスは全ての AST ノード・クラスの基底です。実際のノード・クラスは :ref:"
81+
"`先に <abstract-grammar>` 示した :file:`Parser/Python.asdl` ファイルから派生"
82+
"したものです。これらのクラスは :mod:`_ast` C モジュールで定義され、 :mod:"
83+
"`ast` にもエクスポートし直されています。"
8084

8185
#:../../library/ast.rst:51
8286
msgid""
@@ -140,6 +144,13 @@ msgid ""
140144
"the node. The UTF-8 offset is recorded because the parser uses UTF-8 "
141145
"internally."
142146
msgstr""
147+
":class:`ast.expr` や :class:`ast.stmt` のサブクラスのインスタンスは :attr:"
148+
"`lineno`, :attr:`col_offset`, :attr:`end_lineno`, および :attr:"
149+
"`end_col_offset` 属性を持ちます。 :attr:`lineno` と :attr:`end_lineno` はソー"
150+
"ステキストの範囲を最初と最後の行番号で表し (1 から数え始めるので、最初の行の"
151+
"行番号は 1 となります)、 :attr:`col_offset` と :attr:`end_col_offset` はノー"
152+
"ドが生成した最初と最後のトークンの UTF-8 バイトオフセットです。 UTF-8 オフ"
153+
"セットはパーサが内部で使用するので記録されます。"
143154

144155
#:../../library/ast.rst:91
145156
msgid""
@@ -647,6 +658,8 @@ msgid ""
647658
"The ``target`` attribute cannot be of class :class:`Tuple` or :class:`List`, "
648659
"unlike the targets of :class:`Assign`."
649660
msgstr""
661+
":class:`Assign` と異なり、 ``target`` 属性は class :class:`Tuple` や :class:"
662+
"`List` であってはいけません。"
650663

651664
#:../../library/ast.rst:858
652665
msgid""
@@ -1281,13 +1294,20 @@ msgid ""
12811294
"following Python literal structures: strings, bytes, numbers, tuples, lists, "
12821295
"dicts, sets, booleans, ``None`` and ``Ellipsis``."
12831296
msgstr""
1297+
"Python のリテラルやコンテナ表現のみを含む式ノードまたは文字列を評価します。与"
1298+
"えられる文字列またはノードは次の Python リテラル構造のみからなるものに限られ"
1299+
"ます: 文字列、バイト列、数、タプル、リスト、辞書、集合、ブール値、``None``、"
1300+
"``Ellipsis``。"
12841301

12851302
#:../../library/ast.rst:1967
12861303
msgid""
12871304
"This can be used for evaluating strings containing Python values without the "
12881305
"need to parse the values oneself. It is not capable of evaluating "
12891306
"arbitrarily complex expressions, for example involving operators or indexing."
12901307
msgstr""
1308+
"この関数は Python の式を含んだ文字列を、値自身を解析することなしに評価するの"
1309+
"に使えます。この関数は、例えば演算や添え字を含んだ任意の複雑な表現を評価する"
1310+
"のには使えません。"
12911311

12921312
#:../../library/ast.rst:1972
12931313
msgid""
@@ -1306,6 +1326,8 @@ msgid ""
13061326
"It is possible to crash the Python interpreter due to stack depth "
13071327
"limitations in Python's AST compiler."
13081328
msgstr""
1329+
"Python の抽象構文木コンパイラのスタックの深さの限界を越えることで、 Python イ"
1330+
"ンタプリタをクラッシュさせる可能性があります。"
13091331

13101332
#:../../library/ast.rst:1985
13111333
msgid""
@@ -1693,6 +1715,9 @@ msgid ""
16931715
"token-based and parse-tree-based views of python programs by inserting two-"
16941716
"way links between tokens and ast nodes."
16951717
msgstr""
1718+
"`leoAst.py <https://leoeditor.com/appendices.html#leoast-py>`_ は ast ノード"
1719+
"とトークンの間の双方向リンクを挿入することにより、Python プログラムに対する"
1720+
"トークンベースの視点と構文木ベースの視点を統合します。"
16961721

16971722
#:../../library/ast.rst:2252
16981723
msgid""

‎library/bdb.po

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ msgid ""
7979
"executed. A :attr:`conditional <cond>` breakpoint always counts a :attr:"
8080
"`hit <hits>`."
8181
msgstr""
82+
"ブレークポイントを作るとき、関連付けられる :attr:`ファイル名 <file>` は正規化"
83+
"されていなければなりません。:attr:`funcname` が定義されると、ブレークポイント"
84+
"の :attr:`ヒット <hits>` はその関数の最初の行が実行されたときにカウントされま"
85+
"す。:attr:`条件付き <cond>` ブレークポイントは毎回 :attr:`ヒット <hits>` をカ"
86+
"ウントします。"
8287

8388
#:../../library/bdb.rst:39
8489
msgid":class:`Breakpoint` instances have the following methods:"
@@ -142,7 +147,7 @@ msgstr ""
142147

143148
#:../../library/bdb.rst:77
144149
msgid":class:`Breakpoint` instances have the following attributes:"
145-
msgstr""
150+
msgstr":class:`Breakpoint` インスタンスは以下の属性を持ちます:"
146151

147152
#:../../library/bdb.rst:81
148153
msgid"File name of the :class:`Breakpoint`."
@@ -422,17 +427,23 @@ msgid ""
422427
"Called from :meth:`dispatch_line` when either :meth:`stop_here` or :meth:"
423428
"`break_here` returns ``True``."
424429
msgstr""
430+
":meth:`stop_here` か :meth:`break_here` が ``True`` を返したときに、 :meth:"
431+
"`dispatch_line` から呼び出されます。"
425432

426433
#:../../library/bdb.rst:250
427434
msgid""
428435
"Called from :meth:`dispatch_return` when :meth:`stop_here` returns ``True``."
429436
msgstr""
437+
":meth:`stop_here` が ``True`` を返したときに、 :meth:`dispatch_return` から呼"
438+
"び出されます。"
430439

431440
#:../../library/bdb.rst:254
432441
msgid""
433442
"Called from :meth:`dispatch_exception` when :meth:`stop_here` returns "
434443
"``True``."
435444
msgstr""
445+
":meth:`stop_here` が ``True`` を返したときに、 :meth:`dispatch_exception` か"
446+
"ら呼び出されます。"
436447

437448
#:../../library/bdb.rst:259
438449
msgid"Handle how a breakpoint must be removed when it is a temporary one."
@@ -470,6 +481,8 @@ msgid ""
470481
"Stop when the line with the *lineno* greater than the current one is reached "
471482
"or when returning from current frame."
472483
msgstr""
484+
"現在の行番号よりも大きい *lineno* に到達したとき、あるいは、現在のフレームか"
485+
"ら戻るときにストップします。"
473486

474487
#:../../library/bdb.rst:286
475488
msgid""
@@ -521,6 +534,8 @@ msgid ""
521534
"Delete the breakpoints in *filename* and *lineno*. If none were set, return "
522535
"an error message."
523536
msgstr""
537+
"*filename* の *lineno* 行にあるブレークポイントを削除します。もしブレークポイ"
538+
"ントが無かった場合、エラーメッセージを返します。"
524539

525540
#:../../library/bdb.rst:317
526541
msgid""
@@ -537,11 +552,15 @@ msgid ""
537552
"Delete all breakpoints in *filename*. If none were set, return an error "
538553
"message."
539554
msgstr""
555+
"*filename* にあるすべてのブレークポイントを削除します。もしブレークポイントが"
556+
"無かった場合、エラーメッセージを返します。"
540557

541558
#:../../library/bdb.rst:328
542559
msgid""
543560
"Delete all existing breakpoints. If none were set, return an error message."
544561
msgstr""
562+
"存在するすべてのブレークポイントを削除します。もしブレークポイントが無かった"
563+
"場合、エラーメッセージを返します。"
545564

546565
#:../../library/bdb.rst:333
547566
msgid""
@@ -557,6 +576,7 @@ msgstr ""
557576
#:../../library/bdb.rst:342
558577
msgid"Return True if there is a breakpoint for *lineno* in *filename*."
559578
msgstr""
579+
"*filename* の *lineno* にブレークポイントが存在するかどうかを返します。"
560580

561581
#:../../library/bdb.rst:346
562582
msgid""
@@ -606,7 +626,7 @@ msgstr ""
606626

607627
#:../../library/bdb.rst:374
608628
msgid"The function name or ``\"<lambda>\"``."
609-
msgstr""
629+
msgstr"関数名もしくは ``\"<lambda>\"``。"
610630

611631
#:../../library/bdb.rst:375
612632
msgid"The input arguments."
@@ -662,6 +682,8 @@ msgid ""
662682
"Return True if we should break here, depending on the way the :class:"
663683
"`Breakpoint` *b* was set."
664684
msgstr""
685+
":class:`Breakpoint` *b* が設定された方法に依存する方法で、この場所でブレーク"
686+
"する必要があれば真を返します。"
665687

666688
#:../../library/bdb.rst:409
667689
msgid""

‎library/custominterp.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ msgid ""
3434
"look at the :mod:`code` module. (The :mod:`codeop` module is lower-level, "
3535
"used to support compiling a possibly incomplete chunk of Python code.)"
3636
msgstr""
37+
"この章で解説されるモジュールで Python の対話インタプリタに似たインターフェー"
38+
"スを書くことができます。もし Python そのもの以外に何か特殊な機能をサポートし"
39+
"た Python インタプリタを作りたければ、 :mod:`code` モジュールを参照してくださ"
40+
"い。 (:mod:`codeop` モジュールはより低レベルで、不完全(かもしれない) Python "
41+
"コード断片のコンパイルをサポートするために使われます。)"
3742

3843
#:../../library/custominterp.rst:13
3944
msgid"The full list of modules described in this chapter is:"

‎library/dataclasses.po

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,12 @@ msgid ""
589589
"``name: value`` pairs. dataclasses, dicts, lists, and tuples are recursed "
590590
"into. Other objects are copied with :func:`copy.deepcopy`."
591591
msgstr""
592+
"データクラス ``obj`` を (ファクトリ関数 ``dict_factory`` を使い) 辞書に変換し"
593+
"ます。\n"
594+
"それぞれのデータクラスは、 ``name: value`` という組になっている、フィールドの"
595+
"辞書に変換されます。\n"
596+
"データクラス、辞書、リスト、タプルは再帰的に処理されます。\n"
597+
"その他のオブジェクトは :func:`copy.deepcopy` でコピーされます。"
592598

593599
#:../../library/dataclasses.rst:331
594600
msgid"Example of using :func:`asdict` on nested dataclasses::"
@@ -603,6 +609,8 @@ msgid ""
603609
":func:`asdict` raises :exc:`TypeError` if ``obj`` is not a dataclass "
604610
"instance."
605611
msgstr""
612+
"``obj`` がデータクラスのインスタンスでなかった場合、 :func:`asdict` は :exc:"
613+
"`TypeError` を送出します。"
606614

607615
#:../../library/dataclasses.rst:357
608616
msgid""
@@ -611,6 +619,11 @@ msgid ""
611619
"values. dataclasses, dicts, lists, and tuples are recursed into. Other "
612620
"objects are copied with :func:`copy.deepcopy`."
613621
msgstr""
622+
"データクラス ``obj`` を (ファクトリ関数 ``tuple_factory`` を使い) タプルに変"
623+
"換します。\n"
624+
"それぞれのデータクラスは、フィールド値のタプルに変換されます。\n"
625+
"データクラス、辞書、リスト、タプルは再帰的に処理されます。\n"
626+
"その他のオブジェクトは :func:`copy.deepcopy` でコピーされます。"
614627

615628
#:../../library/dataclasses.rst:363
616629
msgid"Continuing from the previous example::"
@@ -621,6 +634,8 @@ msgid ""
621634
":func:`astuple` raises :exc:`TypeError` if ``obj`` is not a dataclass "
622635
"instance."
623636
msgstr""
637+
"``obj`` がデータクラスのインスタンスでなかった場合、 :func:`astuple` は :exc:"
638+
"`TypeError` を送出します。"
624639

625640
#:../../library/dataclasses.rst:377
626641
msgid""
@@ -668,6 +683,11 @@ msgid ""
668683
"`TypeError`. If values in ``changes`` do not specify fields, raises :exc:"
669684
"`TypeError`."
670685
msgstr""
686+
"``obj`` と同じ型のオブジェクトを新しく作成し、フィールドを ``changes`` にある"
687+
"値で置き換えます。\n"
688+
"``obj`` がデータクラスではなかった場合、 :exc:`TypeError` を送出します。\n"
689+
"``changes`` にある値がフィールドを指定していなかった場合も、 :exc:"
690+
"`TypeError` を送出します。"
671691

672692
#:../../library/dataclasses.rst:417
673693
msgid""

‎library/ensurepip.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ msgid ""
104104
"least as recent as the one available in ``ensurepip``, pass the ``--"
105105
"upgrade`` option::"
106106
msgstr""
107+
"この起動方法は ``pip`` をインストールします。既にインストールされていた場合は"
108+
"何もしません。インストールされた ``pip`` のバージョンを ``ensurepip`` で利用"
109+
"できるもののうち、できるだけ新しいものにするためには、``--upgrade`` オプショ"
110+
"ンを追加して::"
107111

108112
#:../../library/ensurepip.rst:58
109113
msgid""
@@ -181,6 +185,8 @@ msgid ""
181185
"Returns a string specifying the available version of pip that will be "
182186
"installed when bootstrapping an environment."
183187
msgstr""
188+
"環境にブートストラップする際にインストールされることになる利用可能な pip の"
189+
"バージョンを示す文字列を返します。"
184190

185191
#:../../library/ensurepip.rst:98
186192
msgid"Bootstraps ``pip`` into the current or designated environment."
@@ -200,6 +206,8 @@ msgid ""
200206
"*upgrade* indicates whether or not to upgrade an existing installation of an "
201207
"earlier version of ``pip`` to the available version."
202208
msgstr""
209+
"*upgrade* で、 ``pip`` の利用可能なバージョンとして、インストール済みの以前の"
210+
"バージョンをアップグレードするかどうかを指定します。"
203211

204212
#:../../library/ensurepip.rst:107
205213
msgid""

‎library/faulthandler.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,5 @@ msgid ""
286286
"Example of a segmentation fault on Linux with and without enabling the fault "
287287
"handler:"
288288
msgstr""
289+
"フォールトハンドラを有効化・無効化したときの Linuxでのセグメンテーション"
290+
"フォールトの例:"

‎library/gc.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ msgid ""
118118
"Raises an :ref:`auditing event <auditing>` ``gc.get_objects`` with argument "
119119
"``generation``."
120120
msgstr""
121+
"引数 ``generation`` で :ref:`監査イベント <auditing>` ``gc.get_objects`` を送"
122+
"出します。 "
121123

122124
#:../../library/gc.rst:79
123125
msgid""
@@ -229,6 +231,8 @@ msgid ""
229231
"Raises an :ref:`auditing event <auditing>` ``gc.get_referrers`` with "
230232
"argument ``objs``."
231233
msgstr""
234+
"引数 ``objs`` を指定して :ref:`監査イベント <auditing>` ``gc.get_referrers`` "
235+
"を送出します。 "
232236

233237
#:../../library/gc.rst:151
234238
msgid""
@@ -255,6 +259,8 @@ msgid ""
255259
"Raises an :ref:`auditing event <auditing>` ``gc.get_referents`` with "
256260
"argument ``objs``."
257261
msgstr""
262+
"引数 ``objs`` を指定して :ref:`監査イベント <auditing>` ``gc.get_referents`` "
263+
"を送出します。 "
258264

259265
#:../../library/gc.rst:163
260266
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp