@@ -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 :2020-08-08 14:46 +0000\n "
16
+ "POT-Creation-Date :2020-08-23 14:54 +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 "
@@ -2749,11 +2749,18 @@ msgstr ""
2749
2749
"引数がなければ、:func:`vars` は :func:`locals` のように振る舞います。ただし、辞書 locals "
2750
2750
"への更新は無視されるため、辞書 locals は読み出し時のみ有用であることに注意してください。"
2751
2751
2752
- #: ../../library/functions.rst:1720
2752
+ #: ../../library/functions.rst:1717
2753
+ msgid ""
2754
+ "A :exc:`TypeError` exception is raised if an object is specified but it "
2755
+ "doesn't have a :attr:`~object.__dict__` attribute (for example, if its class"
2756
+ " defines the :attr:`~object.__slots__` attribute)."
2757
+ msgstr ""
2758
+
2759
+ #: ../../library/functions.rst:1723
2753
2760
msgid "Make an iterator that aggregates elements from each of the iterables."
2754
2761
msgstr "それぞれのイテラブルから要素を集めたイテレータを作ります。"
2755
2762
2756
- #: ../../library/functions.rst:1722
2763
+ #: ../../library/functions.rst:1725
2757
2764
msgid ""
2758
2765
"Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th "
2759
2766
"element from each of the argument sequences or iterables. The iterator "
@@ -2765,7 +2772,7 @@ msgstr ""
2765
2772
"番目の要素を含みます。このイテレータは、入力イテラブルの中で最短のものが尽きたときに止まります。単一のイテラブル引数が与えられたときは、1 "
2766
2773
"要素のタプルからなるイテレータを返します。引数がなければ、空のイテレータを返します。次と等価です::"
2767
2774
2768
- #: ../../library/functions.rst:1741
2775
+ #: ../../library/functions.rst:1744
2769
2776
msgid ""
2770
2777
"The left-to-right evaluation order of the iterables is guaranteed. This "
2771
2778
"makes possible an idiom for clustering a data series into n-length groups "
@@ -2777,7 +2784,7 @@ msgstr ""
2777
2784
"のグループにクラスタリングするイディオムが使えます。これは、各出力タプルがイテレータを ``n`` 回呼び出した結果となるよう、 *同じ* イテレータを"
2778
2785
" ``n`` 回繰り返します。これは入力を長さ n のチャンクに分割する効果があります。"
2779
2786
2780
- #: ../../library/functions.rst:1747
2787
+ #: ../../library/functions.rst:1750
2781
2788
msgid ""
2782
2789
":func:`zip` should only be used with unequal length inputs when you don't "
2783
2790
"care about trailing, unmatched values from the longer iterables. If those "
@@ -2787,20 +2794,20 @@ msgstr ""
2787
2794
"は、長い方のイテラブルの終端にある対にならない値を考慮したい場合は、等しくない長さの入力に対して使うべきではありません。そのような値が重要な場合、代わりに"
2788
2795
" :func:`itertools.zip_longest` を使ってください。"
2789
2796
2790
- #: ../../library/functions.rst:1751
2797
+ #: ../../library/functions.rst:1754
2791
2798
msgid ""
2792
2799
":func:`zip` in conjunction with the ``*`` operator can be used to unzip a "
2793
2800
"list::"
2794
2801
msgstr ":func:`zip` に続けて ``*`` 演算子を使うと、zip したリストを元に戻せます::"
2795
2802
2796
- #: ../../library/functions.rst:1772
2803
+ #: ../../library/functions.rst:1775
2797
2804
msgid ""
2798
2805
"This is an advanced function that is not needed in everyday Python "
2799
2806
"programming, unlike :func:`importlib.import_module`."
2800
2807
msgstr ""
2801
2808
"これは :func:`importlib.import_module` とは違い、日常の Python プログラミングでは必要ない高等な関数です。"
2802
2809
2803
- #: ../../library/functions.rst:1775
2810
+ #: ../../library/functions.rst:1778
2804
2811
msgid ""
2805
2812
"This function is invoked by the :keyword:`import` statement. It can be "
2806
2813
"replaced (by importing the :mod:`builtins` module and assigning to "
@@ -2818,7 +2825,7 @@ msgstr ""
2818
2825
"推奨されません。 :func:`__import__` を直接使用することも推奨されず、 :func:`importlib.import_module`"
2819
2826
" の方が好まれます。"
2820
2827
2821
- #: ../../library/functions.rst:1784
2828
+ #: ../../library/functions.rst:1787
2822
2829
msgid ""
2823
2830
"The function imports the module *name*, potentially using the given "
2824
2831
"*globals* and *locals* to determine how to interpret the name in a package "
@@ -2832,7 +2839,7 @@ msgstr ""
2832
2839
"で与えられるモジュールからインポートされるべきオブジェクトまたはサブモジュールの名前を与ます。標準の実装では *locals* 引数はまったく使われず、"
2833
2840
" *globals* は :keyword:`import` 文のパッケージコンテキストを決定するためにのみ使われます。"
2834
2841
2835
- #: ../../library/functions.rst:1791
2842
+ #: ../../library/functions.rst:1794
2836
2843
msgid ""
2837
2844
"*level* specifies whether to use absolute or relative imports. ``0`` (the "
2838
2845
"default) means only perform absolute imports. Positive values for *level* "
@@ -2844,7 +2851,7 @@ msgstr ""
2844
2851
"の値は、 :func:`__import__` を呼び出したディレクトリから検索対象となる親ディレクトリの数を示します (詳細は :pep:`328` "
2845
2852
"を参照してください)。"
2846
2853
2847
- #: ../../library/functions.rst:1797
2854
+ #: ../../library/functions.rst:1800
2848
2855
msgid ""
2849
2856
"When the *name* variable is of the form ``package.module``, normally, the "
2850
2857
"top-level package (the name up till the first dot) is returned, *not* the "
@@ -2855,31 +2862,31 @@ msgstr ""
2855
2862
"*ではなく*、最上位のパッケージ (最初のドットまでの名前) が返されます。しかしながら、空でない *fromlist* 引数が与えられると、 "
2856
2863
"*name* で指名されたモジュールが返されます。"
2857
2864
2858
- #: ../../library/functions.rst:1802
2865
+ #: ../../library/functions.rst:1805
2859
2866
msgid ""
2860
2867
"For example, the statement ``import spam`` results in bytecode resembling "
2861
2868
"the following code::"
2862
2869
msgstr "例えば、文 ``import spam`` は、以下のコードのようなバイトコードに帰結します::"
2863
2870
2864
- #: ../../library/functions.rst:1807
2871
+ #: ../../library/functions.rst:1810
2865
2872
msgid "The statement ``import spam.ham`` results in this call::"
2866
2873
msgstr "文 ``import spam.ham`` は、この呼び出しになります::"
2867
2874
2868
- #: ../../library/functions.rst:1811
2875
+ #: ../../library/functions.rst:1814
2869
2876
msgid ""
2870
2877
"Note how :func:`__import__` returns the toplevel module here because this is"
2871
2878
" the object that is bound to a name by the :keyword:`import` statement."
2872
2879
msgstr ""
2873
2880
"ここで :func:`__import__` がどのように最上位モジュールを返しているかに注意して下さい。 :keyword:`import` "
2874
2881
"文により名前が束縛されたオブジェクトになっています。"
2875
2882
2876
- #: ../../library/functions.rst:1814
2883
+ #: ../../library/functions.rst:1817
2877
2884
msgid ""
2878
2885
"On the other hand, the statement ``from spam.ham import eggs, sausage as "
2879
2886
"saus`` results in ::"
2880
2887
msgstr "一方で、文 ``from spam.ham import eggs, sausage as saus`` は、以下となります ::"
2881
2888
2882
- #: ../../library/functions.rst:1821
2889
+ #: ../../library/functions.rst:1824
2883
2890
msgid ""
2884
2891
"Here, the ``spam.ham`` module is returned from :func:`__import__`. From "
2885
2892
"this object, the names to import are retrieved and assigned to their "
@@ -2888,25 +2895,25 @@ msgstr ""
2888
2895
"ここで、:func:`__import__` から ``spam.ham`` "
2889
2896
"モジュールが返されます。このオブジェクトから、インポートされる名前が取り出され、それぞれの名前として代入されます。"
2890
2897
2891
- #: ../../library/functions.rst:1825
2898
+ #: ../../library/functions.rst:1828
2892
2899
msgid ""
2893
2900
"If you simply want to import a module (potentially within a package) by "
2894
2901
"name, use :func:`importlib.import_module`."
2895
2902
msgstr ""
2896
2903
"単純に名前からモジュール (パッケージの範囲内であるかも知れません) をインポートしたいなら、 "
2897
2904
":func:`importlib.import_module` を使ってください。"
2898
2905
2899
- #: ../../library/functions.rst:1828
2906
+ #: ../../library/functions.rst:1831
2900
2907
msgid ""
2901
2908
"Negative values for *level* are no longer supported (which also changes the "
2902
2909
"default value to 0)."
2903
2910
msgstr "負の *level* の値はサポートされなくなりました (デフォルト値の 0 に変更されます)。"
2904
2911
2905
- #: ../../library/functions.rst:1834
2912
+ #: ../../library/functions.rst:1837
2906
2913
msgid "Footnotes"
2907
2914
msgstr "脚注"
2908
2915
2909
- #: ../../library/functions.rst:1835
2916
+ #: ../../library/functions.rst:1838
2910
2917
msgid ""
2911
2918
"Note that the parser only accepts the Unix-style end of line convention. If "
2912
2919
"you are reading the code from a file, make sure to use newline conversion "