@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version :Python 3.8\n "
1313"Report-Msgid-Bugs-To :\n "
14- "POT-Creation-Date :2021-01-01 16:06 +0000\n "
14+ "POT-Creation-Date :2021-03-23 16:51 +0000\n "
1515"PO-Revision-Date :2020-05-30 12:12+0000\n "
1616"Last-Translator :tomo, 2020\n "
1717"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -283,10 +283,9 @@ msgstr ""
283283
284284#: ../../library/types.rst:212
285285msgid ""
286- "The type of :term:`modules <module>`.Constructor takes the name of the "
286+ "The type of :term:`modules <module>`.The constructor takes the name of the "
287287"module to be created and optionally its :term:`docstring`."
288288msgstr ""
289- ":term:`module` の型です。コンストラクタは生成するモジュールの名前と任意でその :term:`docstring` を受け取ります。"
290289
291290#: ../../library/types.rst:216
292291msgid ""
@@ -304,15 +303,31 @@ msgstr "モジュールの :term:`docstring` です。デフォルトは ``None`
304303msgid "The :term:`loader` which loaded the module. Defaults to ``None``."
305304msgstr "モジュールをロードする :term:`loader` です。デフォルトは ``None`` です。"
306305
307- #: ../../library/types.rst:227 ../../library/types.rst:241
306+ #: ../../library/types.rst:227
307+ msgid ""
308+ "This attribute is to match :attr:`importlib.machinery.ModuleSpec.loader` as "
309+ "stored in the attr:`__spec__` object."
310+ msgstr ""
311+
312+ #: ../../library/types.rst:231
313+ msgid ""
314+ "A future version of Python may stop setting this attribute by default. To "
315+ "guard against this potential change, preferrably read from the "
316+ ":attr:`__spec__` attribute instead or use ``getattr(module,\" __loader__\" , "
317+ "None)`` if you explicitly need to use this attribute."
318+ msgstr ""
319+
320+ #: ../../library/types.rst:237 ../../library/types.rst:262
308321msgid "Defaults to ``None``. Previously the attribute was optional."
309322msgstr "デフォルトが ``None`` になりました。以前はオプションでした。"
310323
311- #: ../../library/types.rst:232
312- msgid "The name of the module."
313- msgstr "モジュールの名前です。"
324+ #: ../../library/types.rst:242
325+ msgid ""
326+ "The name of the module. Expected to match "
327+ ":attr:`importlib.machinery.ModuleSpec.name`."
328+ msgstr ""
314329
315- #: ../../library/types.rst:236
330+ #: ../../library/types.rst:247
316331msgid ""
317332"Which :term:`package` a module belongs to. If the module is top-level (i.e. "
318333"not a part of any specific package) then the attribute should be set to "
@@ -323,30 +338,50 @@ msgstr ""
323338"(すなわち、いかなる特定のパッケージの一部でもない) 場合、この属性は ``''`` に設定されます。そうでない場合、パッケージ名 "
324339"(モジュールがパッケージ自身なら :attr:`__name__`) に設定されます。デフォルトは ``None`` です。"
325340
326- #: ../../library/types.rst:247
341+ #: ../../library/types.rst:252
342+ msgid ""
343+ "This attribute is to match :attr:`importlib.machinery.ModuleSpec.parent` as "
344+ "stored in the attr:`__spec__` object."
345+ msgstr ""
346+
347+ #: ../../library/types.rst:256
348+ msgid ""
349+ "A future version of Python may stop setting this attribute by default. To "
350+ "guard against this potential change, preferrably read from the "
351+ ":attr:`__spec__` attribute instead or use ``getattr(module,\" __package__\" ,"
352+ " None)`` if you explicitly need to use this attribute."
353+ msgstr ""
354+
355+ #: ../../library/types.rst:267
356+ msgid ""
357+ "A record of the the module's import-system-related state. Expected to be an "
358+ "instance of :class:`importlib.machinery.ModuleSpec`."
359+ msgstr ""
360+
361+ #: ../../library/types.rst:275
327362msgid "The type of traceback objects such as found in ``sys.exc_info()[2]``."
328363msgstr "``sys.exc_info()[2]`` で得られるようなトレースバックオブジェクトの型です。"
329364
330- #: ../../library/types.rst:249
365+ #: ../../library/types.rst:277
331366msgid ""
332367"See :ref:`the language reference <traceback-objects>` for details of the "
333368"available attributes and operations, and guidance on creating tracebacks "
334369"dynamically."
335370msgstr ""
336371
337- #: ../../library/types.rst:256
372+ #: ../../library/types.rst:284
338373msgid ""
339374"The type of frame objects such as found in ``tb.tb_frame`` if ``tb`` is a "
340375"traceback object."
341376msgstr "フレームオブジェクトの型です。トレースバックオブジェクト ``tb`` の ``tb.tb_frame`` などです。"
342377
343- #: ../../library/types.rst:259
378+ #: ../../library/types.rst:287
344379msgid ""
345380"See :ref:`the language reference <frame-objects>` for details of the "
346381"available attributes and operations."
347382msgstr ""
348383
349- #: ../../library/types.rst:265
384+ #: ../../library/types.rst:293
350385msgid ""
351386"The type of objects defined in extension modules with ``PyGetSetDef``, such "
352387"as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as"
@@ -357,7 +392,7 @@ msgstr ""
357392"``PyGetSetDef`` によって定義されたオブジェクトの型です。この型はオブジェクト属性のディスクリプタとして利用されます。 "
358393":class:`property` 型と同じ目的を持った型ですが、こちらは拡張モジュールで定義された型のためのものです。"
359394
360- #: ../../library/types.rst:273
395+ #: ../../library/types.rst:301
361396msgid ""
362397"The type of objects defined in extension modules with ``PyMemberDef``, such "
363398"as ``datetime.timedelta.days``. This type is used as descriptor for simple "
@@ -369,49 +404,49 @@ msgstr ""
369404"によって定義されたオブジェクトの型です。この型は、標準の変換関数を利用するような、Cのシンプルなデータメンバで利用されます。 "
370405":class:`property` 型と同じ目的を持った型ですが、こちらは拡張モジュールで定義された型のためのものです。"
371406
372- #: ../../library/types.rst:280
407+ #: ../../library/types.rst:308
373408msgid ""
374409"In other implementations of Python, this type may be identical to "
375410"``GetSetDescriptorType``."
376411msgstr "Pythonの他の実装では、この型は ``GetSetDescriptorType`` と同じかもしれません。"
377412
378- #: ../../library/types.rst:285
413+ #: ../../library/types.rst:313
379414msgid ""
380415"Read-only proxy of a mapping. It provides a dynamic view on the mapping's "
381416"entries, which means that when the mapping changes, the view reflects these "
382417"changes."
383418msgstr ""
384419"読み出し専用のマッピングのプロキシです。マッピングのエントリーに関する動的なビューを提供します。つまり、マッピングが変わった場合にビューがこれらの変更を反映するということです。"
385420
386- #: ../../library/types.rst:293
421+ #: ../../library/types.rst:321
387422msgid ""
388423"Return ``True`` if the underlying mapping has a key *key*, else ``False``."
389424msgstr ""
390425"元になったマッピングが *key* というキーを持っている場合 ``True`` を返します。そうでなければ ``False`` を返します。"
391426
392- #: ../../library/types.rst:298
427+ #: ../../library/types.rst:326
393428msgid ""
394429"Return the item of the underlying mapping with key *key*. Raises a "
395430":exc:`KeyError` if *key* is not in the underlying mapping."
396431msgstr ""
397432"元になったマッピングの *key* というキーに対応するアイテムを返します。 *key* が存在しなければ、 :exc:`KeyError` "
398433"が発生します。"
399434
400- #: ../../library/types.rst:303
435+ #: ../../library/types.rst:331
401436msgid ""
402437"Return an iterator over the keys of the underlying mapping. This is a "
403438"shortcut for ``iter(proxy.keys())``."
404439msgstr "元になったマッピングのキーを列挙するイテレータを返します。これは ``iter(proxy.keys())`` のショートカットです。"
405440
406- #: ../../library/types.rst:308
441+ #: ../../library/types.rst:336
407442msgid "Return the number of items in the underlying mapping."
408443msgstr "元になったマッピングに含まれるアイテムの数を返します。"
409444
410- #: ../../library/types.rst:312
445+ #: ../../library/types.rst:340
411446msgid "Return a shallow copy of the underlying mapping."
412447msgstr "元になったマッピングの浅いコピーを返します。"
413448
414- #: ../../library/types.rst:316
449+ #: ../../library/types.rst:344
415450msgid ""
416451"Return the value for *key* if *key* is in the underlying mapping, else "
417452"*default*. If *default* is not given, it defaults to ``None``, so that this"
@@ -421,31 +456,31 @@ msgstr ""
421456"*default* が与えられない場合は、デフォルト値の ``None`` になります。そのため、このメソッドが :exc:`KeyError` "
422457"を発生させることはありません。"
423458
424- #: ../../library/types.rst:322
459+ #: ../../library/types.rst:350
425460msgid ""
426461"Return a new view of the underlying mapping's items (``(key, value)`` "
427462"pairs)."
428463msgstr "元になったマッピングの items (``(key, value)`` ペアの列) に対する新しいビューを返します。"
429464
430- #: ../../library/types.rst:327
465+ #: ../../library/types.rst:355
431466msgid "Return a new view of the underlying mapping's keys."
432467msgstr "元になったマッピングの keys に対する新しいビューを返します。"
433468
434- #: ../../library/types.rst:331
469+ #: ../../library/types.rst:359
435470msgid "Return a new view of the underlying mapping's values."
436471msgstr "元になったマッピングの values に対する新しいビューを返します。"
437472
438- #: ../../library/types.rst:335
473+ #: ../../library/types.rst:363
439474msgid "Additional Utility Classes and Functions"
440475msgstr "追加のユーティリティクラスと関数"
441476
442- #: ../../library/types.rst:339
477+ #: ../../library/types.rst:367
443478msgid ""
444479"A simple :class:`object` subclass that provides attribute access to its "
445480"namespace, as well as a meaningful repr."
446481msgstr "名前空間への属性アクセスに加えて意味のある repr を提供するための、単純な :class:`object` サブクラスです。"
447482
448- #: ../../library/types.rst:342
483+ #: ../../library/types.rst:370
449484msgid ""
450485"Unlike :class:`object`, with ``SimpleNamespace`` you can add and remove "
451486"attributes. If a ``SimpleNamespace`` object is initialized with keyword "
@@ -454,11 +489,11 @@ msgstr ""
454489":class:`object` とは異なり、 ``SimpleNamespace`` は、属性を追加したり削除したりすることができます。 "
455490"``SimpleNamespace`` オブジェクトがキーワード引数で初期化される場合、それらは元になる名前空間に直接追加されます。"
456491
457- #: ../../library/types.rst:346
492+ #: ../../library/types.rst:374
458493msgid "The type is roughly equivalent to the following code::"
459494msgstr "この型は以下のコードとほぼ等価です::"
460495
461- #: ../../library/types.rst:362
496+ #: ../../library/types.rst:390
462497msgid ""
463498"``SimpleNamespace`` may be useful as a replacement for ``class NS: pass``. "
464499"However, for a structured record type use :func:`~collections.namedtuple` "
@@ -468,11 +503,11 @@ msgstr ""
468503"を置き換えるものとして有用かもしれません。ですが、構造化されたレコード型に対しては、これよりはむしろ "
469504":func:`~collections.namedtuple` を使用してください。"
470505
471- #: ../../library/types.rst:371
506+ #: ../../library/types.rst:399
472507msgid "Route attribute access on a class to __getattr__."
473508msgstr "クラスの属性アクセスを __getattr__ に振り替えます。"
474509
475- #: ../../library/types.rst:373
510+ #: ../../library/types.rst:401
476511msgid ""
477512"This is a descriptor, used to define attributes that act differently when "
478513"accessed through an instance and through a class. Instance access remains "
@@ -482,19 +517,19 @@ msgstr ""
482517"これは記述子で、インスタンス経由のアクセスとクラス経由のアクセスで振る舞いが異なる属性を定義するのに使います。インスタンスアクセスは通常通りですが、クラス経由の属性アクセスはクラスの"
483518" __getattr__ メソッドに振り替えられます。これは AttributeError の送出により行われます。"
484519
485- #: ../../library/types.rst:378
520+ #: ../../library/types.rst:406
486521msgid ""
487522"This allows one to have properties active on an instance, and have virtual "
488523"attributes on the class with the same name (see Enum for an example)."
489524msgstr ""
490525"これによって、インスタンス上で有効なプロパティを持ち、クラス上で同名の仮想属性を持つことができます (例については "
491526":class:`~enum.Enum` を参照してください)。"
492527
493- #: ../../library/types.rst:385
528+ #: ../../library/types.rst:413
494529msgid "Coroutine Utility Functions"
495530msgstr "コルーチンユーティリティ関数"
496531
497- #: ../../library/types.rst:389
532+ #: ../../library/types.rst:417
498533msgid ""
499534"This function transforms a :term:`generator` function into a "
500535":term:`coroutine function` which returns a generator-based coroutine. The "
@@ -507,11 +542,11 @@ msgstr ""
507542":term:`coroutine` オブジェクトかつ :term:`awaitable` であるとみなされます。ただし、必ずしも "
508543":meth:`__await__` メソッドを実装する必要はありません。"
509544
510- #: ../../library/types.rst:396
545+ #: ../../library/types.rst:424
511546msgid "If *gen_func* is a generator function, it will be modified in-place."
512547msgstr "*gen_func* はジェネレータ関数で、インプレースに変更されます。"
513548
514- #: ../../library/types.rst:398
549+ #: ../../library/types.rst:426
515550msgid ""
516551"If *gen_func* is not a generator function, it will be wrapped. If it returns"
517552" an instance of :class:`collections.abc.Generator`, the instance will be "