@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version :Python 3.8\n "
1515"Report-Msgid-Bugs-To :\n "
16- "POT-Creation-Date :2021-01-01 16:06 +0000\n "
16+ "POT-Creation-Date :2021-01-22 16:16 +0000\n "
1717"PO-Revision-Date :2020-05-30 12:02+0000\n "
1818"Last-Translator :mollinaca, 2020\n "
1919"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -2704,39 +2704,36 @@ msgstr ""
27042704msgid ""
27052705"With three arguments, return a new type object. This is essentially a "
27062706"dynamic form of the :keyword:`class` statement. The *name* string is the "
2707- "class name and becomes the :attr:`~definition.__name__` attribute; the "
2708- "*bases* tuple itemizes the base classes and becomes the "
2709- ":attr:`~class.__bases__` attribute; and the *dict* dictionary is the "
2710- "namespace containing definitions for class body and is copied to a standard "
2711- "dictionary to become the :attr:`~object.__dict__` attribute. For example, "
2712- "the following two statements create identical :class:`type` objects:"
2713- msgstr ""
2714- "引数が 3 つの場合、新しい型オブジェクトを返します。本質的には :keyword:`class` 文の動的な形式です。 *name* "
2715- "文字列はクラス名で、 :attr:`~definition.__name__` 属性になります。 *bases* タプルは基底クラスの羅列で、 "
2716- ":attr:`~class.__bases__` 属性になります。 *dict* 辞書はクラス本体の定義を含む名前空間で、標準の辞書にコピーされて "
2717- ":attr:`~object.__dict__` 属性になります。たとえば、以下の二つの文は同じ :class:`type` オブジェクトを作ります:"
2718-
2719- #: ../../library/functions.rst:1699
2707+ "class name and becomes the :attr:`~definition.__name__` attribute. The "
2708+ "*bases* tuple contains the base classes and becomes the "
2709+ ":attr:`~class.__bases__` attribute; if empty, :class:`object`, the ultimate "
2710+ "base of all classes, is added. The *dict* dictionary contains attribute and"
2711+ " method definitions for the class body; it may be copied or wrapped before "
2712+ "becoming the :attr:`~object.__dict__` attribute. The following two "
2713+ "statements create identical :class:`type` objects:"
2714+ msgstr ""
2715+
2716+ #: ../../library/functions.rst:1700
27202717msgid "See also :ref:`bltin-type-objects`."
27212718msgstr ":ref:`bltin-type-objects` も参照してください。"
27222719
2723- #: ../../library/functions.rst:1701
2720+ #: ../../library/functions.rst:1702
27242721msgid ""
27252722"Subclasses of :class:`type` which don't override ``type.__new__`` may no "
27262723"longer use the one-argument form to get the type of an object."
27272724msgstr ""
27282725"``type.__new__`` をオーバーライドしていない:class:`type` "
27292726"のサブクラスは、オブジェクトの型を得るのに1引数形式を利用することができません。"
27302727
2731- #: ../../library/functions.rst:1707
2728+ #: ../../library/functions.rst:1708
27322729msgid ""
27332730"Return the :attr:`~object.__dict__` attribute for a module, class, instance,"
27342731" or any other object with a :attr:`~object.__dict__` attribute."
27352732msgstr ""
27362733"モジュール、クラス、インスタンス、あるいはそれ以外の :attr:`~object.__dict__` 属性を持つオブジェクトの、 "
27372734":attr:`~object.__dict__` 属性を返します。"
27382735
2739- #: ../../library/functions.rst:1710
2736+ #: ../../library/functions.rst:1711
27402737msgid ""
27412738"Objects such as modules and instances have an updateable "
27422739":attr:`~object.__dict__` attribute; however, other objects may have write "
@@ -2749,7 +2746,7 @@ msgstr ""
27492746"属性への書き込みが制限されている場合があります。書き込みに制限がある例としては、辞書を直接更新されることを防ぐために "
27502747":class:`types.MappingProxyType` を使っているクラスがあります。"
27512748
2752- #: ../../library/functions.rst:1715
2749+ #: ../../library/functions.rst:1716
27532750msgid ""
27542751"Without an argument, :func:`vars` acts like :func:`locals`. Note, the "
27552752"locals dictionary is only useful for reads since updates to the locals "
@@ -2758,18 +2755,18 @@ msgstr ""
27582755"引数がなければ、:func:`vars` は :func:`locals` のように振る舞います。ただし、辞書 locals "
27592756"への更新は無視されるため、辞書 locals は読み出し時のみ有用であることに注意してください。"
27602757
2761- #: ../../library/functions.rst:1719
2758+ #: ../../library/functions.rst:1720
27622759msgid ""
27632760"A :exc:`TypeError` exception is raised if an object is specified but it "
27642761"doesn't have a :attr:`~object.__dict__` attribute (for example, if its class"
27652762" defines the :attr:`~object.__slots__` attribute)."
27662763msgstr ""
27672764
2768- #: ../../library/functions.rst:1725
2765+ #: ../../library/functions.rst:1726
27692766msgid "Make an iterator that aggregates elements from each of the iterables."
27702767msgstr "それぞれのイテラブルから要素を集めたイテレータを作ります。"
27712768
2772- #: ../../library/functions.rst:1727
2769+ #: ../../library/functions.rst:1728
27732770msgid ""
27742771"Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th "
27752772"element from each of the argument sequences or iterables. The iterator "
@@ -2781,7 +2778,7 @@ msgstr ""
27812778"番目の要素を含みます。このイテレータは、入力イテラブルの中で最短のものが尽きたときに止まります。単一のイテラブル引数が与えられたときは、1 "
27822779"要素のタプルからなるイテレータを返します。引数がなければ、空のイテレータを返します。次と等価です::"
27832780
2784- #: ../../library/functions.rst:1746
2781+ #: ../../library/functions.rst:1747
27852782msgid ""
27862783"The left-to-right evaluation order of the iterables is guaranteed. This "
27872784"makes possible an idiom for clustering a data series into n-length groups "
@@ -2793,7 +2790,7 @@ msgstr ""
27932790"のグループにクラスタリングするイディオムが使えます。これは、各出力タプルがイテレータを ``n`` 回呼び出した結果となるよう、 *同じ* イテレータを"
27942791" ``n`` 回繰り返します。これは入力を長さ n のチャンクに分割する効果があります。"
27952792
2796- #: ../../library/functions.rst:1752
2793+ #: ../../library/functions.rst:1753
27972794msgid ""
27982795":func:`zip` should only be used with unequal length inputs when you don't "
27992796"care about trailing, unmatched values from the longer iterables. If those "
@@ -2803,20 +2800,20 @@ msgstr ""
28032800"は、長い方のイテラブルの終端にある対にならない値を考慮したい場合は、等しくない長さの入力に対して使うべきではありません。そのような値が重要な場合、代わりに"
28042801" :func:`itertools.zip_longest` を使ってください。"
28052802
2806- #: ../../library/functions.rst:1756
2803+ #: ../../library/functions.rst:1757
28072804msgid ""
28082805":func:`zip` in conjunction with the ``*`` operator can be used to unzip a "
28092806"list::"
28102807msgstr ":func:`zip` に続けて ``*`` 演算子を使うと、zip したリストを元に戻せます::"
28112808
2812- #: ../../library/functions.rst:1777
2809+ #: ../../library/functions.rst:1778
28132810msgid ""
28142811"This is an advanced function that is not needed in everyday Python "
28152812"programming, unlike :func:`importlib.import_module`."
28162813msgstr ""
28172814"これは :func:`importlib.import_module` とは違い、日常の Python プログラミングでは必要ない高等な関数です。"
28182815
2819- #: ../../library/functions.rst:1780
2816+ #: ../../library/functions.rst:1781
28202817msgid ""
28212818"This function is invoked by the :keyword:`import` statement. It can be "
28222819"replaced (by importing the :mod:`builtins` module and assigning to "
@@ -2834,7 +2831,7 @@ msgstr ""
28342831"推奨されません。 :func:`__import__` を直接使用することも推奨されず、 :func:`importlib.import_module`"
28352832" の方が好まれます。"
28362833
2837- #: ../../library/functions.rst:1789
2834+ #: ../../library/functions.rst:1790
28382835msgid ""
28392836"The function imports the module *name*, potentially using the given "
28402837"*globals* and *locals* to determine how to interpret the name in a package "
@@ -2848,7 +2845,7 @@ msgstr ""
28482845"で与えられるモジュールからインポートされるべきオブジェクトまたはサブモジュールの名前を与ます。標準の実装では *locals* 引数はまったく使われず、"
28492846" *globals* は :keyword:`import` 文のパッケージコンテキストを決定するためにのみ使われます。"
28502847
2851- #: ../../library/functions.rst:1796
2848+ #: ../../library/functions.rst:1797
28522849msgid ""
28532850"*level* specifies whether to use absolute or relative imports. ``0`` (the "
28542851"default) means only perform absolute imports. Positive values for *level* "
@@ -2860,7 +2857,7 @@ msgstr ""
28602857"の値は、 :func:`__import__` を呼び出したディレクトリから検索対象となる親ディレクトリの数を示します (詳細は :pep:`328` "
28612858"を参照してください)。"
28622859
2863- #: ../../library/functions.rst:1802
2860+ #: ../../library/functions.rst:1803
28642861msgid ""
28652862"When the *name* variable is of the form ``package.module``, normally, the "
28662863"top-level package (the name up till the first dot) is returned, *not* the "
@@ -2871,31 +2868,31 @@ msgstr ""
28712868"*ではなく*、最上位のパッケージ (最初のドットまでの名前) が返されます。しかしながら、空でない *fromlist* 引数が与えられると、 "
28722869"*name* で指名されたモジュールが返されます。"
28732870
2874- #: ../../library/functions.rst:1807
2871+ #: ../../library/functions.rst:1808
28752872msgid ""
28762873"For example, the statement ``import spam`` results in bytecode resembling "
28772874"the following code::"
28782875msgstr "例えば、文 ``import spam`` は、以下のコードのようなバイトコードに帰結します::"
28792876
2880- #: ../../library/functions.rst:1812
2877+ #: ../../library/functions.rst:1813
28812878msgid "The statement ``import spam.ham`` results in this call::"
28822879msgstr "文 ``import spam.ham`` は、この呼び出しになります::"
28832880
2884- #: ../../library/functions.rst:1816
2881+ #: ../../library/functions.rst:1817
28852882msgid ""
28862883"Note how :func:`__import__` returns the toplevel module here because this is"
28872884" the object that is bound to a name by the :keyword:`import` statement."
28882885msgstr ""
28892886"ここで :func:`__import__` がどのように最上位モジュールを返しているかに注意して下さい。 :keyword:`import` "
28902887"文により名前が束縛されたオブジェクトになっています。"
28912888
2892- #: ../../library/functions.rst:1819
2889+ #: ../../library/functions.rst:1820
28932890msgid ""
28942891"On the other hand, the statement ``from spam.ham import eggs, sausage as "
28952892"saus`` results in ::"
28962893msgstr "一方で、文 ``from spam.ham import eggs, sausage as saus`` は、以下となります ::"
28972894
2898- #: ../../library/functions.rst:1826
2895+ #: ../../library/functions.rst:1827
28992896msgid ""
29002897"Here, the ``spam.ham`` module is returned from :func:`__import__`. From "
29012898"this object, the names to import are retrieved and assigned to their "
@@ -2904,25 +2901,25 @@ msgstr ""
29042901"ここで、:func:`__import__` から ``spam.ham`` "
29052902"モジュールが返されます。このオブジェクトから、インポートされる名前が取り出され、それぞれの名前として代入されます。"
29062903
2907- #: ../../library/functions.rst:1830
2904+ #: ../../library/functions.rst:1831
29082905msgid ""
29092906"If you simply want to import a module (potentially within a package) by "
29102907"name, use :func:`importlib.import_module`."
29112908msgstr ""
29122909"単純に名前からモジュール (パッケージの範囲内であるかも知れません) をインポートしたいなら、 "
29132910":func:`importlib.import_module` を使ってください。"
29142911
2915- #: ../../library/functions.rst:1833
2912+ #: ../../library/functions.rst:1834
29162913msgid ""
29172914"Negative values for *level* are no longer supported (which also changes the "
29182915"default value to 0)."
29192916msgstr "負の *level* の値はサポートされなくなりました (デフォルト値の 0 に変更されます)。"
29202917
2921- #: ../../library/functions.rst:1839
2918+ #: ../../library/functions.rst:1840
29222919msgid "Footnotes"
29232920msgstr "脚注"
29242921
2925- #: ../../library/functions.rst:1840
2922+ #: ../../library/functions.rst:1841
29262923msgid ""
29272924"Note that the parser only accepts the Unix-style end of line convention. If "
29282925"you are reading the code from a file, make sure to use newline conversion "