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

Skip to content

Commit f7cdf81

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 106e7c9 commit f7cdf81

File tree

16 files changed

+380
-16
lines changed

16 files changed

+380
-16
lines changed

c-api/datetime.po

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,58 +76,80 @@ msgid ""
7676
"Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not "
7777
"be ``NULL``. This function always succeeds."
7878
msgstr ""
79+
"*ob* が :c:data:`PyDateTime_DateType` の場合に真を返します。\n"
80+
"*ob* は ``NULL`` であってはなりません。この関数は常に成功します。"
7981

8082
#: ../../c-api/datetime.rst:43
8183
msgid ""
8284
"Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a "
8385
"subtype of :c:data:`PyDateTime_DateTimeType`. *ob* must not be ``NULL``. "
8486
"This function always succeeds."
8587
msgstr ""
88+
"*ob* が :c:data:`PyDateTime_DateTimeType` 型か :c:data:"
89+
"`PyDateTime_DateTimeType` 型のサブタイプのオブジェクトの場合に真を返します; "
90+
"*ob* は ``NULL`` であってはなりません。この関数は常に成功します。"
8691

8792
#: ../../c-api/datetime.rst:50
8893
msgid ""
8994
"Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must "
9095
"not be ``NULL``. This function always succeeds."
9196
msgstr ""
97+
"*ob* が :c:data:`PyDateTime_DateTimeType` の場合に真を返します。\n"
98+
"*ob* は ``NULL`` であってはなりません。この関数は常に成功します。"
9299

93100
#: ../../c-api/datetime.rst:56
94101
msgid ""
95102
"Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype "
96103
"of :c:data:`PyDateTime_TimeType`. *ob* must not be ``NULL``. This function "
97104
"always succeeds."
98105
msgstr ""
106+
"*ob* が :c:data:`PyDateTime_TimeType` 型か :c:data:`PyDateTime_TimeType` 型の"
107+
"サブタイプのオブジェクトの場合に真を返します; *ob* は ``NULL`` であってはなり"
108+
"ません。この関数は常に成功します。"
99109

100110
#: ../../c-api/datetime.rst:63
101111
msgid ""
102112
"Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not "
103113
"be ``NULL``. This function always succeeds."
104114
msgstr ""
115+
"*ob* が :c:data:`PyDateTime_TimeType` の場合に真を返します。\n"
116+
"*ob* は ``NULL`` であってはなりません。この関数は常に成功します。"
105117

106118
#: ../../c-api/datetime.rst:69
107119
msgid ""
108120
"Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype "
109121
"of :c:data:`PyDateTime_DeltaType`. *ob* must not be ``NULL``. This "
110122
"function always succeeds."
111123
msgstr ""
124+
"*ob* が :c:data:`PyDateTime_DeltaType` 型か :c:data:`PyDateTime_DeltaType` 型"
125+
"のサブタイプのオブジェクトの場合に真を返します; *ob* は ``NULL`` であってはな"
126+
"りません。この関数は常に成功します。"
112127

113128
#: ../../c-api/datetime.rst:76
114129
msgid ""
115130
"Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not "
116131
"be ``NULL``. This function always succeeds."
117132
msgstr ""
133+
"*ob* が :c:data:`PyDateTime_DeltaType` の場合に真を返します。\n"
134+
"*ob* は ``NULL`` であってはなりません。この関数は常に成功します。"
118135

119136
#: ../../c-api/datetime.rst:82
120137
msgid ""
121138
"Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype "
122139
"of :c:data:`PyDateTime_TZInfoType`. *ob* must not be ``NULL``. This "
123140
"function always succeeds."
124141
msgstr ""
142+
"*ob* が :c:data:`PyDateTime_TZInfoType` 型か :c:data:`PyDateTime_TZInfoType` "
143+
"型のサブタイプのオブジェクトの場合に真を返します; *ob* は ``NULL`` であっては"
144+
"なりません。この関数は常に成功します。"
125145

