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

Commitf301779

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

File tree

4 files changed

+5124
-5126
lines changed

4 files changed

+5124
-5126
lines changed

‎c-api/dict.po

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version:Python 3.8\n"
1717
"Report-Msgid-Bugs-To:\n"
18-
"POT-Creation-Date:2020-01-01 12:19+0000\n"
18+
"POT-Creation-Date:2020-01-29 12:34+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"
@@ -89,26 +89,21 @@ msgstr "*p* と同じキーと値のペアが入った新たな辞書を返し
8989

9090
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:65
9191
msgid""
92-
"Insert *value* into the dictionary *p* with a key of *key*. *key* must be "
92+
"Insert *val* into the dictionary *p* with a key of *key*. *key* must be "
9393
":term:`hashable`; if it isn't, :exc:`TypeError` will be raised. Return ``0``"
94-
" on success or ``-1`` on failure."
94+
" on success or ``-1`` on failure. This function *does not* steal a "
95+
"reference to *val*."
9596
msgstr""
96-
"辞書 *p* に、 *key* をキーとして値 *value* を挿入します。 *key* は :term:`ハッシュ可能 <hashable>` "
97-
"でなければなりません; ハッシュ可能でない場合、 :exc:`TypeError` を送出します。成功した場合には ``0`` を、失敗した場合には "
98-
"``-1`` を返します。"
9997

100-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:74
98+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:75
10199
msgid""
102-
"Insert *value* into the dictionary *p* using *key* as a key. *key* should be"
103-
"a:c:type:`const char\\*`. The key object is created using "
100+
"Insert *val* into the dictionary *p* using *key* as a key. *key* should be a"
101+
" :c:type:`const char\\*`. The key object is created using "
104102
"``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on "
105-
"failure."
103+
"failure. This function *does not* steal a reference to *val*."
106104
msgstr""
107-
"辞書 *p* に、 *key* をキーとして値 *value* を挿入します。 *key* は :c:type:`const char\\*` "
108-
"型でなければなりません。キーオブジェクトは ``PyUnicode_FromString(key)`` で生成されます。成功した場合には ``0`` "
109-
"を、失敗した場合には ``-1`` を返します。"
110105

111-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:82
106+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:83
112107
msgid""
113108
"Remove the entry in dictionary *p* with key *key*. *key* must be hashable; "
114109
"if it isn't, :exc:`TypeError` is raised. Return ``0`` on success or ``-1`` "
@@ -117,14 +112,14 @@ msgstr ""
117112
"辞書 *p* から *key* をキーとするエントリを除去します。 *key* はハッシュ可能でなければなりません; ハッシュ可能でない場合、 "
118113
":exc:`TypeError` を送出します。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
119114

120-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:89
115+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:90
121116
msgid""
122117
"Remove the entry in dictionary *p* which has a key specified by the string "
123118
"*key*. Return ``0`` on success or ``-1`` on failure."
124119
msgstr""
125120
"辞書 *p* から文字列 *key* をキーとするエントリを除去します。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。"
126121

127-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:95
122+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:96
128123
msgid""
129124
"Return the object from dictionary *p* which has a key *key*. Return "
130125
"``NULL`` if the key *key* is not present, but *without* setting an "
@@ -133,7 +128,7 @@ msgstr ""
133128
"辞書 *p* 内で *key* をキーとするオブジェクトを返します。\n"
134129
"キー *key* が存在しない場合には ``NULL`` を返しますが、例外をセット *しません*。"
135130

136-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:98
131+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:99
137132
msgid""
138133
"Note that exceptions which occur while calling :meth:`__hash__` and "
139134
":meth:`__eq__` methods will get suppressed. To get error reporting use "
@@ -142,7 +137,7 @@ msgstr ""
142137
":meth:`__hash__` メソッドや :meth:`__eq__` メソッドの呼び出し中に起こる例外は抑制されることに注意してください。\n"
143138
"エラーを報告させるには、代わりに :c:func:`PyDict_GetItemWithError()` を使ってください。"
144139

145-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:105
140+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:106
146141
msgid""
147142
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
148143
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -152,15 +147,15 @@ msgstr ""
152147
"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
153148
"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
154149

155-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:113
150+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:114
156151
msgid""
157152
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a "
158153
":c:type:`const char\\*`, rather than a :c:type:`PyObject\\*`."
159154
msgstr""
160155
":c:func:`PyDict_GetItem` と同じですが、 *key* は :c:type:`PyObject\\*` ではなく "
161156
":c:type:`const char\\*` で指定します。"
162157

163-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:116
158+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:117
164159
msgid""
165160
"Note that exceptions which occur while calling :meth:`__hash__` and "
166161
":meth:`__eq__` methods and creating a temporary string object will get "
@@ -170,7 +165,7 @@ msgstr ""
170165
":meth:`__hash__` メソッドや :meth:`__eq__` メソッドの呼び出し中や、一時的な文字列オブジェクトの作成中に起こる例外は抑制されることに注意してください。\n"
171166
"エラーを報告させるには、代わりに :c:func:`PyDict_GetItemWithError()` を使ってください。"
172167

