Skip to content

Commit ddc2bbb

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

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

c-api/dict.po

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

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

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

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

144-
#: ../../c-api/dict.rst:106
142+
#: ../../c-api/dict.rst:108
145143
msgid ""
146144
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
147145
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -151,13 +149,13 @@ msgstr ""
151149
"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
152150
"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
153151

154-
#: ../../c-api/dict.rst:114
152+
#: ../../c-api/dict.rst:116
155153
msgid ""
156154
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a "
157155
":c:type:`const char*`, rather than a :c:type:`PyObject*`."
158156
msgstr ""
159157

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

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

184-
#: ../../c-api/dict.rst:135
182+
#: ../../c-api/dict.rst:137
185183
msgid ""
186184
"Return a :c:type:`PyListObject` containing all the items from the "
187185
"dictionary."
188186
msgstr "辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
189187

190-
#: ../../c-api/dict.rst:140
188+
#: ../../c-api/dict.rst:142
191189
msgid ""
192190
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
193191
msgstr "辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
194192

195-
#: ../../c-api/dict.rst:145
193+
#: ../../c-api/dict.rst:147
196194
msgid ""
197195
"Return a :c:type:`PyListObject` containing all the values from the "
198196
"dictionary *p*."
199197
msgstr "辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
200198

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

207-
#: ../../c-api/dict.rst:159
205+
#: ../../c-api/dict.rst:161
208206
msgid ""
209207
"Iterate over all key-value pairs in the dictionary *p*. The "
210208
":c:type:`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` "
@@ -218,11 +216,11 @@ msgid ""
218216
"since the structure is sparse, the offsets are not consecutive."
219217
msgstr ""
220218

221-
#: ../../c-api/dict.rst:170
219+
#: ../../c-api/dict.rst:172
222220
msgid "For example::"
223221
msgstr "例えば::"
224222

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

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

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

262-
#: ../../c-api/dict.rst:224
260+
#: ../../c-api/dict.rst:226
263261
msgid ""
264262
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
265263
"*seq2* must be an iterable object producing iterable objects of length 2, "

library/typing.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.9\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2020-09-28 04:12+0000\n"
20+
"POT-Creation-Date: 2020-10-03 04:15+0000\n"
2121
"PO-Revision-Date: 2017-02-16 23:32+0000\n"
2222
"Last-Translator: tomo, 2020\n"
2323
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -963,7 +963,8 @@ msgid ""
963963
"Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. "
964964
"This raises :exc:`TypeError` when applied to a non-protocol class. This "
965965
"allows a simple-minded structural check, very similar to \"one trick "
966-
"ponies\" in :mod:`collections.abc` such as :class:`Iterable`. For example::"
966+
"ponies\" in :mod:`collections.abc` such as "
967+
":class:`~collections.abc.Iterable`. For example::"
967968
msgstr ""
968969

969970
#: ../../library/typing.rst:916

0 commit comments

Comments
 (0)