126146
#: ../../c-api/datetime.rst:89
127147
msgid ""
128148
"Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must "
129149
"not be ``NULL``. This function always succeeds."
130150
msgstr ""
151+
"*ob* が :c:data:`PyDateTime_TZInfoType` の場合に真を返します。\n"
152+
"*ob* は ``NULL`` であってはなりません。この関数は常に成功します。"
131153

132154
#: ../../c-api/datetime.rst:93
133155
msgid "Macros to create objects:"

c-api/dict.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,16 @@ msgid ""
5050
"Return true if *p* is a dict object or an instance of a subtype of the dict "
5151
"type. This function always succeeds."
5252
msgstr ""
53+
"*p* が辞書オブジェクトか辞書型のサブタイプのインスタンスである場合に真を返し"
54+
"ます。この関数は常に成功します。"
5355

5456
#: ../../c-api/dict.rst:30
5557
msgid ""
5658
"Return true if *p* is a dict object, but not an instance of a subtype of the "
5759
"dict type. This function always succeeds."
5860
msgstr ""
61+
"*p* が辞書オブジェクトだが辞書型のサブタイプのインスタンスでない場合に真を返"
62+
"します。この関数は常に成功します。"
5963

6064
#: ../../c-api/dict.rst:36
6165
msgid "Return a new empty dictionary, or ``NULL`` on failure."
@@ -126,6 +130,9 @@ msgid ""
126130
"*key*. If *key* is not in the dictionary, :exc:`KeyError` is raised. Return "
127131
"``0`` on success or ``-1`` on failure."
128132
msgstr ""
133+
"辞書 *p* から文字列 *key* をキーとするエントリを除去します。*key* が辞書にな"
134+
"ければ、:exc:`KeyError` を送出します。成功した場合には ``0`` を、失敗した場合"
135+
"には ``-1`` を返します。"
129136

130137
#: ../../c-api/dict.rst:98
131138
msgid ""

c-api/init.po

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ msgid ""
592592
"Raises an :ref:`auditing event <auditing>` ``cpython."
593593
"_PySys_ClearAuditHooks`` with no arguments."
594594
msgstr ""
595+
"引数無しで :ref:`監査イベント <auditing>` ``cpython._PySys_ClearAuditHooks`` "
596+
"を送出します。 "
595597

596598
#: ../../c-api/init.rst:310
597599
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:1030
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:1038
16391645
msgid ""
@@ -1829,6 +1835,10 @@ msgid ""
18291835
"*tstate*, which must not be ``NULL``. The lock must have been created "
18301836
"earlier. If this thread already has the lock, deadlock ensues."
18311837
msgstr ""
1838+
"GIL を獲得し、現在のスレッド状態を *tstate* に設定します。 *tstate* は "
1839+
"``NULL`` であってはなりません。ロックはあらかじめ作成されていなければなりませ"
1840+
"ん。この関数を呼び出したスレッドがすでにロックを獲得している場合、デッドロッ"
1841+
"クに陥ります。"
18321842

18331843
#: ../../c-api/init.rst:1203 ../../c-api/init.rst:1241
18341844
msgid ""
@@ -1925,6 +1935,14 @@ msgid ""
19251935
"runtime finalization. The :c:func:`PyInterpreterState_Main` function "
19261936
"returns a pointer to its state."
19271937
msgstr ""
1938+
"\"メイン\" インタプリタとは、ランタイムが初期化を行ったときに最初に作成された"
1939+
"インタプリタのことです。\n"
1940+
"サブインタプリタと違い、メインインタプリタにはシグナルハンドリングのような、"
1941+
"プロセス全域で唯一な責務があります。\n"
1942+
"メインインタプリタにはランタイムの初期化中の処理実行という責務もあり、通常は"
1943+
"ランタイムの終了処理中に動いているランタイムでもあります。\n"
1944+
":c:func:`PyInterpreterState_Main` 関数は、メインインタプリタの状態へのポイン"
1945+
"タを返します。"
19281946

19291947
#: ../../c-api/init.rst:1274
19301948
msgid ""
@@ -2399,7 +2417,7 @@ msgstr ""
23992417

