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

Skip to content

Commit b3c2be7

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

File tree

3 files changed

+2925
-2904
lines changed

3 files changed

+2925
-2904
lines changed

library/ast.po

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.6\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-01-05 15:01+0000\n"
11+
"POT-Creation-Date: 2018-03-10 12:44+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: cocoatomo, 2017\n"
1414
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -181,7 +181,14 @@ msgstr ""
181181
"*source* を解析して AST ノードにします。``compile(source, filename, mode, "
182182
"ast.PyCF_ONLY_AST)`` と等価です。"
183183

184-
#: ../../library/ast.rst:119
184+
#: ../../library/ast.rst:117 ../../library/ast.rst:135
185+
msgid ""
186+
"It is possible to crash the Python interpreter with a sufficiently "
187+
"large/complex string due to stack depth limitations in Python's AST "
188+
"compiler."
189+
msgstr ""
190+
191+
#: ../../library/ast.rst:124
185192
msgid ""
186193
"Safely evaluate an expression node or a string containing a Python literal "
187194
"or container display. The string or node provided may only consist of the "
@@ -192,7 +199,7 @@ msgstr ""
192199
"のリテラルまたはコンテナのディスプレイ表現を表す文字列を安全に評価します。与えられる文字列またはノードは次のリテラルのみからなるものに限られます: "
193200
"文字列、バイト列、数、タプル、リスト、辞書、集合、ブール値、 ``None`` 。"
194201

195-
#: ../../library/ast.rst:124
202+
#: ../../library/ast.rst:129
196203
msgid ""
197204
"This can be used for safely evaluating strings containing Python values from"
198205
" untrusted sources without the need to parse the values oneself. It is not "
@@ -202,11 +209,11 @@ msgstr ""
202209
"この関数は Python "
203210
"の式を含んだ信頼出来ない出どころからの文字列を、値自身を解析することなしに安全に評価するのに使えます。この関数は、例えば演算や添え字を含んだ任意の複雑な表現を評価するのには使えません。"
204211

205-
#: ../../library/ast.rst:129
212+
#: ../../library/ast.rst:139
206213
msgid "Now allows bytes and set literals."
207214
msgstr "バイト列リテラルと集合リテラルが受け取れるようになりました。"
208215

209-
#: ../../library/ast.rst:135
216+
#: ../../library/ast.rst:145
210217
msgid ""
211218
"Return the docstring of the given *node* (which must be a "
212219
":class:`FunctionDef`, :class:`ClassDef` or :class:`Module` node), or "
@@ -217,7 +224,7 @@ msgstr ""
217224
"のいずれかのノードでなければなりません) のドキュメント文字列を返します。もしドキュメント文字列が無ければ ``None`` を返します。 "
218225
"*clean* が真ならば、ドキュメント文字列のインデントを :func:`inspect.cleandoc` を用いて一掃します。"
219226

220-
#: ../../library/ast.rst:143
227+
#: ../../library/ast.rst:153
221228
msgid ""
222229
"When you compile a node tree with :func:`compile`, the compiler expects "
223230
":attr:`lineno` and :attr:`col_offset` attributes for every node that "
@@ -230,37 +237,37 @@ msgstr ""
230237
"両属性をサポートする全てのノードに対しそれが存在するものと想定します。生成されたノードに対しこれらを埋めて回るのはどちらかというと退屈な作業なので、このヘルパーが再帰的に二つの属性がセットされていないものに親ノードと同じ値をセットしていきます。再帰の出発点が"
231238
" *node* です。"
232239

233-
#: ../../library/ast.rst:152
240+
#: ../../library/ast.rst:162
234241
msgid ""
235242
"Increment the line number of each node in the tree starting at *node* by "
236243
"*n*. This is useful to \"move code\" to a different location in a file."
237244
msgstr ""
238245
"*node* から始まるツリーの全てのノードの行番号を *n* ずつ増やします。これはファイルの中で別の場所に「コードを動かす」ときに便利です。"
239246

240-
#: ../../library/ast.rst:158
247+
#: ../../library/ast.rst:168
241248
msgid ""
242249
"Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*"
243250
" to *new_node* if possible, and return *new_node*."
244251
msgstr ""
245252
"ソースの場所 (:attr:`lineno` と :attr:`col_offset`) を *old_node* から *new_node* "
246253
"に可能ならばコピーし、 *new_node* を返します。"
247254

248-
#: ../../library/ast.rst:164
255+
#: ../../library/ast.rst:174
249256
msgid ""
250257
"Yield a tuple of ``(fieldname, value)`` for each field in ``node._fields`` "
251258
"that is present on *node*."
252259
msgstr ""
253260
"*node* にある ``node._fields`` のそれぞれのフィールドを ``(フィールド名, 値)`` のタプルとして yield します。"
254261

255-
#: ../../library/ast.rst:170
262+
#: ../../library/ast.rst:180
256263
msgid ""
257264
"Yield all direct child nodes of *node*, that is, all fields that are nodes "
258265
"and all items of fields that are lists of nodes."
259266
msgstr ""
260267
"*node* の直接の子ノード全てを yield します。すなわち、yield "
261268
"されるのは、ノードであるような全てのフィールドおよびノードのリストであるようなフィールドの全てのアイテムです。"
262269

263-
#: ../../library/ast.rst:176
270+
#: ../../library/ast.rst:186
264271
msgid ""
265272
"Recursively yield all descendant nodes in the tree starting at *node* "
266273
"(including *node* itself), in no specified order. This is useful if you "
@@ -269,7 +276,7 @@ msgstr ""
269276
"*node* の全ての子孫ノード(*node* 自体を含む)を再帰的に yield "
270277
"します。順番は決められていません。この関数はノードをその場で変更するだけで文脈を気にしないような場合に便利です。"
271278

272-
#: ../../library/ast.rst:183
279+
#: ../../library/ast.rst:193
273280
msgid ""
274281
"A node visitor base class that walks the abstract syntax tree and calls a "
275282
"visitor function for every node found. This function may return a value "
@@ -278,13 +285,13 @@ msgstr ""
278285
"抽象構文木を渡り歩いてビジター関数を見つけたノードごとに呼び出すノード・ビジターの基底クラスです。この関数は :meth:`visit` "
279286
"メソッドに送られる値を返してもかまいません。"
280287

281-
#: ../../library/ast.rst:187
288+
#: ../../library/ast.rst:197
282289
msgid ""
283290
"This class is meant to be subclassed, with the subclass adding visitor "
284291
"methods."
285292
msgstr "このクラスはビジター・メソッドを付け加えたサブクラスを派生させることを意図しています。"
286293

287-
#: ../../library/ast.rst:192
294+
#: ../../library/ast.rst:202
288295
msgid ""
289296
"Visit a node. The default implementation calls the method called "
290297
":samp:`self.visit_{classname}` where *classname* is the name of the node "
@@ -293,11 +300,11 @@ msgstr ""
293300
"ノードを訪れます。デフォルトの実装では :samp:`self.visit_{classname}` というメソッド (ここで *classname* "
294301
"はノードのクラス名です) を呼び出すか、そのメソッドがなければ :meth:`generic_visit` を呼び出します。"
295302

296-
#: ../../library/ast.rst:198
303+
#: ../../library/ast.rst:208
297304
msgid "This visitor calls :meth:`visit` on all children of the node."
298305
msgstr "このビジターはノードの全ての子について :meth:`visit` を呼び出します。"
299306

300-
#: ../../library/ast.rst:200
307+
#: ../../library/ast.rst:210
301308
msgid ""
302309
"Note that child nodes of nodes that have a custom visitor method won't be "
303310
"visited unless the visitor calls :meth:`generic_visit` or visits them "
@@ -306,7 +313,7 @@ msgstr ""
306313
"注意して欲しいのは、専用のビジター・メソッドを具えたノードの子ノードは、このビジターが :meth:`generic_visit` "
307314
"を呼び出すかそれ自身で子ノードを訪れない限り訪れられないということです。"
308315

309-
#: ../../library/ast.rst:204
316+
#: ../../library/ast.rst:214
310317
msgid ""
311318
"Don't use the :class:`NodeVisitor` if you want to apply changes to nodes "
312319
"during traversal. For this a special visitor exists "
@@ -315,13 +322,13 @@ msgstr ""
315322
"トラバースの途中でノードを変化させたいならば :class:`NodeVisitor` "
316323
"を使ってはいけません。そうした目的のために変更を許す特別なビジター (:class:`NodeTransformer`) があります。"
317324

318-
#: ../../library/ast.rst:211
325+
#: ../../library/ast.rst:221
319326
msgid ""
320327
"A :class:`NodeVisitor` subclass that walks the abstract syntax tree and "
321328
"allows modification of nodes."
322329
msgstr ":class:`NodeVisitor` のサブクラスで抽象構文木を渡り歩きながらノードを変更することを許すものです。"
323330

324-
#: ../../library/ast.rst:214
331+
#: ../../library/ast.rst:224
325332
msgid ""
326333
"The :class:`NodeTransformer` will walk the AST and use the return value of "
327334
"the visitor methods to replace or remove the old node. If the return value "
@@ -334,15 +341,15 @@ msgstr ""
334341
"``None`` "
335342
"ならば、ノードはその場から取り去られ、そうでなければ戻り値で置き換えられます。置き換えない場合は戻り値が元のノードそのものであってもかまいません。"
336343

337-
#: ../../library/ast.rst:220
344+
#: ../../library/ast.rst:230
338345
msgid ""
339346
"Here is an example transformer that rewrites all occurrences of name lookups"
340347
" (``foo``) to ``data['foo']``::"
341348
msgstr ""
342349
"それでは例を示しましょう。Name (たとえば ``foo``) を見つけるたび全て ``data['foo']`` に書き換える変換器 "
343350
"(transformer) です::"
344351

345-
#: ../../library/ast.rst:232
352+
#: ../../library/ast.rst:242
346353
msgid ""
347354
"Keep in mind that if the node you're operating on has child nodes you must "
348355
"either transform the child nodes yourself or call the :meth:`generic_visit` "
@@ -351,7 +358,7 @@ msgstr ""
351358
"操作しようとしているノードが子ノードを持つならば、その子ノードの変形も自分で行うか、またはそのノードに対し最初に "
352359
":meth:`generic_visit` メソッドを呼び出すか、それを行うのはあなたの責任だということを肝に銘じましょう。"
353360

354-
#: ../../library/ast.rst:236
361+
#: ../../library/ast.rst:246
355362
msgid ""
356363
"For nodes that were part of a collection of statements (that applies to all "
357364
"statement nodes), the visitor may also return a list of nodes rather than "
@@ -360,11 +367,11 @@ msgstr ""
360367
"文のコレクションであるようなノード (全ての文のノードが当てはまります) "
361368
"に対して、このビジターは単独のノードではなくノードのリストを返すかもしれません。"
362369

363-
#: ../../library/ast.rst:240
370+
#: ../../library/ast.rst:250
364371
msgid "Usually you use the transformer like this::"
365372
msgstr "たいてい、変換器の使い方は次のようになります::"
366373

367-
#: ../../library/ast.rst:247
374+
#: ../../library/ast.rst:257
368375
msgid ""
369376
"Return a formatted dump of the tree in *node*. This is mainly useful for "
370377
"debugging purposes. The returned string will show the names and the values "
@@ -379,7 +386,7 @@ msgstr ""
379386
"をセットしなければなりません。行番号や列オフセットのような属性はデフォルトではダンプされません。これが欲しければ、*include_attributes*"
380387
" を ``True`` にセットすることができます。"
381388

382-
#: ../../library/ast.rst:256
389+
#: ../../library/ast.rst:266
383390
msgid ""
384391
"`Green Tree Snakes <https://greentreesnakes.readthedocs.org/>`_, an external"
385392
" documentation resource, has good details on working with Python ASTs."

0 commit comments

Comments
 (0)
0