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

Commit36168a9

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

File tree

5 files changed

+5538
-5491
lines changed

5 files changed

+5538
-5491
lines changed

‎library/ast.po

Lines changed: 47 additions & 43 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-02-09 12:40+0000\n"
18+
"POT-Creation-Date:2020-02-17 12:43+0000\n"
1919
"PO-Revision-Date:2017-02-16 17:48+0000\n"
2020
"Last-Translator:Tetsuo Koyama <tkoyama010@gmail.com>, 2020\n"
2121
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -168,41 +168,45 @@ msgid "or the more compact ::"
168168
msgstr"もしくはよりコンパクトにも書けます ::"
169169

170170
#:../../library/ast.rst:106
171+
msgid"Class :class:`ast.Constant` is now used for all constants."
172+
msgstr""
173+
174+
#:../../library/ast.rst:110
171175
msgid""
172-
"Class :class:`ast.Constant` is now used for all constants. Old classes "
173-
":class:`ast.Num`, :class:`ast.Str`, :class:`ast.Bytes`, "
176+
"Old classes :class:`ast.Num`, :class:`ast.Str`, :class:`ast.Bytes`, "
174177
":class:`ast.NameConstant` and :class:`ast.Ellipsis` are still available, but"
175-
" they will be removed in future Python releases."
178+
" they will be removed in future Python releases. In the meanwhile, "
179+
"instantiating them will return an instance of a different class."
176180
msgstr""
177181

178-
#:../../library/ast.rst:115
182+
#:../../library/ast.rst:119
179183
msgid"Abstract Grammar"
180184
msgstr"抽象文法 (Abstract Grammar)"
181185

182-
#:../../library/ast.rst:117
186+
#:../../library/ast.rst:121
183187
msgid"The abstract grammar is currently defined as follows:"
184188
msgstr"抽象文法は、現在次のように定義されています:"
185189

186-
#:../../library/ast.rst:124
190+
#:../../library/ast.rst:128
187191
msgid":mod:`ast` Helpers"
188192
msgstr":mod:`ast` ヘルパー"
189193

190-
#:../../library/ast.rst:126
194+
#:../../library/ast.rst:130
191195
msgid""
192196
"Apart from the node classes, the :mod:`ast` module defines these utility "
193197
"functions and classes for traversing abstract syntax trees:"
194198
msgstr""
195199
"ノード・クラスの他に、 :mod:`ast` モジュールは以下のような抽象構文木をトラバースするためのユーティリティ関数やクラスも定義しています:"
196200

197-
#:../../library/ast.rst:131
201+
#:../../library/ast.rst:135
198202
msgid""
199203
"Parse the source into an AST node. Equivalent to ``compile(source, "
200204
"filename, mode, ast.PyCF_ONLY_AST)``."
201205
msgstr""
202206
"*source* を解析して AST ノードにします。``compile(source, filename, mode, "
203207
"ast.PyCF_ONLY_AST)`` と等価です。"
204208

205-
#:../../library/ast.rst:134
209+
#:../../library/ast.rst:138
206210
msgid""
207211
"If ``type_comments=True`` is given, the parser is modified to check and "
208212
"return type comments as specified by :pep:`484` and :pep:`526`. This is "
@@ -215,14 +219,14 @@ msgid ""
215219
" empty list)."
216220
msgstr""
217221

218-
#:../../library/ast.rst:144
222+
#:../../library/ast.rst:148
219223
msgid""
220224
"In addition, if ``mode`` is ``'func_type'``, the input syntax is modified to"
221225
" correspond to :pep:`484`\"signature type comments\", e.g. ``(str, int) -> "
222226
"List[str]``."
223227
msgstr""
224228

225-
#:../../library/ast.rst:148
229+
#:../../library/ast.rst:152
226230
msgid""
227231
"Also, setting ``feature_version`` to a tuple ``(major, minor)`` will attempt"
228232
" to parse using that Python version's grammar. Currently ``major`` must "
@@ -231,7 +235,7 @@ msgid ""
231235
"version is ``(3, 4)``; the highest is ``sys.version_info[0:2]``."
232236
msgstr""
233237