24002418
#: ../../c-api/init.rst:1557 ../../c-api/init.rst:1569
24012419
msgid "The caller must hold the :term:`GIL`."
2402-
msgstr ""
2420+
msgstr "呼び出し側は :term:`GIL` を獲得しなければなりません。"
24032421

24042422
#: ../../c-api/init.rst:1562
24052423
msgid ""

c-api/long.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,16 @@ msgid ""
6060
"Return true if its argument is a :c:type:`PyLongObject` or a subtype of :c:"
6161
"type:`PyLongObject`. This function always succeeds."
6262
msgstr ""
63+
"引数が :c:type:`PyLongObject` か :c:type:`PyLongObject` のサブタイプであると"
64+
"きに真を返します。この関数は常に成功します。"
6365

6466
#: ../../c-api/long.rst:35
6567
msgid ""
6668
"Return true if its argument is a :c:type:`PyLongObject`, but not a subtype "
6769
"of :c:type:`PyLongObject`. This function always succeeds."
6870
msgstr ""
71+
"引数が :c:type:`PyLongObject` であるが :c:type:`PyLongObject` のサブタイプで"
72+
"ないときに真を返します。この関数は常に成功します。"
6973

7074
#: ../../c-api/long.rst:41
7175
msgid ""

c-api/memory.po

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

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

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

486494
#: ../../c-api/memory.rst:315
487495
msgid ""
488496
"Unless *p* is ``NULL``, it must have been returned by a previous call to :c:"
489497
"func:`PyObject_Malloc`, :c:func:`PyObject_Realloc` or :c:func:"
490498
"`PyObject_Calloc`."
491499
msgstr ""
500+
"*p* が ``NULL`` でない限り、*p* はそれより前の :c:func:`PyObject_Malloc`, :c:"
501+
"func:`PyObject_Realloc` または :c:func:`PyObject_Calloc` の呼び出しにより返さ"
502+
"れなければなりません。"
492503

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

499512
#: ../../c-api/memory.rst:324
500513
msgid ""

c-api/module.po

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,16 @@ msgid ""
4444
"Return true if *p* is a module object, or a subtype of a module object. This "
4545
"function always succeeds."
4646
msgstr ""
47+
"*p* がモジュールオブジェクトかモジュールオブジェクトのサブタイプであるときに"
48+
"真を返します。この関数は常に成功します。"
4749

4850
#: ../../c-api/module.rst:27
4951
msgid ""
5052
"Return true if *p* is a module object, but not a subtype of :c:data:"
5153
"`PyModule_Type`. This function always succeeds."
5254
msgstr ""
55+
"*p* がモジュールオブジェクトで、かつ :c:data:`PyModule_Type` のサブタイプでな"
56+
"いときに真を返します。この関数は常に成功します。"
5357

5458
#: ../../c-api/module.rst:40
5559
msgid ""
@@ -220,6 +224,8 @@ msgid ""
220224
"Docstring for the module; usually a docstring variable created with :c:macro:"
221225
"`PyDoc_STRVAR` is used."
222226
msgstr ""
227+
"モジュールの docstring。たいてい docstring は :c:macro:`PyDoc_STRVAR` を利用"
228+
"して生成されます。"
223229

224230
#: ../../c-api/module.rst:161
225231
msgid ""
@@ -296,6 +302,8 @@ msgid ""
296302
"A traversal function to call during GC traversal of the module object, or "
297303
"``NULL`` if not needed."
298304
msgstr ""
305+
"GC走査がモジュールオブジェクトを走査する際に呼び出される走査関数。必要ない場"
306+
"合は ``NULL``."
299307

300308
#: ../../c-api/module.rst:202 ../../c-api/module.rst:217
301309
#: ../../c-api/module.rst:238
@@ -318,6 +326,8 @@ msgid ""
318326
"A clear function to call during GC clearing of the module object, or "
319327
"``NULL`` if not needed."
320328
msgstr ""
329+
"GCがこのモジュールオブジェクトをクリアーする時に呼び出されるクリアー関数。必"
330+
"要ない場合は、``NULL``."
321331