173-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:124
168+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:125
174169
msgid""
175170
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
176171
"it returns the value corresponding to *key* from the dictionary *p*. If the"
@@ -184,30 +179,30 @@ msgstr ""
184179
"キーが辞書になければ、値 *defaultobj* を挿入し *defaultobj* を返します。\n"
185180
"この関数は、 *key* のハッシュ値を検索と挿入ごとに別々に評価するのではなく、一度だけしか評価しません。"
186181

187-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:134
182+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:135
188183
msgid""
189184
"Return a :c:type:`PyListObject` containing all the items from the "
190185
"dictionary."
191186
msgstr"辞書内の全ての要素対が入った :c:type:`PyListObject` を返します。"
192187

193-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:139
188+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:140
194189
msgid""
195190
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
196191
msgstr"辞書内の全てのキーが入った :c:type:`PyListObject` を返します。"
197192

198-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:144
193+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:145
199194
msgid""
200195
"Return a :c:type:`PyListObject` containing all the values from the "
201196
"dictionary *p*."
202197
msgstr"辞書 *p* 内の全ての値が入った :c:type:`PyListObject` を返します。"
203198

204-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:152
199+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:153
205200
msgid""
206201
"Return the number of items in the dictionary. This is equivalent to "
207202
"``len(p)`` on a dictionary."
208203
msgstr"辞書内の要素の数を返します。辞書に対して ``len(p)`` を実行するのと同じです。"
209204

210-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:158
205+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:159
211206
msgid""
212207
"Iterate over all key-value pairs in the dictionary *p*. The "
213208
":c:type:`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` "
@@ -227,11 +222,11 @@ msgstr ""
227222
"反復処理中に *ppos* を変更してはなりません。\n"
228223
"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなので、オフセットの値に一貫性がないためです。"
229224

230-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:169
225+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:170
231226
msgid"For example::"
232227
msgstr"例えば::"
233228

234-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:179
229+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:180
235230
msgid""
236231
"The dictionary *p* should not be mutated during iteration. It is safe to "
237232
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -240,7 +235,7 @@ msgstr ""
240235
"反復処理中に辞書 *p* "
241236
"を変更してはなりません。辞書を反復処理する際に、キーに対応する値を変更しても大丈夫になりましたが、キーの集合を変更しないことが前提です。以下に例を示します::"
242237

243-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:204
238+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:205
244239
msgid""
245240
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
246241
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -255,7 +250,7 @@ msgstr ""
255250
"にある際に、既存のペアを置き換えます。それ以外の場合は、 *b* のキーに一致するキーが *a* にないときのみ追加を行います。成功した場合には "
256251
"``0`` を返し、例外が送出された場合には ``-1`` を返します。"
257252

258-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:214
253+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:215
259254
msgid""
260255
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to "
261256
"``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall "
@@ -268,7 +263,7 @@ msgstr ""
268263
"属性を持たない場合にキー/値ペアのシーケンスを反復することはありません。成功した場合には ``0`` を返し、例外が送出された場合には ``-1`` "
269264
"を返します。"
270265

271-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:223
266+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:224
272267
msgid""
273268
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
274269
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -283,6 +278,6 @@ msgstr ""
283278
"が真ならば先に出現したキーを使い、そうでない場合は後に出現したキーを使います。成功した場合には ``0`` を返し、例外が送出された場合には "
284279
"``-1`` を返します。(戻り値以外は) 等価な Python コードを書くと、以下のようになります::"
285280

286-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:238
281+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:239
287282
msgid"Clear the free list. Return the total number of freed items."
288283
msgstr"free list をクリアします。解放された要素数を返します。"

‎c-api/mapping.po

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.8\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2020-01-01 12:19+0000\n"
15+
"POT-Creation-Date:2020-01-29 12:34+0000\n"
1616
"PO-Revision-Date:2017-02-16 17:37+0000\n"
1717
"Last-Translator:tomo, 2020\n"
1818
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -67,13 +67,11 @@ msgstr ""
6767
msgid""
6868
"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
6969
"failure. This is the equivalent of the Python statement ``o[key] = v``. See"
70-
" also :c:func:`PyObject_SetItem`."
70+
" also :c:func:`PyObject_SetItem`. This function *does not* steal a "
71+
"reference to *v*."
7172
msgstr""
72-
"オブジェクト *o* 上で文字列 *key* を値 *v* に対応付けます。失敗すると ``-1`` を返します。\n"
73-
"Python の文 ``o[key] = v`` と同じです。\n"
74-
":c:func:`PyObject_SetItem` も参照してください。"
7573

76-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:45
74+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:46
7775
msgid""
7876
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
7977
"on failure. This is equivalent to the Python statement ``del o[key]``. This"
@@ -84,7 +82,7 @@ msgstr ""
8482
"Python の文 ``del o[key]`` と同じです。\n"
8583
"この関数は :c:func:`PyObject_DelItem` の別名です。"
8684

87-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:52
85+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:53
8886
msgid""
8987
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
9088
"on failure. This is equivalent to the Python statement ``del o[key]``."
@@ -93,8 +91,8 @@ msgstr ""
9391
"失敗すると ``-1`` を返します。\n"
9492
"Python の文 ``del o[key]`` と同じです。"
9593

96-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:58
97-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:69
94+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:59
95+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:70
9896
msgid""
9997
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
10098
"This is equivalent to the Python expression ``key in o``. This function "
@@ -103,7 +101,7 @@ msgstr ""
103101
"マップ型オブジェクトがキー *key* を持つ場合に ``1`` を返し、そうでないときには ``0`` を返します。これは、Python の式 "
104102
"``key in o`` と等価です。この関数呼び出しは常に成功します。"
105103

106-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:62
104+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:63
107105
msgid""
108106
"Note that exceptions which occur while calling the :meth:`__getitem__` "
109107
"method will get suppressed. To get error reporting use "
@@ -112,7 +110,7 @@ msgstr ""
112110
":meth:`__getitem__` メソッドの呼び出し中に起こる例外は抑制されることに注意してください。\n"
113111
"エラーを報告させるには、代わりに :c:func:`PyObject_GetItem()` を使ってください。"
114112

115-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:73
113+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:74
116114
msgid""
117115
"Note that exceptions which occur while calling the :meth:`__getitem__` "
118116
"method and creating a temporary string object will get suppressed. To get "
@@ -121,29 +119,29 @@ msgstr ""
121119
":meth:`__getitem__` メソッドの呼び出し中や、一時的な文字列オブジェクトの作成中に起こる例外は抑制されることに注意してください。\n"
122120
"エラーを報告させるには、代わりに :c:func:`PyMapping_GetItemString()` を使ってください。"
123121

124-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:80
122+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:81
125123
msgid""
126124
"On success, return a list of the keys in object *o*. On failure, return "
127125
"``NULL``."
128126
msgstr""
129127
"成功するとオブジェクト *o* のキーからなるリストを返します。\n"
130128
"失敗すると ``NULL`` を返します。"
131129

132-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:83
133-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:92
134-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:101
130+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:84
131+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:93
132+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:102
135133
msgid"Previously, the function returned a list or a tuple."
136134
msgstr"以前は、関数はリストもしくはタプルを返していました。"
137135

138-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:89
136+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:90
139137
msgid""
140138
"On success, return a list of the values in object *o*. On failure, return "
141139
"``NULL``."
142140
msgstr""
143141
"成功するとオブジェクト *o* の値からなるリストを返します。\n"
144142
"失敗すると ``NULL`` を返します。"
145143

146-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:98
144+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/mapping.rst:99
147145
msgid""
148146
"On success, return a list of the items in object *o*, where each item is a "
149147
"tuple containing a key-value pair. On failure, return ``NULL``."

‎c-api/object.po

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version:Python 3.8\n"
1616
"Report-Msgid-Bugs-To:\n"
17-
"POT-Creation-Date:2020-01-01 12:19+0000\n"
17+
"POT-Creation-Date:2020-01-29 12:34+0000\n"
1818
"PO-Revision-Date:2017-02-16 17:38+0000\n"
1919
"Last-Translator:tomo, 2018\n"
2020
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -620,21 +620,19 @@ msgstr ""
620620
msgid""
621621
"Map the object *key* to the value *v*. Raise an exception and return ``-1``"
622622
" on failure; return ``0`` on success. This is the equivalent of the Python "
623-
"statement ``o[key] = v``."
623+
"statement ``o[key] = v``. This function *does not* steal a reference to "
624+
"*v*."
624625
msgstr""
625-
"オブジェクト *key* を値 *v* に対応付けます。\n"
626-
"失敗すると例外を送出し ``-1`` を返します; 成功すると ``0`` を返します。\n"
627-
"Python の文 ``o[key] = v`` と同じです。"
628626

629-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/object.rst:511
627+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/object.rst:512
630628
msgid""
631629
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
632630
"on failure. This is equivalent to the Python statement ``del o[key]``."
633631
msgstr""
634632
"オブジェクト *o* から *key* に関する対応付けを削除します。失敗すると ``-1`` を返します。Python の文 ``del "
635633
"o[key]`` と同じです。"
636634

637-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/object.rst:517
635+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/object.rst:518
638636
msgid""
639637
"This is equivalent to the Python expression ``dir(o)``, returning a "
640638
"(possibly empty) list of strings appropriate for the object argument, or "
@@ -644,7 +642,7 @@ msgid ""
644642
":c:func:`PyErr_Occurred` will return false."
645643
msgstr""
646644

647-
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/object.rst:526
645+
#:/home/travis/build/python/cpython-doc-catalog/Doc/c-api/object.rst:527
648646
msgid""
649647
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
650648
"iterator for the object argument, or the object itself if the object is "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp