8000 [skip ci] Update .po files · python/python-docs-ja@405e551 · GitHub
[go: up one dir, main page]

Skip to content

Commit 405e551

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent cd912c6 commit 405e551

File tree

4 files changed

+4401
-4392
lines changed

4 files changed

+4401
-4392
lines changed

library/collections.po

Lines changed: 47 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.7\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2019-02-22 10:42+0900\n"
21+
"POT-Creation-Date: 2019-03-17 10:52+0900\n"
2222
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
2323
"Last-Translator: tomo, 2019\n"
2424
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -1152,35 +1152,28 @@ msgstr ""
11521152

11531153
#: ../../library/collections.rst:1019
11541154
msgid ""
1155-
"`Recipe for named tuple abstract base class with a metaclass mix-in "
1156-
"<https://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-"
1157-
"class-mix-in-for-named/>`_ by Jan Kaliszewski. Besides providing an "
1158-
":term:`abstract base class` for named tuples, it also supports an alternate "
1159-
":term:`metaclass`-based constructor that is convenient for use cases where "
1160-
"named tuples are being subclassed."
1155+
"See :class:`typing.NamedTuple` for a way to add type hints for named tuples."
1156+
" It also provides an elegant notation using the :keyword:`class` keyword::"
11611157
msgstr ""
1162-
"Jan Kaliszewski による `名前付きタプル抽象基底クラスとメタクラス mix-in のレシピ "
1163-
"<https://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-"
1164-
"class-mix-in-for-named/>`_ 。名前付きタプルの :term:`abstract base class` を提供するだけでなく、"
1165-
" :term:`metaclass` に基づくコンストラクタの代わりもサポートするので、名前付きタプルがサブクラス化されるユースケースで便利です。"
11661158

1167-
#: ../../library/collections.rst:1026
1159+
#: ../../library/collections.rst:1028
11681160
msgid ""
11691161
"See :meth:`types.SimpleNamespace` for a mutable namespace based on an "
11701162
"underlying dictionary instead of a tuple."
11711163
msgstr ""
11721164
"タプルではなく、辞書をもとにした変更可能な名前空間を作成するには :meth:`types.SimpleNamespace` を参照してください。"
11731165

1174-
#: ../../library/collections.rst:1029
1166+
#: ../../library/collections.rst:1031
11751167
msgid ""
1176-
"See :meth:`typing.NamedTuple` for a way to add type hints for named tuples."
1177-
msgstr "名前付きタプルに型ヒントを追加する方法については、 :meth:`typing.NamedTuple` を参照してください。"
1168+
"The :mod:`dataclasses` module provides a decorator and functions for "
1169+
"automatically adding generated special methods to user-defined classes."
1170+
msgstr ""
11781171

1179-
#: ../../library/collections.rst:1033
1172+
#: ../../library/collections.rst:1036
11801173
msgid ":class:`OrderedDict` objects"
11811174
msgstr ":class:`OrderedDict` オブジェクト"
11821175

1183-
#: ../../library/collections.rst:1035
1176+
#: ../../library/collections.rst:1038
11841177
msgid ""
11851178
"Ordered dictionaries are just like regular dictionaries but have some extra "
11861179
"capabilities relating to ordering operations. They have become less "
@@ -1191,19 +1184,19 @@ msgstr ""
11911184
"順序付き辞書は普通の辞書のようですが、順序操作に関係する追加の機能があります。\n"
11921185
"組み込みの :class:`dict` クラスが挿入順序を記憶しておく機能 (この新しい振る舞いは Python 3.7 で保証されるようになりました) を獲得した今となっては、順序付き辞書の重要性は薄れました。"
11931186

1194-
#: ../../library/collections.rst:1041
1187+
#: ../../library/collections.rst:1044
11951188
msgid "Some differences from :class:`dict` still remain:"
11961189
msgstr "いまだ残っている :class:`dict` との差分:"
11971190

1198-
#: ../../library/collections.rst:1043
1191+
#: ../../library/collections.rst:1046
11991192
msgid ""
12001193
"The regular :class:`dict` was designed to be very good at mapping "
12011194
"operations. Tracking insertion order was secondary."
12021195
msgstr ""
12031196
"通常の :class:`dict` は対応付けに向いているように設計されました。\n"
12041197
"挿入順序の追跡は二の次です。"
12051198

