File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ msgid ""
159159"functions with side-effects, functions that need to create distinct mutable "
160160"objects on each call, or impure functions such as time() or random()."
161161msgstr ""
162+ "一般的には、 LRU キャッシュは前回計算した値を再利用したいときにのみ使うべきです。\n"
163+ "そのため、副作用のある関数、呼び出すごとに個別の可変なオブジェクトを作成する必要がある関数、 time() や random() のような純粋でない関数をキャッシュする意味はありません。"
162164
163165#: ../../library/functools.rst:88
164166msgid "Example of an LRU cache for static web content::"
@@ -225,6 +227,10 @@ msgid ""
225227"appended to *args*. If additional keyword arguments are supplied, they "
226228"extend and override *keywords*. Roughly equivalent to::"
227229msgstr ""
230+ "新しい :ref:`partial オブジェクト<partial-objects>` を返します。このオブジェクトは呼び出されると位置引数 *args*"
231+ " とキーワード引数 *keywords* 付きで呼び出された *func* のように振る舞います。呼び出しに際してさらなる引数が渡された場合、それらは "
232+ "*args* に付け加えられます。追加のキーワード引数が渡された場合には、それらで *keywords* "
233+ "を拡張または上書きします。おおよそ次のコードと等価です::"
228234
229235#: ../../library/functools.rst:192
230236msgid ""
You can’t perform that action at this time.
0 commit comments