Skip to content

Commit 0cb0b5e

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 64d3ca7 commit 0cb0b5e

File tree

3 files changed

+6619
-6606
lines changed

3 files changed

+6619
-6606
lines changed

library/functions.po

+36-39
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ msgid ""
2323
msgstr ""
2424
"Project-Id-Version: Python 3.9\n"
2525
"Report-Msgid-Bugs-To: \n"
26-
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
26+
"POT-Creation-Date: 2021-01-23 05:12+0000\n"
2727
"PO-Revision-Date: 2017-02-16 23:11+0000\n"
2828
"Last-Translator: mollinaca, 2020\n"
2929
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -2700,39 +2700,36 @@ msgstr ""
27002700
msgid ""
27012701
"With three arguments, return a new type object. This is essentially a "
27022702
"dynamic form of the :keyword:`class` statement. The *name* string is the "
2703-
"class name and becomes the :attr:`~definition.__name__` attribute; the "
2704-
"*bases* tuple itemizes the base classes and becomes the "
2705-
":attr:`~class.__bases__` attribute; and the *dict* dictionary is the "
2706-
"namespace containing definitions for class body and is copied to a standard "
2707-
"dictionary to become the :attr:`~object.__dict__` attribute. For example, "
2708-
"the following two statements create identical :class:`type` objects:"
2709-
msgstr ""
2710-
"引数が 3 つの場合、新しい型オブジェクトを返します。本質的には :keyword:`class` 文の動的な形式です。 *name* "
2711-
"文字列はクラス名で、 :attr:`~definition.__name__` 属性になります。 *bases* タプルは基底クラスの羅列で、 "
2712-
":attr:`~class.__bases__` 属性になります。 *dict* 辞書はクラス本体の定義を含む名前空間で、標準の辞書にコピーされて "
2713-
":attr:`~object.__dict__` 属性になります。たとえば、以下の二つの文は同じ :class:`type` オブジェクトを作ります:"
2714-
2715-
#: ../../library/functions.rst:1703
2703+
"class name and becomes the :attr:`~definition.__name__` attribute. The "
2704+
"*bases* tuple contains the base classes and becomes the "
2705+
":attr:`~class.__bases__` attribute; if empty, :class:`object`, the ultimate "
2706+
"base of all classes, is added. The *dict* dictionary contains attribute and"
2707+
" method definitions for the class body; it may be copied or wrapped before "
2708+
"becoming the :attr:`~object.__dict__` attribute. The following two "
2709+
"statements create identical :class:`type` objects:"
2710+
msgstr ""
2711+
2712+
#: ../../library/functions.rst:1704
27162713
msgid "See also :ref:`bltin-type-objects`."
27172714
msgstr ":ref:`bltin-type-objects` も参照してください。"
27182715

2719-
#: ../../library/functions.rst:1705
2716+
#: ../../library/functions.rst:1706
27202717
msgid ""
27212718
"Subclasses of :class:`type` which don't override ``type.__new__`` may no "
27222719
"longer use the one-argument form to get the type of an object."
27232720
msgstr ""
27242721
"``type.__new__`` をオーバーライドしていない :class:`type` "
27252722
"のサブクラスは、オブジェクトの型を得るのに1引数形式を利用することができません。"
27262723

2727-
#: ../../library/functions.rst:1711
2724+
#: ../../library/functions.rst:1712
27282725
msgid ""
27292726
"Return the :attr:`~object.__dict__` attribute for a module, class, instance,"
27302727
" or any other object with a :attr:`~object.__dict__` attribute."
27312728
msgstr ""
27322729
"モジュール、クラス、インスタンス、あるいはそれ以外の :attr:`~object.__dict__` 属性を持つオブジェクトの、 "
27332730
":attr:`~object.__dict__` 属性を返します。"
27342731

2735-
#: ../../library/functions.rst:1714
2732+
#: ../../library/functions.rst:1715
27362733
msgid ""
27372734
"Objects such as modules and instances have an updateable "
27382735
":attr:`~object.__dict__` attribute; however, other objects may have write "
@@ -2745,7 +2742,7 @@ msgstr ""
27452742
"属性への書き込みが制限されている場合があります。書き込みに制限がある例としては、辞書を直接更新されることを防ぐために "
27462743
":class:`types.MappingProxyType` を使っているクラスがあります。"
27472744

