@@ -18,7 +18,7 @@ msgid ""
1818msgstr ""
1919"Project-Id-Version :Python 3.9\n "
2020"Report-Msgid-Bugs-To :\n "
21- "POT-Creation-Date :2021-07-27 07:03 +0000\n "
21+ "POT-Creation-Date :2021-08-11 07:13 +0000\n "
2222"PO-Revision-Date :2017-02-16 23:25+0000\n "
2323"Last-Translator :Osamu NAKAMURA, 2021\n "
2424"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -98,7 +98,7 @@ msgstr ""
9898"シェルフが自動的に閉じることに依存しないでください; それがもう必要ない場合は常に :meth:`~Shelf.close` を明示的に呼ぶか、 "
9999":func:`shelve.open` をコンテキストマネージャとして使用してください::"
100100
101- #: ../../library/shelve.rst:54
101+ #: ../../library/shelve.rst:56
102102msgid ""
103103"Because the :mod:`shelve` module is backed by :mod:`pickle`, it is insecure "
104104"to load a shelf from an untrusted source. Like with pickle, loading a shelf"
@@ -107,19 +107,19 @@ msgstr ""
107107":mod:`shelve` モジュールは裏で :mod:`pickle` を使っているので、信頼できないソースからシェルフを読み込むのは危険です。 "
108108"pickle と同じく、 shelf の読み込みでも任意のコードを実行できるからです。"
109109
110- #: ../../library/shelve.rst:58
110+ #: ../../library/shelve.rst:60
111111msgid ""
112112"Shelf objects support most of methods and operations supported by "
113113"dictionaries (except copying, constructors and operators ``|`` and ``|=``)."
114114" This eases the transition from dictionary based scripts to those requiring"
115115" persistent storage."
116116msgstr ""
117117
118- #: ../../library/shelve.rst:62
118+ #: ../../library/shelve.rst:64
119119msgid "Two additional methods are supported:"
120120msgstr "追加でサポートされるメソッドが二つあります:"
121121
122- #: ../../library/shelve.rst:66
122+ #: ../../library/shelve.rst:68
123123msgid ""
124124"Write back all entries in the cache if the shelf was opened with *writeback*"
125125" set to :const:`True`. Also empty the cache and synchronize the persistent "
@@ -130,14 +130,14 @@ msgstr ""
130130"にセットして開かれている場合に、キャッシュ中の全てのエントリを書き戻します。また可能な場合は、キャッシュを空にしてディスク上の永続的な辞書を同期します。このメソッドはシェルフを"
131131" :meth:`close` によって閉じるとき自動的に呼び出されます。"
132132
133- #: ../../library/shelve.rst:73
133+ #: ../../library/shelve.rst:75
134134msgid ""
135135"Synchronize and close the persistent *dict* object. Operations on a closed "
136136"shelf will fail with a :exc:`ValueError`."
137137msgstr ""
138138"永続的な *辞書* オブジェクトを同期して閉じます。既に閉じられているシェルフに対して呼び出すと :exc:`ValueError` を出し失敗します。"
139139
140- #: ../../library/shelve.rst:79
140+ #: ../../library/shelve.rst:81
141141msgid ""
142142"`Persistent dictionary recipe "
143143"<https://code.activestate.com/recipes/576642/>`_ with widely supported "
@@ -146,11 +146,11 @@ msgstr ""
146146"通常の辞書に近い速度をもち、いろいろなストレージフォーマットに対応した、 `永続化辞書のレシピ "
147147"<https://code.activestate.com/recipes/576642/>`_ 。"
148148
149- #: ../../library/shelve.rst:85
149+ #: ../../library/shelve.rst:87
150150msgid "Restrictions"
151151msgstr "制限事項"
152152
153- #: ../../library/shelve.rst:91
153+ #: ../../library/shelve.rst:93
154154msgid ""
155155"The choice of which database package will be used (such as :mod:`dbm.ndbm` "
156156"or :mod:`dbm.gnu`) depends on which interface is available. Therefore it is"
@@ -166,7 +166,7 @@ msgstr ""
166166"これはデータベースに記録されたオブジェクト (の pickle 化された表現) "
167167"はかなり小さくなければならず、キー衝突が生じた場合に、稀にデータベースを更新することができなくなることを意味します。"
168168
169- #: ../../library/shelve.rst:99
169+ #: ../../library/shelve.rst:101
170170msgid ""
171171"The :mod:`shelve` module does not support *concurrent* read/write access to "
172172"shelved objects. (Multiple simultaneous read accesses are safe.) When a "
@@ -180,15 +180,15 @@ msgstr ""
180180" Unix のファイルロック機構を使うことができますが、この機構は Unix "
181181"のバージョン間で異なり、使われているデータベースの実装について知識が必要となります。"
182182
183- #: ../../library/shelve.rst:109
183+ #: ../../library/shelve.rst:111
184184msgid ""
185185"A subclass of :class:`collections.abc.MutableMapping` which stores pickled "
186186"values in the *dict* object."
187187msgstr ""
188188":class:`collections.abc.MutableMapping` のサブクラスで、 *dict* "
189189"オブジェクト内にpickle化された値を保持します。"
190190
191- #: ../../library/shelve.rst:112
191+ #: ../../library/shelve.rst:114
192192msgid ""
193193"By default, version 3 pickles are used to serialize values. The version of "
194194"the pickle protocol can be specified with the *protocol* parameter. See the "
@@ -197,7 +197,7 @@ msgstr ""
197197"デフォルトでは、値を整列化する際にはバージョン 3 の pickle 化が用いられます。pickle 化プロトコルのバージョンは *protocol* "
198198"パラメータで指定することができます。pickle 化プロトコルについては :mod:`pickle` のドキュメントを参照してください。"
199199
200- #: ../../library/shelve.rst:116
200+ #: ../../library/shelve.rst:118
201201msgid ""
202202"If the *writeback* parameter is ``True``, the object will hold a cache of "
203203"all entries accessed and write them back to the *dict* at sync and close "
@@ -208,33 +208,33 @@ msgstr ""
208208"に設定されていれば、アクセスされたすべてのエントリはメモリ上にキャッシュされ、ファイルを閉じる際に *dict* に書き戻されます; "
209209"この機能により、可変のエントリに対して自然な操作が可能になりますが、さらに多くのメモリを消費し、辞書をファイルと同期して閉じる際に長い時間がかかるようになります。"
210210
211- #: ../../library/shelve.rst:121
211+ #: ../../library/shelve.rst:123
212212msgid ""
213213"The *keyencoding* parameter is the encoding used to encode keys before they "
214214"are used with the underlying dict."
215215msgstr ""
216216"*keyencoding* パラメータは、shelf の背後にある dict "
217217"に対して使われる前にキーをエンコードするのに使用されるエンコーディングです。"
218218
219- #: ../../library/shelve.rst:124
219+ #: ../../library/shelve.rst:126
220220msgid ""
221221"A :class:`Shelf` object can also be used as a context manager, in which case"
222222" it will be automatically closed when the :keyword:`with` block ends."
223223msgstr ""
224224":class:`Shelf` オブジェクトは、コンテキストマネージャとしても使用できます。この場合、 :keyword:`with` "
225225"ブロックが終了する際に、自動的に閉じられます。"
226226
227- #: ../../library/shelve.rst:127
227+ #: ../../library/shelve.rst:129
228228msgid ""
229229"Added the *keyencoding* parameter; previously, keys were always encoded in "
230230"UTF-8."
231231msgstr "*keyencoding* パラメータを追加; 以前はキーは常に UTF-8 でエンコードされていました。"
232232
233- #: ../../library/shelve.rst:131
233+ #: ../../library/shelve.rst:133
234234msgid "Added context manager support."
235235msgstr "コンテキストマネージャーサポートが追加されました。"
236236
237- #: ../../library/shelve.rst:137
237+ #: ../../library/shelve.rst:139
238238msgid ""
239239"A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`!next`, "
240240":meth:`previous`, :meth:`last` and :meth:`set_location` which are available "
@@ -255,7 +255,7 @@ msgstr ""
255255"のいずれかを呼び出して得られるオブジェクトが条件を満たしています。オプションの *protocol*, *writeback* および "
256256"*keyencoding* パラメータは :class:`Shelf` クラスにおけるパラメータと同様に解釈されます。"
257257
258- #: ../../library/shelve.rst:150
258+ #: ../../library/shelve.rst:152
259259msgid ""
260260"A subclass of :class:`Shelf` which accepts a *filename* instead of a dict-"
261261"like object. The underlying file will be opened using :func:`dbm.open`. By"
@@ -269,28 +269,28 @@ msgstr ""
269269" :func:`.open` 関数におけるパラメータと同様に解釈されます。オプションの *protocol* および *writeback* "
270270"パラメータは :class:`Shelf` クラスにおけるパラメータと同様に解釈されます。"
271271
272- #: ../../library/shelve.rst:161
272+ #: ../../library/shelve.rst:163
273273msgid "Example"
274274msgstr "使用例"
275275
276- #: ../../library/shelve.rst:163
276+ #: ../../library/shelve.rst:165
277277msgid ""
278278"To summarize the interface (``key`` is a string, ``data`` is an arbitrary "
279279"object)::"
280280msgstr "インターフェースは以下のコードに集約されています (``key`` は文字列で、``data`` は任意のオブジェクトです)::"
281281
282- #: ../../library/shelve.rst:200
282+ #: ../../library/shelve.rst:202
283283msgid "Module :mod:`dbm`"
284284msgstr ":mod:`dbm` モジュール"
285285
286- #: ../../library/shelve.rst:200
286+ #: ../../library/shelve.rst:202
287287msgid "Generic interface to ``dbm``-style databases."
288288msgstr "``dbm`` スタイルのデータベースに対する共通インターフェース。"
289289
290- #: ../../library/shelve.rst:202
290+ #: ../../library/shelve.rst:204
291291msgid "Module :mod:`pickle`"
292292msgstr ":mod:`pickle` モジュール"
293293
294- #: ../../library/shelve.rst:203
294+ #: ../../library/shelve.rst:205
295295msgid "Object serialization used by :mod:`shelve`."
296296msgstr ":mod:`shelve` によって使われるオブジェクト整列化機構。"