234-
#:../../library/ast.rst:156../../library/ast.rst:177
238+
#:../../library/ast.rst:160../../library/ast.rst:181
235239
msgid""
236240
"It is possible to crash the Python interpreter with a sufficiently "
237241
"large/complex string due to stack depth limitations in Python's AST "
@@ -240,11 +244,11 @@ msgstr ""
240244
"十分に大きい文字列や複雑な文字列によって Python の抽象構文木コンパイラのスタックの深さの限界を越えることで、 Python "
241245
"インタプリタをクラッシュさせることができます。"
242246

243-
#:../../library/ast.rst:160
247+
#:../../library/ast.rst:164
244248
msgid"Added ``type_comments``, ``mode='func_type'`` and ``feature_version``."
245249
msgstr""
246250

247-
#:../../library/ast.rst:166
251+
#:../../library/ast.rst:170
248252
msgid""
249253
"Safely evaluate an expression node or a string containing a Python literal "
250254
"or container display. The string or node provided may only consist of the "
@@ -255,7 +259,7 @@ msgstr ""
255259
"のリテラルまたはコンテナのディスプレイ表現を表す文字列を安全に評価します。与えられる文字列またはノードは次のリテラルのみからなるものに限られます: "
256260
"文字列、バイト列、数、タプル、リスト、辞書、集合、ブール値、 ``None`` 。"
257261

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

268-
#:../../library/ast.rst:181
272+
#:../../library/ast.rst:185
269273
msgid"Now allows bytes and set literals."
270274
msgstr"バイト列リテラルと集合リテラルが受け取れるようになりました。"
271275

272-
#:../../library/ast.rst:187
276+
#:../../library/ast.rst:191
273277
msgid""
274278
"Return the docstring of the given *node* (which must be a "
275279
":class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`, or "
@@ -281,24 +285,24 @@ msgstr ""
281285
"のドキュメント文字列を返します。もしドキュメント文字列が無ければ ``None`` を返します。 *clean* "
282286
"が真ならば、ドキュメント文字列のインデントを :func:`inspect.cleandoc` を用いて一掃します。"
283287

284-
#:../../library/ast.rst:193
288+
#:../../library/ast.rst:197
285289
msgid":class:`AsyncFunctionDef` is now supported."
286290
msgstr":class:`AsyncFunctionDef` がサポートされました。"
287291

288-
#:../../library/ast.rst:199
292+
#:../../library/ast.rst:203
289293
msgid""
290294
"Get source code segment of the *source* that generated *node*. If some "
291295
"location information (:attr:`lineno`, :attr:`end_lineno`, "
292296
":attr:`col_offset`, or :attr:`end_col_offset`) is missing, return ``None``."
293297
msgstr""
294298

295-
#:../../library/ast.rst:203
299+
#:../../library/ast.rst:207
296300
msgid""
297301
"If *padded* is ``True``, the first line of a multi-line statement will be "
298302
"padded with spaces to match its original position."
299303
msgstr""
300304

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

314-
#:../../library/ast.rst:220
318+
#:../../library/ast.rst:224
315319
msgid""
316320
"Increment the line number and end line number of each node in the tree "
317321
"starting at *node* by *n*. This is useful to\"move code\" to a different "
318322
"location in a file."
319323
msgstr""
320324

321-
#:../../library/ast.rst:227
325+
#:../../library/ast.rst:231
322326
msgid""
323327
"Copy source location (:attr:`lineno`, :attr:`col_offset`, "
324328
":attr:`end_lineno`, and :attr:`end_col_offset`) from *old_node* to "
325329
"*new_node* if possible, and return *new_node*."
326330
msgstr""
327331

328-
#:../../library/ast.rst:234
332+
#:../../library/ast.rst:238
329333
msgid""
330334
"Yield a tuple of ``(fieldname, value)`` for each field in ``node._fields`` "
331335
"that is present on *node*."
332336
msgstr""
333337
"*node* にある ``node._fields`` のそれぞれのフィールドを ``(フィールド名, 値)`` のタプルとして yield します。"
334338

335-
#:../../library/ast.rst:240
339+
#:../../library/ast.rst:244
336340
msgid""
337341
"Yield all direct child nodes of *node*, that is, all fields that are nodes "
338342
"and all items of fields that are lists of nodes."
339343
msgstr""
340344
"*node* の直接の子ノード全てを yield します。すなわち、yield "
341345
"されるのは、ノードであるような全てのフィールドおよびノードのリストであるようなフィールドの全てのアイテムです。"
342346