2748-
#: ../../library/functions.rst:1719
2745+
#: ../../library/functions.rst:1720
27492746
msgid ""
27502747
"Without an argument, :func:`vars` acts like :func:`locals`. Note, the "
27512748
"locals dictionary is only useful for reads since updates to the locals "
@@ -2754,18 +2751,18 @@ msgstr ""
27542751
"引数がなければ、:func:`vars` は :func:`locals` のように振る舞います。ただし、辞書 locals "
27552752
"への更新は無視されるため、辞書 locals は読み出し時のみ有用であることに注意してください。"
27562753

2757-
#: ../../library/functions.rst:1723
2754+
#: ../../library/functions.rst:1724
27582755
msgid ""
27592756
"A :exc:`TypeError` exception is raised if an object is specified but it "
27602757
"doesn't have a :attr:`~object.__dict__` attribute (for example, if its class"
27612758
" defines the :attr:`~object.__slots__` attribute)."
27622759
msgstr ""
27632760

2764-
#: ../../library/functions.rst:1729
2761+
#: ../../library/functions.rst:1730
27652762
msgid "Make an iterator that aggregates elements from each of the iterables."
27662763
msgstr "それぞれのイテラブルから要素を集めたイテレータを作ります。"
27672764

2768-
#: ../../library/functions.rst:1731
2765+
#: ../../library/functions.rst:1732
27692766
msgid ""
27702767
"Returns an iterator of tuples, where the *i*-th tuple contains the *i*-th "
27712768
"element from each of the argument sequences or iterables. The iterator "
@@ -2777,7 +2774,7 @@ msgstr ""
27772774
"番目の要素を含みます。このイテレータは、入力イテラブルの中で最短のものが尽きたときに止まります。単一のイテラブル引数が与えられたときは、1 "
27782775
"要素のタプルからなるイテレータを返します。引数がなければ、空のイテレータを返します。次と等価です::"
27792776

2780-
#: ../../library/functions.rst:1750
2777+
#: ../../library/functions.rst:1751
27812778
msgid ""
27822779
"The left-to-right evaluation order of the iterables is guaranteed. This "
27832780
"makes possible an idiom for clustering a data series into n-length groups "
@@ -2789,7 +2786,7 @@ msgstr ""
27892786
"のグループにクラスタリングするイディオムが使えます。これは、各出力タプルがイテレータを ``n`` 回呼び出した結果となるよう、 *同じ* イテレータを"
27902787
" ``n`` 回繰り返します。これは入力を長さ n のチャンクに分割する効果があります。"
27912788

2792-
#: ../../library/functions.rst:1756
2789+
#: ../../library/functions.rst:1757
27932790
msgid ""
27942791
":func:`zip` should only be used with unequal length inputs when you don't "
27952792
"care about trailing, unmatched values from the longer iterables. If those "
@@ -2799,20 +2796,20 @@ msgstr ""
27992796
"は、長い方のイテラブルの終端にある対にならない値を考慮したい場合は、等しくない長さの入力に対して使うべきではありません。そのような値が重要な場合、代わりに"
28002797
" :func:`itertools.zip_longest` を使ってください。"
28012798

2802-
#: ../../library/functions.rst:1760
2799+
#: ../../library/functions.rst:1761
28032800
msgid ""
28042801
":func:`zip` in conjunction with the ``*`` operator can be used to unzip a "
28052802
"list::"
28062803
msgstr ":func:`zip` に続けて ``*`` 演算子を使うと、zip したリストを元に戻せます::"
28072804

2808-
#: ../../library/functions.rst:1781
2805+
#: ../../library/functions.rst:1782
28092806
msgid ""
28102807
"This is an advanced function that is not needed in everyday Python "
28112808
"programming, unlike :func:`importlib.import_module`."
28122809
msgstr ""
28132810
"これは :func:`importlib.import_module` とは違い、日常の Python プログラミングでは必要ない高等な関数です。"
28142811

2815-
#: ../../library/functions.rst:1784
2812+
#: ../../library/functions.rst:1785
28162813
msgid ""
28172814
"This function is invoked by the :keyword:`import` statement. It can be "
28182815
"replaced (by importing the :mod:`builtins` module and assigning to "
@@ -2830,7 +2827,7 @@ msgstr ""
28302827
"推奨されません。 :func:`__import__` を直接使用することも推奨されず、 :func:`importlib.import_module`"
28312828
" の方が好まれます。"
28322829

2833-
#: ../../library/functions.rst:1793
2830+
#: ../../library/functions.rst:1794
28342831
msgid ""
28352832
"The function imports the module *name*, potentially using the given "
28362833
"*globals* and *locals* to determine how to interpret the name in a package "
@@ -2844,7 +2841,7 @@ msgstr ""
28442841
"で与えられるモジュールからインポートされるべきオブジェクトまたはサブモジュールの名前を与ます。標準の実装では *locals* 引数はまったく使われず、"
28452842
" *globals* は :keyword:`import` 文のパッケージコンテキストを決定するためにのみ使われます。"
28462843

2847-
#: ../../library/functions.rst:1800
2844+
#: ../../library/functions.rst:1801
28482845
msgid ""
28492846
"*level* specifies whether to use absolute or relative imports. ``0`` (the "
28502847
"default) means only perform absolute imports. Positive values for *level* "
@@ -2856,7 +2853,7 @@ msgstr ""
28562853
"の値は、 :func:`__import__` を呼び出したディレクトリから検索対象となる親ディレクトリの数を示します (詳細は :pep:`328` "
28572854
"を参照してください)。"
28582855

2859-
#: ../../library/functions.rst:1806
2856+
#: ../../library/functions.rst:1807
28602857
msgid ""
28612858
"When the *name* variable is of the form ``package.module``, normally, the "
28622859
"top-level package (the name up till the first dot) is returned, *not* the "
@@ -2867,31 +2864,31 @@ msgstr ""
28672864
"*ではなく*、最上位のパッケージ (最初のドットまでの名前) が返されます。しかしながら、空でない *fromlist* 引数が与えられると、 "
28682865
"*name* で指名されたモジュールが返されます。"
28692866

2870-
#: ../../library/functions.rst:1811
2867+
#: ../../library/functions.rst:1812
28712868
msgid ""
28722869
"For example, the statement ``import spam`` results in bytecode resembling "
28732870
"the following code::"
28742871
msgstr "例えば、文 ``import spam`` は、以下のコードのようなバイトコードに帰結します::"
28752872

2876-
#: ../../library/functions.rst:1816
2873+
#: ../../library/functions.rst:1817
28772874
msgid "The statement ``import spam.ham`` results in this call::"
28782875
msgstr "文 ``import spam.ham`` は、この呼び出しになります::"
28792876

2880-
#: ../../library/functions.rst:1820
2877+
#: ../../library/functions.rst:1821
28812878
msgid ""
28822879
"Note how :func:`__import__` returns the toplevel module here because this is"
28832880
" the object that is bound to a name by the :keyword:`import` statement."
28842881
msgstr ""
28852882
"ここで :func:`__import__` がどのように最上位モジュールを返しているかに注意して下さい。 :keyword:`import` "
28862883
"文により名前が束縛されたオブジェクトになっています。"
28872884

2888-
#: ../../library/functions.rst:1823
2885+
#: ../../library/functions.rst:1824
28892886
msgid ""
28902887
"On the other hand, the statement ``from spam.ham import eggs, sausage as "
28912888
"saus`` results in ::"
28922889
msgstr "一方で、文 ``from spam.ham import eggs, sausage as saus`` は、以下となります ::"
28932890

2894-
#: ../../library/functions.rst:1830
2891+
#: ../../library/functions.rst:1831
28952892
msgid ""
28962893
"Here, the ``spam.ham`` module is returned from :func:`__import__`. From "
28972894
"this object, the names to import are retrieved and assigned to their "
@@ -2900,33 +2897,33 @@ msgstr ""
29002897
"ここで、:func:`__import__` から ``spam.ham`` "
29012898
"モジュールが返されます。このオブジェクトから、インポートされる名前が取り出され、それぞれの名前として代入されます。"
29022899

2903-
#: ../../library/functions.rst:1834
2900+
#: ../../library/functions.rst:1835
29042901
msgid ""
29052902
"If you simply want to import a module (potentially within a package) by "
29062903
"name, use :func:`importlib.import_module`."
29072904
msgstr ""
29082905
"単純に名前からモジュール (パッケージの範囲内であるかも知れません) をインポートしたいなら、 "
29092906
":func:`importlib.import_module` を使ってください。"
29102907

2911-
#: ../../library/functions.rst:1837
2908+
#: ../../library/functions.rst:1838
29122909
msgid ""
29132910
"Negative values for *level* are no longer supported (which also changes the "
29142911
"default value to 0)."
29152912
msgstr "負の *level* の値はサポートされなくなりました (デフォルト値の 0 に変更されます)。"
29162913

2917-
#: ../../library/functions.rst:1841
2914+
#: ../../library/functions.rst:1842
29182915
msgid ""
29192916
"When the command line options :option:`-E` or :option:`-I` are being used, "
29202917
"the environment variable :envvar:`PYTHONCASEOK` is now ignored."
29212918
msgstr ""
29222919
"コマンドラインオプション :option:`-E` or :option:`-I` が指定された場合、環境変数 "
29232920
":envvar:`PYTHONCASEOK` は無視されるようになりました。"
29242921

2925-
#: ../../library/functions.rst:1846
2922+
#: ../../library/functions.rst:1847
29262923
msgid "Footnotes"
29272924
msgstr "脚注"
29282925

2929-
#: ../../library/functions.rst:1847
2926+
#: ../../library/functions.rst:1848
29302927
msgid ""
29312928
"Note that the parser only accepts the Unix-style end of line convention. If "
29322929
"you are reading the code from a file, make sure to use newline conversion "

library/typing.po

+10
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,9 @@ msgid ""
720720
"now raise a :exc:`TypeError` exception during equality comparisons if one of"
721721
" their parameters are not :term:`immutable`."
722722
msgstr ""
723+
"``Literal`` ではパラメータの重複を解消するようになりました。\n"
724+
"``Literal`` オブジェクトの等値比較は順序に依存しないようになりました。\n"
725+
"``Literal`` オブジェクトは、もしパラメータのうち 1 つでも :term:`immutable` である場合は、等値比較で :exc:`TypeError` を送出するようになりました。"
723726

724727
#: ../../library/typing.rst:666
725728
msgid "Special type construct to mark class variables."
@@ -762,6 +765,8 @@ msgid ""
762765
"There is no runtime checking of these properties. See :pep:`591` for more "
763766
"details."
764767
msgstr ""
768+
"この機能は実行時には検査されません。\n"
769+
"詳細については :pep:`591` を参照してください。"
765770

766771
#: ../../library/typing.rst:711
767772
msgid ""
@@ -779,6 +784,11 @@ msgid ""
779784
"mypy or Pyre, which can safely ignore ``x``) together with runtime access to"
780785
" ``x`` within a specific application."
781786
msgstr ""
787+
":pep:`593` (``Flexible function and variable annotations``) で導入された型で、コンテキストに特定のメタデータ (もしかすると、可変個引数の ``Annotated`` になるメタデータの複数の破片) を持つ既存の型を装飾します。\n"
788+
"具体的には、型 ``T`` は ``Annotated[T, x]`` という型ヒントでメタデータ ``x`` の注釈を付けられます。\n"
789+
"メタデータは静的解析でも実行時解析でも使用できます。\n"
790+
"ライブラリ (あるいはツール) に型ヒント ``Annotated[T, x]`` が出てきて、メタデータ ``x`` に特別なロジックが無い場合は、メタデータ ``x`` は無視され、この型は ``T`` として扱われるだけです。\n"
791+
"関数やクラス上のアノテーションの型検査を一切しなくなる現時点の ``typing`` モジュールにある ``no_type_check`` の機能とは違って、 ``Annotated`` 型は ``T`` の (例えば、安全に ``x`` を無視できる mypy や Pyre による) 静的型検査も、特定のアプリケーション内の ``x`` への実行時のアクセスも許可されています。"
782792

783793
#: ../../library/typing.rst:725
784794
msgid ""

0 commit comments

Comments
 (0)