322332
#: ../../c-api/module.rst:224
323333
msgid ""
@@ -333,6 +343,8 @@ msgid ""
333343
"A function to call during deallocation of the module object, or ``NULL`` if "
334344
"not needed."
335345
msgstr ""
346+
"GCがこのモジュールオブジェクトを解放するときに呼び出される関数。必要ない場合"
347+
"は ``NULL``."
336348

337349
#: ../../c-api/module.rst:249
338350
msgid "Single-phase initialization"
@@ -829,3 +841,5 @@ msgid ""
829841
"Removes the module object created from *def* from the interpreter state. "
830842
"Return 0 on success or -1 on failure."
831843
msgstr ""
844+
"*def* から作られたモジュールオブジェクトをインタプリタ state から削除します。"
845+
"成功したら 0 を、失敗したら -1 を返します。"

c-api/set.po

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,30 +101,41 @@ msgid ""
101101
"Return true if *p* is a :class:`set` object or an instance of a subtype. "
102102
"This function always succeeds."
103103
msgstr ""
104+
"*p* が :class:`set` かそのサブタイプのオブジェクトであるときに true を返しま"
105+
"す。この関数は常に成功します。"
104106

105107
#: ../../c-api/set.rst:60
106108
msgid ""
107109
"Return true if *p* is a :class:`frozenset` object or an instance of a "
108110
"subtype. This function always succeeds."
109111
msgstr ""
112+
"*p* が :class:`frozenset` かそのサブタイプのオブジェクトであるときに true を"
113+
"返します。この関数は常に成功します。"
110114

111115
#: ../../c-api/set.rst:65
112116
msgid ""
113117
"Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or "
114118
"an instance of a subtype. This function always succeeds."
115119
msgstr ""
120+
"*p* が :class:`set` か :class:`frozenset` 、あるいはそのサブタイプのオブジェ"
121+
"クトであれば、true を返します。この関数は常に成功します。"
116122

117123
#: ../../c-api/set.rst:71
118124
msgid ""
119125
"Return true if *p* is a :class:`set` object or a :class:`frozenset` object "
120126
"but not an instance of a subtype. This function always succeeds."
121127
msgstr ""
128+
"*p* が :class:`set` か :class:`frozenset` のどちらかのオブジェクトであるとき"
129+
"に true を返します。サブタイプのオブジェクトは含みません。この関数は常に成功"
130+
"します。"
122131

123132
#: ../../c-api/set.rst:77
124133
msgid ""
125134
"Return true if *p* is a :class:`frozenset` object but not an instance of a "
126135
"subtype. This function always succeeds."
127136
msgstr ""
137+
"*p* が :class:`frozenset` オブジェクトだがサブタイプのインスタンスでない場合"
138+
"に真を返します。この関数は常に成功します。"
128139

129140
#: ../../c-api/set.rst:83
130141
msgid ""

c-api/slice.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ msgid ""
4141
"Return true if *ob* is a slice object; *ob* must not be ``NULL``. This "
4242
"function always succeeds."
4343
msgstr ""
44+
"*ob* がスライスオブジェクトの場合に真を返します; *ob* は ``NULL`` であっては"
45+
"なりません。この関数は常に成功します。"
4446

4547
#: ../../c-api/slice.rst:23
4648
msgid ""

c-api/structures.po

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

781782
#: ../../c-api/structures.rst:485
782783
msgid ""
@@ -789,3 +790,5 @@ msgid ""
789790
"In case the attribute should be deleted the second parameter is ``NULL``. "
790791
"Should return ``0`` on success or ``-1`` with a set exception on failure."
791792
msgstr ""
793+
"属性を削除する場合は、2 番目のパラメータに ``NULL`` を指定します。成功した場"
794+
"合は ``0`` を、失敗した場合は ``-1`` を例外として返します。"

0 commit comments

Comments
 (0)