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

Commit5084e05

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent66cdcd2 commit5084e05

File tree

3 files changed

+5771
-5759
lines changed

3 files changed

+5771
-5759
lines changed

‎c-api/dict.po

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.8\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2020-08-20 14:53+0000\n"
14+
"POT-Creation-Date:2020-10-03 15:16+0000\n"
1515
"PO-Revision-Date:2020-05-30 11:48+0000\n"
1616
"Last-Translator:tomo, 2020\n"
1717
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -106,20 +106,18 @@ msgstr ""
106106
#:../../c-api/dict.rst:83
107107
msgid""
108108
"Remove the entry in dictionary *p* with key *key*. *key* must be hashable; "
109-
"if it isn't, :exc:`TypeError` is raised. Return ``0`` on success or ``-1`` "
110-
"on failure."
109+
"if it isn't, :exc:`TypeError` is raised.If *key* is not in the dictionary, "
110+
":exc:`KeyError` is raised. Return ``0`` on success or ``-1``on failure."
111111
msgstr""
112-
"辞書 *p* から *key* をキーとするエントリを除去します。 *key* はハッシュ可能でなければなりません; ハッシュ可能でない場合、 "
113-
":exc:`TypeError` を送出します。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
114112

115-
#:../../c-api/dict.rst:90
113+
#:../../c-api/dict.rst:91
116114
msgid""
117115
"Remove the entry in dictionary *p* which has a key specified by the string "
118-
"*key*. Return ``0`` on success or ``-1`` on failure."
116+
"*key*. If *key* is not in the dictionary, :exc:`KeyError` is raised. Return "
117+
"``0`` on success or ``-1`` on failure."
119118
msgstr""
120-
"辞書 *p* から文字列 *key* をキーとするエントリを除去します。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
121119

122-
#:../../c-api/dict.rst:96
120+
#:../../c-api/dict.rst:98
123121
msgid""
124122
"Return the object from dictionary *p* which has a key *key*. Return "
125123
"``NULL`` if the key *key* is not present, but *without* setting an "
@@ -128,7 +126,7 @@ msgstr ""
128126
"辞書 *p* 内で *key* をキーとするオブジェクトを返します。\n"
129127
"キー *key* が存在しない場合には ``NULL`` を返しますが、例外をセット *しません*。"
130128

131-
#:../../c-api/dict.rst:99
129+
#:../../c-api/dict.rst:101
132130
msgid""
133131
"Note that exceptions which occur while calling :meth:`__hash__` and "
134132
":meth:`__eq__` methods will get suppressed. To get error reporting use "
@@ -137,7 +135,7 @@ msgstr ""
137135
":meth:`__hash__` メソッドや :meth:`__eq__` メソッドの呼び出し中に起こる例外は抑制されることに注意してください。\n"
138136
"エラーを報告させるには、代わりに :c:func:`PyDict_GetItemWithError()` を使ってください。"
139137

140-
#:../../c-api/dict.rst:106
138+
#:../../c-api/dict.rst:108
141139
msgid""
142140
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
143141
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -147,13 +145,13 @@ msgstr ""
147145
"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
148146
"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
149147

150-
#:../../c-api/dict.rst:114
148+
#:../../c-api/dict.rst:116
151149
msgid""
152150
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a "
153151
":c:type:`const char*`, rather than a :c:type:`PyObject*`."
154152
msgstr""
155153

156-
#:../../c-api/dict.rst:117
154+
#:../../c-api/dict.rst:119
157155
msgid""
158156
"Note that exceptions which occur while calling :meth:`__hash__` and "
159157
":meth:`__eq__` methods and creating a temporary string object will get "
@@ -163,7 +161,7 @@ msgstr ""
163161
":meth:`__hash__` メソッドや :meth:`__eq__` メソッドの呼び出し中や、一時的な文字列オブジェクトの作成中に起こる例外は抑制されることに注意してください。\n"
164162
"エラーを報告させるには、代わりに :c:func:`PyDict_GetItemWithError()` を使ってください。"
165163