1206-
#: ../../library/collections.rst:1046
1199+
#: ../../library/collections.rst:1049
12071200
msgid ""
12081201
"The :class:`OrderedDict` was designed to be good at reordering operations. "
12091202
"Space efficiency, iteration speed, and the performance of update operations "
@@ -1212,7 +1205,7 @@ msgstr ""
12121205
":class:`OrderedDict` は並べ替え操作に向いているように設計されました。\n"
12131206
"空間効率、反復処理の速度、更新操作のパフォーマンスは二の次です。"
12141207

1215-
#: ../../library/collections.rst:1050
1208+
#: ../../library/collections.rst:1053
12161209
msgid ""
12171210
"Algorithmically, :class:`OrderedDict` can handle frequent reordering "
12181211
"operations better than :class:`dict`. This makes it suitable for tracking "
@@ -1223,37 +1216,37 @@ msgstr ""
12231216
"アルゴリズム的に、 :class:`OrderedDict` は高頻度の並べ替え操作を :class:`dict` よりも上手く扱えます。\n"
12241217
"この性質により、 :class:`OrderedDict` は直近のアクセスの追跡 (例えば、 `LRU キャッシュ <https://medium.com/@krishankantsinghal/my-first-blog-on-medium-583159139237>`_) に向いています。"
12251218

1226-
#: ../../library/collections.rst:1055
1219+
#: ../../library/collections.rst:1058
12271220
msgid ""
12281221
"The equality operation for :class:`OrderedDict` checks for matching order."
12291222
msgstr ":class:`OrderedDict` に対する等価演算は突き合わせ順序もチェックします。"
12301223

1231-
#: ../../library/collections.rst:1057
1224+
#: ../../library/collections.rst:1060
12321225
msgid ""
12331226
"The :meth:`popitem` method of :class:`OrderedDict` has a different "
12341227
"signature. It accepts an optional argument to specify which item is popped."
12351228
msgstr ""
12361229
":class:`OrderedDict` の :meth:`popitem` メソッドはシグネチャが異なります。\n"
12371230
"どの要素を取り出すかを指定するオプション引数を受け付けます。"
12381231

1239-
#: ../../library/collections.rst:1060
1232+
#: ../../library/collections.rst:1063
12401233
msgid ""
12411234
":class:`OrderedDict` has a :meth:`move_to_end` method to efficiently "
12421235
"reposition an element to an endpoint."
12431236
msgstr ""
12441237
":class:`OrderedDict` には、 効率的に要素を末尾に置き直す :meth:`move_to_end` メソッドがあります。"
12451238

1246-
#: ../../library/collections.rst:1063
1239+
#: ../../library/collections.rst:1066
12471240
msgid "Until Python 3.8, :class:`dict` lacked a :meth:`__reversed__` method."
12481241
msgstr "Python 3.8 以前は、 :class:`dict` には :meth:`__reversed__` メソッドが欠けています。"
12491242

1250-
#: ../../library/collections.rst:1068
1243+
#: ../../library/collections.rst:1071
12511244
msgid ""
12521245
"Return an instance of a :class:`dict` subclass that has methods specialized "
12531246
"for rearranging dictionary order."
12541247
msgstr "辞書の順序を並べ直すためのメソッドを持つ :class:`dict` のサブクラスのインスタンスを返します。"
12551248

1256-
#: ../../library/collections.rst:1075
1249+
#: ../../library/collections.rst:1078
12571250
msgid ""
12581251
"The :meth:`popitem` method for ordered dictionaries returns and removes a "
12591252
"(key, value) pair. The pairs are returned in :abbr:`LIFO (last-in, first-"
@@ -1264,7 +1257,7 @@ msgstr ""
12641257
":abbr:`LIFO (last-in, first-out, 後入先出)` で、偽なら :abbr:`FIFO (first-in, first-"
12651258
"out, 先入先出)` で返されます。"
12661259