343-
#:../../library/ast.rst:246
347+
#:../../library/ast.rst:250
344348
msgid""
345349
"Recursively yield all descendant nodes in the tree starting at *node* "
346350
"(including *node* itself), in no specified order. This is useful if you "
@@ -349,7 +353,7 @@ msgstr ""
349353
"*node* の全ての子孫ノード(*node* 自体を含む)を再帰的に yield "
350354
"します。順番は決められていません。この関数はノードをその場で変更するだけで文脈を気にしないような場合に便利です。"
351355

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

361-
#:../../library/ast.rst:257
365+
#:../../library/ast.rst:261
362366
msgid""
363367
"This class is meant to be subclassed, with the subclass adding visitor "
364368
"methods."
365369
msgstr"このクラスはビジター・メソッドを付け加えたサブクラスを派生させることを意図しています。"
366370

367-
#:../../library/ast.rst:262
371+
#:../../library/ast.rst:266
368372
msgid""
369373
"Visit a node. The default implementation calls the method called "
370374
":samp:`self.visit_{classname}` where *classname* is the name of the node "
@@ -373,11 +377,11 @@ msgstr ""
373377
"ノードを訪れます。デフォルトの実装では :samp:`self.visit_{classname}` というメソッド (ここで *classname* "
374378
"はノードのクラス名です) を呼び出すか、そのメソッドがなければ :meth:`generic_visit` を呼び出します。"
375379

376-
#:../../library/ast.rst:268
380+
#:../../library/ast.rst:272
377381
msgid"This visitor calls :meth:`visit` on all children of the node."
378382
msgstr"このビジターはノードの全ての子について :meth:`visit` を呼び出します。"
379383

380-
#:../../library/ast.rst:270
384+
#:../../library/ast.rst:274
381385
msgid""
382386
"Note that child nodes of nodes that have a custom visitor method won't be "
383387
"visited unless the visitor calls :meth:`generic_visit` or visits them "
@@ -386,7 +390,7 @@ msgstr ""
386390
"注意して欲しいのは、専用のビジター・メソッドを具えたノードの子ノードは、このビジターが :meth:`generic_visit` "
387391
"を呼び出すかそれ自身で子ノードを訪れない限り訪れられないということです。"
388392

389-
#:../../library/ast.rst:274
393+
#:../../library/ast.rst:278
390394
msgid""
391395
"Don't use the :class:`NodeVisitor` if you want to apply changes to nodes "
392396
"during traversal. For this a special visitor exists "
@@ -395,21 +399,21 @@ msgstr ""
395399
"トラバースの途中でノードを変化させたいならば :class:`NodeVisitor` "
396400
"を使ってはいけません。そうした目的のために変更を許す特別なビジター (:class:`NodeTransformer`) があります。"
397401

398-
#:../../library/ast.rst:280
402+
#:../../library/ast.rst:284
399403
msgid""
400404
"Methods :meth:`visit_Num`, :meth:`visit_Str`, :meth:`visit_Bytes`, "
401405
":meth:`visit_NameConstant` and :meth:`visit_Ellipsis` are deprecated now and"
402406
" will not be called in future Python versions. Add the "
403407
":meth:`visit_Constant` method to handle all constant nodes."
404408
msgstr""
405409

406-
#:../../library/ast.rst:288
410+
#:../../library/ast.rst:292
407411
msgid""
408412
"A :class:`NodeVisitor` subclass that walks the abstract syntax tree and "
409413
"allows modification of nodes."
410414
msgstr":class:`NodeVisitor` のサブクラスで抽象構文木を渡り歩きながらノードを変更することを許すものです。"
411415

412-
#:../../library/ast.rst:291
416+
#:../../library/ast.rst:295
413417
msgid""
414418
"The :class:`NodeTransformer` will walk the AST and use the return value of "
415419
"the visitor methods to replace or remove the old node. If the return value "
@@ -422,15 +426,15 @@ msgstr ""
422426
"``None`` "
423427
"ならば、ノードはその場から取り去られ、そうでなければ戻り値で置き換えられます。置き換えない場合は戻り値が元のノードそのものであってもかまいません。"
424428

425-
#:../../library/ast.rst:297
429+
#:../../library/ast.rst:301
426430
msgid""
427431
"Here is an example transformer that rewrites all occurrences of name lookups"
428432
" (``foo``) to ``data['foo']``::"
429433
msgstr""
430434
"それでは例を示しましょう。Name (たとえば ``foo``) を見つけるたび全て ``data['foo']`` に書き換える変換器 "
431435
"(transformer) です::"
432436

433-
#:../../library/ast.rst:309
437+
#:../../library/ast.rst:313
434438
msgid""
435439
"Keep in mind that if the node you're operating on has child nodes you must "
436440
"either transform the child nodes yourself or call the :meth:`generic_visit` "
@@ -439,7 +443,7 @@ msgstr ""
439443
"操作しようとしているノードが子ノードを持つならば、その子ノードの変形も自分で行うか、またはそのノードに対し最初に "
440444
":meth:`generic_visit` メソッドを呼び出すか、それを行うのはあなたの責任だということを肝に銘じましょう。"
441445

442-
#:../../library/ast.rst:313
446+
#:../../library/ast.rst:317
443447
msgid""
444448
"For nodes that were part of a collection of statements (that applies to all "
445449
"statement nodes), the visitor may also return a list of nodes rather than "
@@ -448,7 +452,7 @@ msgstr ""
448452
"文のコレクションであるようなノード (全ての文のノードが当てはまります) "
449453
"に対して、このビジターは単独のノードではなくノードのリストを返すかもしれません。"
450454

451-
#:../../library/ast.rst:317
455+
#:../../library/ast.rst:321
452456
msgid""
453457
"If :class:`NodeTransformer` introduces new nodes (that weren't part of "
454458
"original tree) without giving them location information (such as "
@@ -459,11 +463,11 @@ msgstr ""
459463
"のような)位置情報を与えずに(元の木の一部ではなく)新しいノードを導入する場合、 :func:`fix_missing_locations` "
460464
"を新しいサブツリーで呼び出して、位置情報を再計算する必要があります。"
461465

462-
#:../../library/ast.rst:325
466+
#:../../library/ast.rst:329
463467
msgid"Usually you use the transformer like this::"
464468
msgstr"たいてい、変換器の使い方は次のようになります::"
465469

466-
#:../../library/ast.rst:332
470+
#:../../library/ast.rst:336
467471
msgid""
468472
"Return a formatted dump of the tree in *node*. This is mainly useful for "
469473
"debugging purposes. If *annotate_fields* is true (by default), the returned"
@@ -478,7 +482,7 @@ msgstr ""
478482
"がfalseの場合、あいまいさのないフィールド名を省略することにより、結果文字列はよりコンパクトになります。行番号や列オフセットのような属性はデフォルトではダンプされません。これがほ欲しければ、"
479483
" *include_attributes* をtrueにセットすることができます。"
480484

481-
#:../../library/ast.rst:342
485+
#:../../library/ast.rst:346
482486
msgid""
483487
"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
484488
"documentation resource, has good details on working with Python ASTs."

‎library/re.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ msgid ""
10051005
"Unicode patterns. In bytes patterns they are errors. Unknown escapes of "
10061006
"ASCII letters are reserved for future use and treated as errors."
10071007
msgstr""
1008-
"``'\\u'``、``'\\U'`` および``'\\N'`` エスケープシーケンスは、Unicode "
1008+
"``'\\u'``、``'\\U'`` および``'\\N'`` エスケープシーケンスは、Unicode "
10091009
"パターン内でのみ認識されます。バイト列ではエラーとなります。ASCII "
10101010
"文字のエスケープで未知のものは将来使うために予約されていて、エラーとして扱われます。 "
10111011

@@ -1923,7 +1923,7 @@ msgid ""
19231923
"To find out what card the pair consists of, one could use the "
19241924
":meth:`~Match.group` method of the match object in the following manner::"
19251925
msgstr""
1926-
"ペアになっているのがどのカードか調べるには、このようにマッチオブジェクトの :meth:`~Match.group` メソッドを使えます::"
1926+
"ペアになっているのがどのカードか調べるには、このようにマッチオブジェクトの :meth:`~Match.group` メソッドを使えます::"
19271927

19281928
#:../../library/re.rst:1396
19291929
msgid"Simulating scanf()"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp