10000 [skip ci] Update .po files · python/python-docs-ja@b583d4e · GitHub
[go: up one dir, main page]

Skip to content

Commit b583d4e

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent ad1c983 commit b583d4e

File tree

7 files changed

+3199
-3153
lines changed

7 files changed

+3199
-3153
lines changed

c-api/capsule.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ msgstr ""
173173
msgid ""
174174
"Return the capsule's internal *pointer* on success. On failure, set an "
175175
"exception and return *NULL*."
176-
msgstr ""
176+
msgstr "成功した場合、カプセルの内部 *ポインタ* を返します。失敗した場合、例外を設定して *NULL* を返します。"
177177

178178
#: ../../c-api/capsule.rst:115
179179
msgid ""

c-api/gcsupport.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ msgid ""
9999
"resized object or *NULL* on failure. *op* must not be tracked by the "
100100
"collector yet."
101101
msgstr ""
102+
":c:func:`PyObject_NewVar` が確保したオブジェクトのメモリをリサイズします。\n"
103+
"リサイズされたオブジェクトを返します。失敗すると *NULL* を返します。\n"
104+
"*op* はコレクタに追跡されていてはなりません。"
102105

103106
#: ../../c-api/gcsupport.rst:57
10000
104107
msgid ""

c-api/mapping.po

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,46 +37,65 @@ msgid ""
3737
":meth:`__getitem__` method since in general case it is impossible to "
3838
"determine what the type of keys it supports. This function always succeeds."
3939
msgstr ""
40+
"オブジェクトがマップ型プロトコルを提供しているか、スライスをサポートしている場合は ``1`` を、そうでない場合は ``0`` を返します。\n"
41+
":meth:`__getitem__` メソッドを持つ Python クラスについては ``1`` を返すのに注意してください。そうなる理由は、一般的なケースではオブジェクトがどの種類のキーをサポートしているかを判別するのが不可能だからです。"
4042

4143
#: ../../c-api/mapping.rst:26
4244
msgid ""
4345
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
4446
"This is equivalent to the Python expression ``len(o)``."
4547
msgstr ""
48+
"成功するとオブジェクト *o* 中のキーの数を返し、失敗すると ``-1`` を返します。これは、Python の式 ``len(o)`` "
49+
"と同じになります。"
4650

4751
#: ../../c-api/mapping.rst:32
4852
msgid ""
4953
"Return element of *o* corresponding to the string *key* or *NULL* on "
5054
"failure. This is the equivalent of the Python expression ``o[key]``. See "
5155
"also :c:func:`PyObject_GetItem`."
5256
msgstr ""
57+
"文字列 *key* に対応する *o* の要素を返します。失敗すると *NULL* を返します。\n"
58+
"Python の式 ``o[key]`` と同じです。\n"
59+
":c:func:`PyObject_GetItem` も参照してください。"
5360

5461
#: ../../c-api/mapping.rst:39
5562
msgid ""
5663
"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
5764
"failure. This is the equivalent of the Python statement ``o[key] = v``. See"
5865
" also :c:func:`PyObject_SetItem`."
5966
msgstr ""
67+
"オブジェクト *o* 上で文字列 *key* を値 *v* に対応付けます。失敗すると ``-1`` を返します。\n"
68+
"Python の文 ``o[key] = v`` と同じです。\n"
69+
":c:func:`PyObject_SetItem` も参照してください。"
6070

6171
#: ../../c-api/mapping.rst:46
6272
msgid ""
6373
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
6474
"on failure. This is equivalent to the Python statement ``del o[key]``. This"
6575
" is an alias of :c:func:`PyObject_DelItem`."
6676
msgstr ""
77+
"オブジェクト *o* から、オブジェクト *key* に関する対応付けを削除します。\n"
78+
"失敗すると ``-1`` を返します。\n"
79+
"Python の文 ``del o[key]`` と同じです。\n"
80+
"この関数は :c:func:`PyObject_DelItem` の別名です。"
6781

6882
#: ../../c-api/mapping.rst:53
6983
msgid ""
7084
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
7185
"on failure. This is equivalent to the Python statement ``del o[key]``."
7286
msgstr ""
87+
"オブジェクト *o* から、文字列 *key* に関する対応付けを削除します。\n"
88+
"失敗すると ``-1`` を返します。\n"
89+
"Python の文 ``del o[key]`` と同じです。"
7390

7491
#: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:66
7592
msgid ""
7693
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
7794
"This is equivalent to the Python expression ``key in o``. This function "
7895
"always succeeds."
7996
msgstr ""
97+
"マップ型オブジェクトがキー *key* を持つ場合に ``1`` を返し、そうでないときには ``0`` を返します。これは、Python の式 "
98+
"``key in o`` と等価です。この関数呼び出しは常に成功します。"
8099

81100
#: ../../c-api/mapping.rst:73
82101
msgid ""

0 commit comments

Comments
 (0)
0