1267-
#: ../../library/collections.rst:1082
1260+
#: ../../library/collections.rst:1085
12681261
msgid ""
12691262
"Move an existing *key* to either end of an ordered dictionary. The item is "
12701263
"moved to the right end if *last* is true (the default) or to the beginning "
@@ -1273,13 +1266,13 @@ msgstr ""
12731266
"既存の *key* を順序付き辞書の両端に移動します。項目は、 *last* が真 (デフォルト) なら右端に、 *last* "
12741267
"が偽なら最初に移動されます。 *key* が存在しなければ :exc:`KeyError` を送出します::"
12751268

1276-
#: ../../library/collections.rst:1097
1269+
#: ../../library/collections.rst:1100
12771270
msgid ""
12781271
"In addition to the usual mapping methods, ordered dictionaries also support "
12791272
"reverse iteration using :func:`reversed`."
12801273
msgstr "通常のマッピングのメソッドに加え、順序付き辞書は :func:`reversed` による逆順の反復もサポートしています。"
12811274

1282-
#: ../../library/collections.rst:1100
1275+
#: ../../library/collections.rst:1103
12831276
msgid ""
12841277
"Equality tests between :class:`OrderedDict` objects are order-sensitive and "
12851278
"are implemented as ``list(od1.items())==list(od2.items())``. Equality tests "
@@ -1293,15 +1286,15 @@ msgstr ""
12931286
"(:class:`~collections.abc.Mapping`) オブジェクトの等価判定は、順序に影響されず、通常の辞書と同様です。これによって、"
12941287
" :class:`OrderedDict` オブジェクトは通常の辞書が使われるところならどこでも使用できます。"
12951288

1296-
#: ../../library/collections.rst:1107
1289+
#: ../../library/collections.rst:1110
12971290
msgid ""
12981291
"The items, keys, and values :term:`views <dictionary view>` of "
12991292
":class:`OrderedDict` now support reverse iteration using :func:`reversed`."
13001293
msgstr ""
13011294
":class:`OrderedDict` の項目、キー、値の :term:`ビュー <dictionary view>` が "
13021295
":func:`reversed` による逆順の反復をサポートするようになりました。"
13031296

1304-
#: ../../library/collections.rst:1111
1297+
#: ../../library/collections.rst:1114
13051298
msgid ""
13061299
"With the acceptance of :pep:`468`, order is retained for keyword arguments "
13071300
"passed to the :class:`OrderedDict` constructor and its :meth:`update` "
@@ -1310,11 +1303,11 @@ msgstr ""
13101303
":pep:`468` の受理によって、:class:`OrderedDict` のコンストラクタと、:meth:`update` "
13111304
"メソッドに渡したキーワード引数の順序は保持されます。"
13121305

1313-
#: ../../library/collections.rst:1117
1306+
#: ../../library/collections.rst:1120
13141307
msgid ":class:`OrderedDict` Examples and Recipes"
13151308
msgstr ":class:`OrderedDict` の例とレシピ"
13161309

1317-
#: ../../library/collections.rst:1119
1310+
#: ../../library/collections.rst:1122
13181311
msgid ""
13191312
"It is straightforward to create an ordered dictionary variant that remembers"
13201313
" the order the keys were *last* inserted. If a new entry overwrites an "
@@ -1324,18 +1317,18 @@ msgstr ""
13241317
"キーが *最後に* 追加されたときの順序を記憶する、順序付き辞書の変種を作るのは簡単です。\n"
13251318
"新しい値が既存の値を上書きする場合、元々の挿入位置が最後尾へ変更されます::"
13261319

1327-
#: ../../library/collections.rst:1131
1320+
#: ../../library/collections.rst:1134
13281321
msgid ""
13291322
"An :class:`OrderedDict` would also be useful for implementing variants of "
13301323
":func:`functools.lru_cache`::"
13311324
msgstr ""
13321325
":class:`OrderedDict` は :func:`functools.lru_cache` の変種を実装するのにも役に立ちます::"
13331326

1334-
#: ../../library/collections.rst:1154
1327+
#: ../../library/collections.rst:1157
13351328
msgid ":class:`UserDict` objects"
13361329
msgstr ":class:`UserDict` オブジェクト"
13371330

1338-
#: ../../library/collections.rst:1156
1331+
#: ../../library/collections.rst:1159
13391332
msgid ""
13401333
"The class, :class:`UserDict` acts as a wrapper around dictionary objects. "
13411334
"The need for this class has been partially supplanted by the ability to "
@@ -1346,7 +1339,7 @@ msgstr ""
13461339
"から直接的にサブクラス化できる能力に部分的に取って代わられました; "
13471340
"しかし、根底の辞書に属性としてアクセスできるので、このクラスを使った方が簡単になることもあります。"
13481341

1349-
#: ../../library/collections.rst:1164
1342+
#: ../../library/collections.rst:1167
13501343
msgid ""
13511344
"Class that simulates a dictionary. The instance's contents are kept in a "
13521345
"regular dictionary, which is accessible via the :attr:`data` attribute of "
@@ -1358,22 +1351,22 @@ msgstr ""
13581351
":attr:`data` 属性を通してアクセスできます。 *initialdata* が与えられれば、 :attr:`data` "
13591352
"はその内容で初期化されます。他の目的のために使えるように、 *initialdata* への参照が保存されないことがあるということに注意してください。"
13601353

1361-
#: ../../library/collections.rst:1170
1354+
#: ../../library/collections.rst:1173
13621355
msgid ""
13631356
"In addition to supporting the methods and operations of mappings, "
13641357
":class:`UserDict` instances provide the following attribute:"
13651358
msgstr "マッピングのメソッドと演算をサポートするのに加え、 :class:`UserDict` インスタンスは以下の属性を提供します:"
13661359

1367-
#: ../../library/collections.rst:1175
1360+
#: ../../library/collections.rst:1178
13681361
msgid ""
13691362
"A real dictionary used to store the contents of the :class:`UserDict` class."
13701363
msgstr ":class:`UserDict` クラスの内容を保存するために使われる実際の辞書です。"
13711364

1372-
#: ../../library/collections.rst:1181
1365+
#: ../../library/collections.rst:1184
13731366
msgid ":class:`UserList` objects"
13741367
msgstr ":class:`UserList` オブジェクト"
13751368

1376-
#: ../../library/collections.rst:1183
1369+
#: ../../library/collections.rst:1186
13771370
msgid ""
13781371
"This class acts as a wrapper around list objects. It is a useful base class"
13791372
" for your own list-like classes which can inherit from them and override "
@@ -1382,7 +1375,7 @@ msgid ""
13821375
msgstr ""
13831376
"このクラスはリストオブジェクトのラッパとしてはたらきます。これは独自のリスト風クラスの基底クラスとして便利で、既存のメソッドをオーバーライドしたり新しいメソッドを加えたりできます。こうして、リストに新しい振る舞いを加えられます。"
13841377

1385-
#: ../../library/collections.rst:1188
1378+
#: ../../library/collections.rst:1191
13861379
msgid ""
13871380
"The need for this class has been partially supplanted by the ability to "
13881381
"subclass directly from :class:`list`; however, this class can be easier to "
@@ -1391,7 +1384,7 @@ msgstr ""
13911384
"このクラスの必要性は、 :class:`list` から直接的にサブクラス化できる能力に部分的に取って代わられました; "
13921385
"しかし、根底のリストに属性としてアクセスできるので、このクラスを使った方が簡単になることもあります。"
13931386

1394-
#: ../../library/collections.rst:1194
1387+
#: ../../library/collections.rst:1197
13951388
msgid ""
13961389
"Class that simulates a list. The instance's contents are kept in a regular "
13971390
"list, which is accessible via the :attr:`data` attribute of "
@@ -1403,19 +1396,19 @@ msgstr ""
14031396
":attr:`data` 属性を通してアクセスできます。インスタンスの内容は最初に *list* のコピーに設定されますが、デフォルトでは空リスト "
14041397
"``[]`` です。 *list* は何らかのイテラブル、例えば通常の Python リストや :class:`UserList` オブジェクト、です。"
14051398

1406-
#: ../../library/collections.rst:1200
1399+
#: ../../library/collections.rst:1203
14071400
msgid ""
14081401
"In addition to supporting the methods and operations of mutable sequences, "
14091402
":class:`UserList` instances provide the following attribute:"
14101403
msgstr "ミュータブルシーケンスのメソッドと演算をサポートするのに加え、 :class:`UserList` インスタンスは以下の属性を提供します:"
14111404

