File tree Expand file tree Collapse file tree 9 files changed +3651
-3611
lines changed Expand file tree Collapse file tree 9 files changed +3651
-3611
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ msgstr ""
173
173
msgid ""
174
174
"Return the capsule's internal *pointer* on success. On failure, set an "
175
175
"exception and return *NULL*."
176
- msgstr ""
176
+ msgstr "成功した場合、カプセルの内部 *ポインタ* を返します。失敗した場合、例外を設定して *NULL* を返します。 "
177
177
178
178
#: ../../c-api/capsule.rst:115
179
179
msgid ""
Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ msgid ""
95
95
"``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on "
96
96
"failure."
97
97
msgstr ""
98
+ "辞書 *p* に、 *key* をキーとして値 *value* を挿入します。 *key* は :c:type:`const char\\ *` "
99
+ "型でなければなりません。キーオブジェクトは ``PyUnicode_FromString(key)`` で生成されます。成功した場合には ``0`` "
100
+ "を、失敗した場合には ``-1`` を返します。"
98
101
99
102
#: ../../c-api/dict.rst:82
100
103
msgid ""
@@ -134,6 +137,8 @@ msgid ""
134
137
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a "
135
138
":c:type:`const char\\ *`, rather than a :c:type:`PyObject\\ *`."
136
139
msgstr ""
140
+ ":c:func:`PyDict_GetItem` と同じですが、 *key* は :c:type:`PyObject\\ *` ではなく "
141
+ ":c:type:`const char\\ *` で指定します。"
137
142
138
143
#: ../../c-api/dict.rst:115
139
144
msgid ""
Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ msgid ""
99
99
"resized object or *NULL* on failure. *op* must not be tracked by the "
100
100
"collector yet."
101
101
msgstr ""
102
+ ":c:func:`PyObject_NewVar` が確保したオブジェクトのメモリをリサイズします。\n"
103
+ "リサイズされたオブジェクトを返します。失敗すると *NULL* を返します。\n"
104
+ "*op* はコレクタに追跡されていてはなりません。"
102
105
103
106
#: ../../c-api/gcsupport.rst:57
104
107
msgid ""
Original file line number Diff line number Diff line change @@ -307,6 +307,9 @@ msgid ""
307
307
"not been imported yet then returns NULL but does not set an error. Returns "
308
308
"NULL and sets an error if the lookup failed."
309
309
msgstr ""
310
+ "与えられた名前の既にインポート済みのモジュールを返します。\n"
311
+ "モジュールがインポートされていなかった場合は、 NULL を返しますが、エラーはセットしません。\n"
312
+ "モジュールの検索に失敗した場合は、 NULL を返し、エラーをセットします。"
310
313
311
314
#: ../../c-api/import.rst:217
312
315
msgid ""
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ msgid ""
30
30
"impossible to determine what the type of keys it supports. This function "
31
31
"always succeeds."
32
32
msgstr ""
33
+ "オブジェクトがシーケンス型プロトコルを提供している場合は ``1`` を、そうでない場合は ``0`` を返します。\n"
34
+ ":meth:`__getitem__` メソッドを持つ Python クラスについては、それらが :class:`dict` のサブクラスでない限り、 ``1`` を返すのに注意してください。そうなる理由は、一般的なケースではオブジェクトがどの種類のキーをサポートしているかを判別するのが不可能だからです。 \n"
35
+ "この関数は常に成功します。"
33
36
34
37
#: ../../c-api/sequence.rst:23
35
38
msgid ""
@@ -176,6 +179,10 @@ msgid ""
176
179
"returned, otherwise a tuple will be constructed with the appropriate "
177
180
"contents. This is equivalent to the Python expression ``tuple(o)``."
178
181
msgstr ""
182
+ "シーケンスあるいはイテラブルである *o* と同じ内容を持つタプルオブジェクトを返します。\n"
183
+ "失敗したら *NULL* を返します。*o* がタプルの場合、新たな参照を返します。\n"
184
+ "それ以外の場合、適切な内容が入ったタプルを構築して返します。\n"
185
+ "Pythonの式 ``tuple(o)`` と同等です。"
179
186
180
187
#: ../../c-api/sequence.rst:133
181
188
msgid ""
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ msgstr "``name``"
195
195
#: ../../c-api/tuple.rst:147 ../../c-api/tuple.rst:149
196
196
#: ../../c-api/tuple.rst:170 ../../c-api/tuple.rst:175
197
197
msgid "``const char *``"
198
- msgstr ""
198
+ msgstr "``const char *`` "
199
199
200
200
#: ../../c-api/tuple.rst:147
201
201
msgid "name of the struct sequence type"
Original file line number Diff line number Diff line change @@ -227,6 +227,10 @@ msgid ""
227
227
"(:func:`sys.getfilesystemencoding`). Returns ``0`` at EOF or a negative "
228
228
"number upon failure."
229
229
msgstr ""
230
+ "対話的デバイスに関連付けられたファイルから EOF に達するまで文を読み込み実行します。\n"
231
+ "``sys.ps1`` と ``sys.ps2`` を使って、ユーザにプロンプトを表示します。\n"
232
+ "*filename* はファイルシステムのエンコーディング (:func:`sys.getfilesystemencoding`) でデコードされます。\n"
233
+ "EOFに達すると ``0`` を返すか、失敗したら負の数を返します。"
230
234
231
235
#: ../../c-api/veryhigh.rst:150
232
236
msgid ""
Original file line number Diff line number Diff line change @@ -1169,6 +1169,10 @@ msgid ""
1169
1169
"division without a warning; the warning will be turned on by default in "
1170
1170
"Python 2.3."
1171
1171
msgstr ""
1172
+ "Python 2.2 は、コードが変更後の除算セマンティクスで動作するかどうかをテストするコマンドライン引数をサポートします。 :option:`!-Q"
1173
+ " warn` で python "
1174
+ "を実行すると、除算が二つの整数に適用されている箇所全てで警告します。除算の意味変更の影響を受ける箇所の特定と修正に使えるでしょう。デフォルトでは、Python"
1175
+ " 2.2 は警告なしで単純に classic division を実行します; その警告がデフォルトになるのは Python 2.3 からです。"
1172
1176
1173
1177
#: ../../whatsnew/2.2.rst:770
1174
1178
msgid ":pep:`238` - Changing the Division Operator"
@@ -1425,6 +1429,8 @@ msgid ""
1425
1429
" XML-RPC servers. See http://xmlrpc.scripting.com/ for more information "
1426
1430
"about XML-RPC."
1427
1431
msgstr ""
1432
+ ":mod:`SimpleXMLRPCServer` モジュールは、直裁的な XML-RPC サーバを書くのを容易にします。XML-RPC "
1433
+ "の詳細については http://xmlrpc.scripting.com/ を参照して下さい。"
1428
1434
1429
1435
#: ../../whatsnew/2.2.rst:962
1430
1436
msgid ""
You can’t perform that action at this time.
0 commit comments