@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version :Python 3.8\n "
15
15
"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 "
17
17
"PO-Revision-Date :2020-05-30 12:02+0000\n "
18
18
"Last-Translator :mollinaca, 2020\n "
19
19
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -2704,39 +2704,36 @@ msgstr ""
2704
2704
msgid ""
2705
2705
"With three arguments, return a new type object. This is essentially a "
2706
2706
"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
2720
2717
msgid "See also :ref:`bltin-type-objects`."
2721
2718
msgstr ":ref:`bltin-type-objects` も参照してください。"
2722
2719
2723
- #: ../../library/functions.rst:1701
2720
+ #: ../../library/functions.rst:1702
2724
2721
msgid ""
2725
2722
"Subclasses of :class:`type` which don't override ``type.__new__`` may no "
2726
2723
"longer use the one-argument form to get the type of an object."
2727
2724
msgstr ""
2728
2725
"``type.__new__`` をオーバーライドしていない:class:`type` "
2729
2726
"のサブクラスは、オブジェクトの型を得るのに1引数形式を利用することができません。"
2730
2727
2731
- #: ../../library/functions.rst:1707
2728
+ #: ../../library/functions.rst:1708
2732
2729
msgid ""
2733
2730
"Return the :attr:`~object.__dict__` attribute for a module, class, instance,"
2734
2731
" or any other object with a :attr:`~object.__dict__` attribute."
2735
2732
msgstr ""
2736
2733
"モジュール、クラス、インスタンス、あるいはそれ以外の :attr:`~object.__dict__` 属性を持つオブジェクトの、 "
2737
2734
":attr:`~object.__dict__` 属性を返します。"
2738
2735
2739
- #: ../../library/functions.rst:1710
2736
+ #: ../../library/functions.rst:1711
2740
2737
msgid ""
2741
2738
"Objects such as modules and instances have an updateable "
2742
2739
":attr:`~object.__dict__` attribute; however, other objects may have write "
@@ -2749,7 +2746,7 @@ msgstr ""
2749
2746
"属性への書き込みが制限されている場合があります。書き込みに制限がある例としては、辞書を直接更新されることを防ぐために "
2750
2747
":class:`types.MappingProxyType` を使っているクラスがあります。"
2751
2748
2752
- #: ../../library/functions.rst:1715
2749
+ #: ../../library/functions.rst:1716
2753
2750
msgid ""
2754
2751
"Without an argument, :func:`vars` acts like :func:`locals`. Note, the "
2755
2752
"locals dictionary is only useful for reads since updates to the locals "
@@ -2758,18 +2755,18 @@ msgstr ""
2758
2755
"引数がなければ、:func:`vars` は :func:`locals` のように振る舞います。ただし、辞書 locals "
2759
2756
"への更新は無視されるため、辞書 locals は読み出し時のみ有用であることに注意してください。"
2760
2757
2761
- #: ../../library/functions.rst:1719
2758
+ #: ../../library/functions.rst:1720
2762
2759
msgid ""
2763
2760
"A :exc:`TypeError` exception is raised if an object is specified but it "
2764
2761
"doesn't have a :attr:`~object.__dict__` attribute (for example, if its class"
2765
2762
" defines the :attr:`~object.__slots__` attribute)."
2766
2763
msgstr ""
2767
2764
2768
- #: ../../library/functions.rst:1725
2765
+ #: ../../library/functions.rst:1726
2769
2766
msgid "Make an iterator that aggregates elements from each of the iterables."
2770
2767
msgstr "それぞれのイテラブルから要素を集めたイテレータを作ります。"
2771
2768
2772
- #: ../../library/functions.rst:1727
2769
+ #: ../../library/functions.rst:1728
2773
2770
msgid ""
2774
2771
"Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th "
2775
2772
"element from each of the argument sequences or iterables. The iterator "
@@ -2781,7 +2778,7 @@ msgstr ""
2781
2778
"番目の要素を含みます。このイテレータは、入力イテラブルの中で最短のものが尽きたときに止まります。単一のイテラブル引数が与えられたときは、1 "
2782
2779
"要素のタプルからなるイテレータを返します。引数がなければ、空のイテレータを返します。次と等価です::"
2783
2780
2784
- #: ../../library/functions.rst:1746
2781
+ #: ../../library/functions.rst:1747
2785
2782
msgid ""
2786
2783
"The left-to-right evaluation order of the iterables is guaranteed. This "
2787
2784
"makes possible an idiom for clustering a data series into n-length groups "
@@ -2793,7 +2790,7 @@ msgstr ""
2793
2790
"のグループにクラスタリングするイディオムが使えます。これは、各出力タプルがイテレータを ``n`` 回呼び出した結果となるよう、 *同じ* イテレータを"
2794
2791
" ``n`` 回繰り返します。これは入力を長さ n のチャンクに分割する効果があります。"
2795
2792
2796
- #: ../../library/functions.rst:1752
2793
+ #: ../../library/functions.rst:1753
2797
2794
msgid ""
2798
2795
":func:`zip` should only be used with unequal length inputs when you don't "
2799
2796
"care about trailing, unmatched values from the longer iterables. If those "
@@ -2803,20 +2800,20 @@ msgstr ""
2803
2800
"は、長い方のイテラブルの終端にある対にならない値を考慮したい場合は、等しくない長さの入力に対して使うべきではありません。そのような値が重要な場合、代わりに"
2804
2801
" :func:`itertools.zip_longest` を使ってください。"
2805
2802
2806
- #: ../../library/functions.rst:1756
2803
+ #: ../../library/functions.rst:1757
2807
2804
msgid ""
2808
2805
":func:`zip` in conjunction with the ``*`` operator can be used to unzip a "
2809
2806
"list::"
2810
2807
msgstr ":func:`zip` に続けて ``*`` 演算子を使うと、zip したリストを元に戻せます::"
2811
2808
2812
- #: ../../library/functions.rst:1777
2809
+ #: ../../library/functions.rst:1778
2813
2810
msgid ""
2814
2811
"This is an advanced function that is not needed in everyday Python "
2815
2812
"programming, unlike :func:`importlib.import_module`."
2816
2813
msgstr ""
2817
2814
"これは :func:`importlib.import_module` とは違い、日常の Python プログラミングでは必要ない高等な関数です。"
2818
2815
2819
- #: ../../library/functions.rst:1780
2816
+ #: ../../library/functions.rst:1781
2820
2817
msgid ""
2821
2818
"This function is invoked by the :keyword:`import` statement. It can be "
2822
2819
"replaced (by importing the :mod:`builtins` module and assigning to "
@@ -2834,7 +2831,7 @@ msgstr ""
2834
2831
"推奨されません。 :func:`__import__` を直接使用することも推奨されず、 :func:`importlib.import_module`"
2835
2832
" の方が好まれます。"
2836
2833
2837
- #: ../../library/functions.rst:1789
2834
+ #: ../../library/functions.rst:1790
2838
2835
msgid ""
2839
2836
"The function imports the module *name*, potentially using the given "
2840
2837
"*globals* and *locals* to determine how to interpret the name in a package "
@@ -2848,7 +2845,7 @@ msgstr ""
2848
2845
"で与えられるモジュールからインポートされるべきオブジェクトまたはサブモジュールの名前を与ます。標準の実装では *locals* 引数はまったく使われず、"
2849
2846
" *globals* は :keyword:`import` 文のパッケージコンテキストを決定するためにのみ使われます。"
2850
2847
2851
- #: ../../library/functions.rst:1796
2848
+ #: ../../library/functions.rst:1797
2852
2849
msgid ""
2853
2850
"*level* specifies whether to use absolute or relative imports. ``0`` (the "
2854
2851
"default) means only perform absolute imports. Positive values for *level* "
@@ -2860,7 +2857,7 @@ msgstr ""
2860
2857
"の値は、 :func:`__import__` を呼び出したディレクトリから検索対象となる親ディレクトリの数を示します (詳細は :pep:`328` "
2861
2858
"を参照してください)。"
2862
2859
2863
- #: ../../library/functions.rst:1802
2860
+ #: ../../library/functions.rst:1803
2864
2861
msgid ""
2865
2862
"When the *name* variable is of the form ``package.module``, normally, the "
2866
2863
"top-level package (the name up till the first dot) is returned, *not* the "
@@ -2871,31 +2868,31 @@ msgstr ""
2871
2868
"*ではなく*、最上位のパッケージ (最初のドットまでの名前) が返されます。しかしながら、空でない *fromlist* 引数が与えられると、 "
2872
2869
"*name* で指名されたモジュールが返されます。"
2873
2870
2874
- #: ../../library/functions.rst:1807
2871
+ #: ../../library/functions.rst:1808
2875
2872
msgid ""
2876
2873
"For example, the statement ``import spam`` results in bytecode resembling "
2877
2874
"the following code::"
2878
2875
msgstr "例えば、文 ``import spam`` は、以下のコードのようなバイトコードに帰結します::"
2879
2876
2880
- #: ../../library/functions.rst:1812
2877
+ #: ../../library/functions.rst:1813
2881
2878
msgid "The statement ``import spam.ham`` results in this call::"
2882
2879
msgstr "文 ``import spam.ham`` は、この呼び出しになります::"
2883
2880
2884
- #: ../../library/functions.rst:1816
2881
+ #: ../../library/functions.rst:1817
2885
2882
msgid ""
2886
2883
"Note how :func:`__import__` returns the toplevel module here because this is"
2887
2884
" the object that is bound to a name by the :keyword:`import` statement."
2888
2885
msgstr ""
2889
2886
"ここで :func:`__import__` がどのように最上位モジュールを返しているかに注意して下さい。 :keyword:`import` "
2890
2887
"文により名前が束縛されたオブジェクトになっています。"
2891
2888
2892
- #: ../../library/functions.rst:1819
2889
+ #: ../../library/functions.rst:1820
2893
2890
msgid ""
2894
2891
"On the other hand, the statement ``from spam.ham import eggs, sausage as "
2895
2892
"saus`` results in ::"
2896
2893
msgstr "一方で、文 ``from spam.ham import eggs, sausage as saus`` は、以下となります ::"
2897
2894
2898
- #: ../../library/functions.rst:1826
2895
+ #: ../../library/functions.rst:1827
2899
2896
msgid ""
2900
2897
"Here, the ``spam.ham`` module is returned from :func:`__import__`. From "
2901
2898
"this object, the names to import are retrieved and assigned to their "
@@ -2904,25 +2901,25 @@ msgstr ""
2904
2901
"ここで、:func:`__import__` から ``spam.ham`` "
2905
2902
"モジュールが返されます。このオブジェクトから、インポートされる名前が取り出され、それぞれの名前として代入されます。"
2906
2903
2907
- #: ../../library/functions.rst:1830
2904
+ #: ../../library/functions.rst:1831
2908
2905
msgid ""
2909
2906
"If you simply want to import a module (potentially within a package) by "
2910
2907
"name, use :func:`importlib.import_module`."
2911
2908
msgstr ""
2912
2909
"単純に名前からモジュール (パッケージの範囲内であるかも知れません) をインポートしたいなら、 "
2913
2910
":func:`importlib.import_module` を使ってください。"
2914
2911
2915
- #: ../../library/functions.rst:1833
2912
+ #: ../../library/functions.rst:1834
2916
2913
msgid ""
2917
2914
"Negative values for *level* are no longer supported (which also changes the "
2918
2915
"default value to 0)."
2919
2916
msgstr "負の *level* の値はサポートされなくなりました (デフォルト値の 0 に変更されます)。"
2920
2917
2921
- #: ../../library/functions.rst:1839
2918
+ #: ../../library/functions.rst:1840
2922
2919
msgid "Footnotes"
2923
2920
msgstr "脚注"
2924
2921
2925
- #: ../../library/functions.rst:1840
2922
+ #: ../../library/functions.rst:1841
2926
2923
msgid ""
2927
2924
"Note that the parser only accepts the Unix-style end of line convention. If "
2928
2925
"you are reading the code from a file, make sure to use newline conversion "