1412-
#: ../../library/collections.rst:1205
1405+
#: ../../library/collections.rst:1208
14131406
msgid ""
14141407
"A real :class:`list` object used to store the contents of the "
14151408
":class:`UserList` class."
14161409
msgstr ":class:`UserList` クラスの内容を保存するために使われる実際の :class:`list` オブジェクトです。"
14171410

1418-
#: ../../library/collections.rst:1208
1411+
#: ../../library/collections.rst:1211
14191412
msgid ""
14201413
"**Subclassing requirements:** Subclasses of :class:`UserList` are expected "
14211414
"to offer a constructor which can be called with either no arguments or one "
@@ -1427,7 +1420,7 @@ msgstr ""
14271420
"**サブクラス化の要件:** :class:`UserList` "
14281421
"のサブクラスは引数なしか、あるいは一つの引数のどちらかとともに呼び出せるコンストラクタを提供することが期待されています。新しいシーケンスを返すリスト演算は現在の実装クラスのインスタンスを作成しようとします。そのために、データ元として使われるシーケンスオブジェクトである一つのパラメータとともにコンストラクタを呼び出せると想定しています。"
14291422

1430-
#: ../../library/collections.rst:1215
1423+
#: ../../library/collections.rst:1218
14311424
msgid ""
14321425
"If a derived class does not wish to comply with this requirement, all of the"
14331426
" special methods supported by this class will need to be overridden; please "
@@ -1436,11 +1429,11 @@ msgid ""
14361429
msgstr ""
14371430
"派生クラスがこの要求に従いたくないならば、このクラスがサポートしているすべての特殊メソッドはオーバーライドされる必要があります。その場合に提供される必要のあるメソッドについての情報は、ソースを参考にしてください。"
14381431

1439-
#: ../../library/collections.rst:1221
1432+
#: ../../library/collections.rst:1224
14401433
msgid ":class:`UserString` objects"
14411434
msgstr ":class:`UserString` オブジェクト"
14421435

1443-
#: ../../library/collections.rst:1223
1436+
#: ../../library/collections.rst:1226
14441437
msgid ""
14451438
"The class, :class:`UserString` acts as a wrapper around string objects. The "
14461439
"need for this class has been partially supplanted by the ability to subclass"
@@ -1451,7 +1444,7 @@ msgstr ""
14511444
"から直接的にサブクラス化できる能力に部分的に取って代わられました; "
14521445
"しかし、根底の文字列に属性としてアクセスできるので、このクラスを使った方が簡単になることもあります。"
14531446

1454-
#: ../../library/collections.rst:1231
1447+
#: ../../library/collections.rst:1234
14551448
msgid ""
14561449
"Class that simulates a string object. The instance's content is kept in a "
14571450
"regular string object, which is accessible via the :attr:`data` attribute of"
@@ -1464,19 +1457,19 @@ msgstr ""
14641457
"インスタンスの内容には最初に *seq* のコピーが設定されます。\n"
14651458
"*seq* 引数は、組み込みの :func:`str` 関数で文字列に変換できる任意のオブジェクトです。"
14661459

1467-
#: ../../library/collections.rst:1238
1460+
#: ../../library/collections.rst:1241
14681461
msgid ""
14691462
"In addition to supporting the methods and operations of strings, "
14701463
":class:`UserString` instances provide the following attribute:"
14711464
msgstr "文字列のメソッドと演算をサポートするのに加え、 :class:`UserString` インスタンスは次の属性を提供します:"
14721465

1473-
#: ../../library/collections.rst:1243
1466+
#: ../../library/collections.rst:1246
14741467
msgid ""
14751468
"A real :class:`str` object used to store the contents of the "
14761469
":class:`UserString` class."
14771470
msgstr ":class:`UserString` クラスの内容を保存するために使われる実際の :class:`str` オブジェクトです。"
14781471

1479-
#: ../../library/collections.rst:1246
1472+
#: ../../library/collections.rst:1249
14801473
msgid ""
14811474
"New methods ``__getnewargs__``, ``__rmod__``, ``casefold``, ``format_map``, "
14821475
"``isprintable``, and ``maketrans``."

0 commit comments

Comments
 (0)
0