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

Commit4102923

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parenta198f43 commit4102923

File tree

11 files changed

+299
-12
lines changed

11 files changed

+299
-12
lines changed

‎c-api/dict.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ msgid ""
126126
"*key*. If *key* is not in the dictionary, :exc:`KeyError` is raised. Return "
127127
"``0`` on success or ``-1`` on failure."
128128
msgstr""
129+
"辞書 *p* から文字列 *key* をキーとするエントリを除去します。*key* が辞書にな"
130+
"ければ、:exc:`KeyError` を送出します。成功した場合には ``0`` を、失敗した場合"
131+
"には ``-1`` を返します。"
129132

130133
#:../../c-api/dict.rst:98
131134
msgid""

‎c-api/init.po

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ msgid ""
588588
"Raises an :ref:`auditing event <auditing>` ``cpython."
589589
"_PySys_ClearAuditHooks`` with no arguments."
590590
msgstr""
591+
"引数無しで :ref:`監査イベント <auditing>` ``cpython._PySys_ClearAuditHooks`` "
592+
"を送出します。 "
591593

592594
#:../../c-api/init.rst:310
593595
msgid""
@@ -1620,6 +1622,8 @@ msgid ""
16201622
"Raises an :ref:`auditing event <auditing>` ``cpython."
16211623
"PyInterpreterState_New`` with no arguments."
16221624
msgstr""
1625+
"引数無しで :ref:`監査イベント <auditing>` ``cpython.PyInterpreterState_New`` "
1626+
"を送出します。 "
16231627

16241628
#:../../c-api/init.rst:1026
16251629
msgid""
@@ -1634,6 +1638,8 @@ msgid ""
16341638
"Raises an :ref:`auditing event <auditing>` ``cpython."
16351639
"PyInterpreterState_Clear`` with no arguments."
16361640
msgstr""
1641+
"引数無しで :ref:`監査イベント <auditing>` ``cpython."
1642+
"PyInterpreterState_Clear`` を送出します。 "
16371643

16381644
#:../../c-api/init.rst:1034
16391645
msgid""
@@ -1847,6 +1853,14 @@ msgid ""
18471853
"runtime finalization. The :c:func:`PyInterpreterState_Main` function "
18481854
"returns a pointer to its state."
18491855
msgstr""
1856+
"\"メイン\" インタプリタとは、ランタイムが初期化を行ったときに最初に作成された"
1857+
"インタプリタのことです。\n"
1858+
"サブインタプリタと違い、メインインタプリタにはシグナルハンドリングのような、"
1859+
"プロセス全域で唯一な責務があります。\n"
1860+
"メインインタプリタにはランタイムの初期化中の処理実行という責務もあり、通常は"
1861+
"ランタイムの終了処理中に動いているランタイムでもあります。\n"
1862+
":c:func:`PyInterpreterState_Main` 関数は、メインインタプリタの状態へのポイン"
1863+
"タを返します。"
18501864

18511865
#:../../c-api/init.rst:1186
18521866
msgid""

‎c-api/memory.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,33 +461,46 @@ msgid ""
461461
"as if ``PyObject_Malloc(1)`` had been called instead. The memory will not "
462462
"have been initialized in any way."
463463
msgstr""
464+
"0バイトを要求すると、 ``PyObject_Malloc(1)`` が呼ばれたときと同じように、可能"
465+
"なら ``NULL`` でないユニークなポインタを返します。\n"
466+
"確保されたメモリーにはいかなる初期化も行われません。"
464467

465468
#:../../c-api/memory.rst:299
466469
msgid""
467470
"Requesting zero elements or elements of size zero bytes returns a distinct "
468471
"non-``NULL`` pointer if possible, as if ``PyObject_Calloc(1, 1)`` had been "
469472
"called instead."
470473
msgstr""
474+
"要素数か要素のサイズが0バイトの要求に対しては、可能なら ``PyObject_Calloc(1, "
475+
"1)`` が呼ばれたのと同じように、ユニークな ``NULL`` でないポインタを返します。"
471476

472477
#:../../c-api/memory.rst:311
473478
msgid""
474479
"If *p* is ``NULL``, the call is equivalent to ``PyObject_Malloc(n)``; else "
475480
"if *n* is equal to zero, the memory block is resized but is not freed, and "
476481
"the returned pointer is non-``NULL``."
477482
msgstr""
483+
"*p* が ``NULL`` の場合呼び出しは ``PyObject_Malloc(n)`` と等価です。そうでな"
484+
"く、 *n* がゼロに等しい場合、メモリブロックはリサイズされますが解放されませ"
485+
"ん。返されたポインタは非 ``NULL`` です。"
478486

479487
#:../../c-api/memory.rst:315
480488
msgid""
481489
"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:"
482490
"func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:"
483491
"`PyObject_Calloc`."
484492
msgstr""
493+
"*p* が ``NULL`` でない限り、*p* はそれより前の :c:func:`PyObject_Malloc`, :c:"
494+
"func:`PyObject_Realloc` または :c:func:`PyObject_Calloc` の呼び出しにより返さ"
495+
"れなければなりません。"
485496

486497
#:../../c-api/memory.rst:318
487498
msgid""
488499
"If the request fails, :c:func:`PyObject_Realloc` returns ``NULL`` and *p* "
489500
"remains a valid pointer to the previous memory area."
490501
msgstr""
502+
"要求が失敗した場合 :c:func:`PyObject_Realloc` は ``NULL`` を返し、 *p* は前の"
503+
"メモリエリアをさす有効なポインタのままです。"
491504

492505
#:../../c-api/memory.rst:324
493506
msgid""

‎c-api/module.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ msgid ""
218218
"Docstring for the module; usually a docstring variable created with :c:macro:"
219219
"`PyDoc_STRVAR` is used."
220220
msgstr""
221+
"モジュールの docstring。たいてい docstring は :c:macro:`PyDoc_STRVAR` を利用"
222+
"して生成されます。"
221223

222224
#:../../c-api/module.rst:160
223225
msgid""
@@ -800,3 +802,5 @@ msgid ""
800802
"Removes the module object created from *def* from the interpreter state. "
801803
"Return 0 on success or -1 on failure."
802804
msgstr""
805+
"*def* から作られたモジュールオブジェクトをインタプリタ state から削除します。"
806+
"成功したら 0 を、失敗したら -1 を返します。"

‎c-api/structures.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ msgid ""
695695
"It should return a new reference on success or ``NULL`` with a set exception "
696696
"on failure."
697697
msgstr""
698+
"成功または失敗時に ``NULL`` と例外の集合にされたときは新しい参照を返します。"
698699

699700
#:../../c-api/structures.rst:370
700701
msgid""
@@ -707,3 +708,5 @@ msgid ""
707708
"In case the attribute should be deleted the second parameter is ``NULL``. "
708709
"Should return ``0`` on success or ``-1`` with a set exception on failure."
709710
msgstr""
711+
"属性を削除する場合は、2 番目のパラメータに ``NULL`` を指定します。成功した場"
712+
"合は ``0`` を、失敗した場合は ``-1`` を例外として返します。"

‎c-api/tuple.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ msgid ""
107107
"``NULL`` on failure. This is the equivalent of the Python expression "
108108
"``p[low:high]``. Indexing from the end of the list is not supported."
109109
msgstr""
110+
"成功すると *p* の *low* から *high* までの間を指し示すタプルのスライスを返"
111+
"し、失敗すると ``NULL`` を返します。Python の式 ``p[low:high]`` と同じです。"
112+
"リストの終端からのインデックスはサポートされていません。"
110113

111114
#:../../c-api/tuple.rst:77
112115
msgid""
@@ -242,7 +245,7 @@ msgstr "``doc``"
242245

243246
#:../../c-api/tuple.rst:155
244247
msgid"pointer to docstring for the type or ``NULL`` to omit"
245-
msgstr""
248+
msgstr"生成する型のdocstringへのポインタ、または省略する場合は ``NULL``"
246249

247250
#:../../c-api/tuple.rst:158
248251
msgid"``fields``"
@@ -281,6 +284,9 @@ msgid ""
281284
"name for the field or ``NULL`` to end the list of named fields, set to :c:"
282285
"data:`PyStructSequence_UnnamedField` to leave unnamed"
283286
msgstr""
287+
"フィールドの名前。もし名前づけされたフィールドのリストの終端を表す場合は "
288+
"``NULL``。名前がないままにする場合は、:c:data:"
289+
"`PyStructSequence_UnnamedField` を設定します"
284290

285291
#:../../c-api/tuple.rst:181
286292
msgid"field docstring or ``NULL`` to omit"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp