5
5
#
6
6
# Translators:
7
7
# tomo, 2019
8
+ # 上野 雄二 <y-ueno@nalux.co.jp>, 2019
8
9
#
9
10
#, fuzzy
10
11
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
13
14
"Report-Msgid-Bugs-To : \n "
14
15
"POT-Creation-Date : 2019-01-01 15:22+0900\n "
15
16
"PO-Revision-Date : 2018-06-29 17:52+0000\n "
16
- "Last-Translator : tomo , 2019\n "
17
+ "Last-Translator : 上野 雄二 <y-ueno@nalux.co.jp> , 2019\n "
17
18
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
18
19
"MIME-Version : 1.0\n "
19
20
"Content-Type : text/plain; charset=UTF-8\n "
@@ -997,6 +998,8 @@ msgid ""
997
998
":exc:`StopAsyncIteration` exception is raised and the asynchronous iterator "
998
999
"will have reached the end of the set of values to be yielded."
999
1000
msgstr ""
1001
+ "非同期イテレータの :meth:`aiterator.__anext__` メソッドを呼び出すと、:keyword:`yield`式を使って値を提供するまで実行され、:term:`awaitable`が返されます。\n"
1002
+ "ファンクションが空の :keyword:`return` 文を実行するか最後まで実行されなかった場合:exc:`StopAsyncIteration`例外が発生し、非同期イテレータは、生成される値のセットの終わりに達します。"
1000
1003
1001
1004
#: ../../reference/datamodel.rst:664
1002
1005
msgid "Built-in functions"
@@ -1752,6 +1755,8 @@ msgid ""
1752
1755
"invoked, exceptions that occur during their execution are ignored, and a "
1753
1756
"warning is printed to ``sys.stderr`` instead. In particular:"
1754
1757
msgstr ""
1758
+ "メソッド :meth:`__del__` が呼び出される不安定な状況のため、それらの実行中に発生した例外は無視され、代わりに "
1759
+ "``sys.stderr`` に警告が表示されます。特に:"
1755
1760
1756
1761
#: ../../reference/datamodel.rst:1206
1757
1762
msgid ""
@@ -1761,6 +1766,9 @@ msgid ""
1761
1766
"may already be taken by the code that gets interrupted to execute "
1762
1767
":meth:`__del__`."
1763
1768
msgstr ""
1769
+ ":meth:`__del__` は、任意のスレッドからを含む任意のコードが実行されているときに呼び出すことができます。:meth:`__del__` "
1770
+ "がロックをかける必要がある場合、または他のブロッキングリソースを呼び出す必要がある場合は、:meth:`__del__` "
1771
+ "の実行が中断されるコードによって、リソースが既に使用されている可能性があります。"
1764
1772
1765
1773
#: ../../reference/datamodel.rst:1212
1766
1774
msgid ""
@@ -1772,6 +1780,9 @@ msgid ""
1772
1780
"such globals exist, this may help in assuring that imported modules are "
1773
1781
"still available at the time when the :meth:`__del__` method is called."
1774
1782
msgstr ""
1783
+ ":meth:`__del__` は、インタプリタのシャットダウン中に実行することができます。結果として、それがアクセスする必要があるグローバル変数(他のモジュールを含む)はすでに削除されているか、 ``None`` に設定されているかもしれません。\n"
1784
+ "Pythonは、名前が単一のアンダースコアで始まるグローバル変数は、他のグローバル変数が削除される前にモジュールから削除されることを保証します。\n"
1785
+ "「そのようなグローバルが存在する場合、これはインポートされたモジュールが存在することを保証するのに役立つかもしれません」というような他の参照がない場合,:meth:`__del__` メソッドが呼ばれた時点で、まだ利用可能です。"
1775
1786
1776
1787
#: ../../reference/datamodel.rst:1227
1777
1788
msgid ""
@@ -2416,6 +2427,8 @@ msgid ""
2416
2427
"and deny the creation of *__dict__* and *__weakref__* (unless explicitly "
2417
2428
"declared in *__slots__* or available in a parent.)"
2418
2429
msgstr ""
2430
+ "*__slots__* は、(プロパティのように)データメンバを明示的に宣言し、 *__dict__* と *__weakref__* の作成を拒否することを可能にします。\n"
2431
+ "( *__slots__* で明示的に宣言または親で利用可能な場合を除く)"
2419
2432
2420
2433
#: ../../reference/datamodel.rst:1662
2421
2434
msgid "The space saved over using *__dict__* can be significant."
@@ -2441,6 +2454,8 @@ msgid ""
2441
2454
"When inheriting from a class without *__slots__*, the *__dict__* and "
2442
2455
"*__weakref__* attribute of the instances will always be accessible."
2443
2456
msgstr ""
2457
+ "*__slot__* 無しでクラスから継承する場合、インスタンスの *__dict__* および *__ weakref__* "
2458
+ "属性は、常にアクセス可能になります。"
2444
2459
2445
2460
#: ../../reference/datamodel.rst:1678
2446
2461
msgid ""
@@ -2486,6 +2501,8 @@ msgid ""
2486
2501
"unless they also define *__slots__* (which should only contain names of any "
2487
2502
"*additional* slots)."
2488
2503
msgstr ""
2504
+ "*__slots__* 宣言の動作は、それが定義されているクラスに限定されません。親で宣言された *__slots__*は、子クラスで利用できます。\n"
2505
+ "しかし、子サブクラスは *__slot__* も定義しない限り、 *__dict__* と *__weakref__* を取得します。(これには *additional* スロットの名前のみを含める必要があります)"
2489
2506
2490
2507
#: ../../reference/datamodel.rst:1701
2491
2508
msgid ""
@@ -2528,6 +2545,8 @@ msgid ""
2528
2545
"only one parent is allowed to have attributes created by slots (the other "
2529
2546
"bases must have empty slot layouts) - violations raise :exc:`TypeError`."
2530
2547
msgstr ""
2548
+ "複数のスロット付き親クラスを持つ多重継承を使用できますが、スロット(他のベースは空のスロットレイアウトを持つ必要があります)によって属性を作成できるのは、1つの親だけです。"
2549
+ " - 違反が発生した場合 :exc:`TypeError`"
2531
2550
2532
2551
#: ../../reference/datamodel.rst:1723
2533
2552
msgid "Customizing class creation"
@@ -2581,6 +2600,8 @@ msgid ""
2581
2600
" actual metaclass (rather than the explicit hint) can be accessed as "
2582
2601
"``type(cls)``."
2583
2602
msgstr ""
2603
+ "メタクラスのヒント ``metaclass`` は残りの型機構によって消費され、 ``__init_subclass__`` 実装に渡されることはありません。\n"
2604
+ "実際のメタクラス(明示的なヒントではなく)は、 ``type(cls)`` としてアクセスできます。"
2584
2605
2585
2606
#: ../../reference/datamodel.rst:1768
2586
2607
msgid "Metaclasses"
0 commit comments