166-
#:../../c-api/dict.rst:125
164+
#:../../c-api/dict.rst:127
167165
msgid""
168166
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
169167
"it returns the value corresponding to *key* from the dictionary *p*. If the"
@@ -177,30 +175,30 @@ msgstr ""
177175
"キーが辞書になければ、値 *defaultobj* を挿入し *defaultobj* を返します。\n"
178176
"この関数は、 *key* のハッシュ値を検索と挿入ごとに別々に評価するのではなく、一度だけしか評価しません。"
179177

180-
#:../../c-api/dict.rst:135
178+
#:../../c-api/dict.rst:137
181179
msgid""
182180
"Return a :c:type:`PyListObject` containing all the items from the "
183181
"dictionary."
184182
msgstr"辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
185183

186-
#:../../c-api/dict.rst:140
184+
#:../../c-api/dict.rst:142
187185
msgid""
188186
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
189187
msgstr"辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
190188

191-
#:../../c-api/dict.rst:145
189+
#:../../c-api/dict.rst:147
192190
msgid""
193191
"Return a :c:type:`PyListObject` containing all the values from the "
194192
"dictionary *p*."
195193
msgstr"辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
196194

197-
#:../../c-api/dict.rst:153
195+
#:../../c-api/dict.rst:155
198196
msgid""
199197
"Return the number of items in the dictionary. This is equivalent to "
200198
"``len(p)`` on a dictionary."
201199
msgstr"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
202200

203-
#:../../c-api/dict.rst:159
201+
#:../../c-api/dict.rst:161
204202
msgid""
205203
"Iterate over all key-value pairs in the dictionary *p*. The "
206204
":c:type:`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` "
@@ -214,11 +212,11 @@ msgid ""
214212
"since the structure is sparse, the offsets are not consecutive."
215213
msgstr""
216214

217-
#:../../c-api/dict.rst:170
215+
#:../../c-api/dict.rst:172
218216
msgid"For example::"
219217
msgstr"例えば::"
220218

221-
#:../../c-api/dict.rst:180
219+
#:../../c-api/dict.rst:182
222220
msgid""
223221
"The dictionary *p* should not be mutated during iteration. It is safe to "
224222
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -227,7 +225,7 @@ msgstr ""
227225
"反復処理中に辞書 *p* "
228226
"を変更してはなりません。辞書を反復処理する際に、キーに対応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提です。以下に例を示します::"
229227

230-
#:../../c-api/dict.rst:205
228+
#:../../c-api/dict.rst:207
231229
msgid""
232230
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
233231
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -242,7 +240,7 @@ msgstr ""
242240
"にある際に、既存のペアを置き換えます。それ以外の場合は、 *b* のキーに一致するキーが *a* にないときのみ追加を行います。成功した場合には "
243241
"``0`` を返し、例外が送出された場合には ``-1`` を返します。"
244242

245-
#:../../c-api/dict.rst:215
243+
#:../../c-api/dict.rst:217
246244
msgid""
247245
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to "
248246
"``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall "
@@ -255,7 +253,7 @@ msgstr ""
255253
"属性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` "
256254
"を返します。"
257255

258-
#:../../c-api/dict.rst:224
256+
#:../../c-api/dict.rst:226
259257
msgid""
260258
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
261259
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -270,6 +268,6 @@ msgstr ""
270268
"が真ならば先に出現したキーを使い、そうでない場合は後に出現したキーを使います。成功した場合には ``0`` を返し、例外が送出された場合には "
271269
"``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のようになります::"
272270

273-
#:../../c-api/dict.rst:239
271+
#:../../c-api/dict.rst:241
274272
msgid"Clear the free list. Return the total number of freed items."
275273
msgstr"free list をクリアします。解放された要素数を返します。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp