File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,8 @@ msgid ""
364
364
"encountered in the left operand and then by the order encountered in the "
365
365
"right operand."
366
366
msgstr ""
367
+ ":class:`Counter` は class:`dict` のサブクラスとして要素の挿入順を維持する機能を継承しました。 *Counter* "
368
+ "オブジェクトに対する数学演算も順序を維持します。結果は左の被演算子で最初に要素が出現するあとに、右の被演算子で要素が出現する順序になります。"
367
369
368
370
#: ../../library/collections.rst:277
369
371
msgid ""
@@ -377,6 +379,8 @@ msgid ""
377
379
" Elements are returned in the order first encountered. If an element's "
378
380
"count is less than one, :meth:`elements` will ignore it."
379
381
msgstr ""
382
+ "それぞれの要素を、そのカウント分の回数だけ繰り返すイテレータを返します。要素は挿入した順番で返されます。ある要素のカウントが 1 未満なら、 "
383
+ ":meth:`elements` はそれを無視します。"
380
384
381
385
#: ../../library/collections.rst:292
382
386
msgid ""
@@ -385,6 +389,8 @@ msgid ""
385
389
"returns *all* elements in the counter. Elements with equal counts are "
386
390
"ordered in the order first encountered:"
387
391
msgstr ""
392
+ "最も多い *n* 要素を、カウントが多いものから少ないものまで順に並べたリストを返します。 *n* が省略されるか ``None`` であれば、 "
393
+ ":meth:`most_common` はカウンタの *すべての* 要素を返します。等しいカウントの要素は挿入順に並べられます:"
388
394
389
395
#: ../../library/collections.rst:302
390
396
msgid ""
You can’t perform that action at this time.
0 commit comments