@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.10\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2021-07-27 13:07 +0000\n "
15+ "POT-Creation-Date : 2021-08-10 13:16 +0000\n "
1616"PO-Revision-Date : 2021-06-28 01:12+0000\n "
1717"Last-Translator : Osamu NAKAMURA, 2021\n "
1818"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -82,7 +82,7 @@ msgstr ""
8282"オプションの *writeback* パラメータが ``True`` に設定されている場合は、アクセスされたすべてのエントリはメモリ上にキャッシュされ、 :meth:`~Shelf.sync` および :meth:`~Shelf.close` を呼び出した際に書き戻されます;\n"
8383"この機能は永続的な辞書上の可変の要素に対する変更を容易にしますが、多数のエントリがアクセスされた場合、膨大な量のメモリがキャッシュのために消費され、アクセスされた全てのエントリを書き戻す (アクセスされたエントリが可変であるか、あるいは実際に変更されたかを決定する方法は存在しないのです) ために、ファイルを閉じる操作が非常に低速になります。"
8484
85- #: ../../library/shelve.rst:44 ../../library/shelve.rst:140
85+ #: ../../library/shelve.rst:44 ../../library/shelve.rst:142
8686msgid ""
8787":data:`pickle.DEFAULT_PROTOCOL` is now used as the default pickle protocol."
8888msgstr ""
@@ -96,7 +96,7 @@ msgstr ""
9696"シェルフが自動的に閉じることに依存しないでください; それがもう必要ない場合は常に :meth:`~Shelf.close` を明示的に呼ぶか、 "
9797":func:`shelve.open` をコンテキストマネージャとして使用してください::"
9898
99- #: ../../library/shelve.rst:59
99+ #: ../../library/shelve.rst:61
100100msgid ""
101101"Because the :mod:`shelve` module is backed by :mod:`pickle`, it is insecure "
102102"to load a shelf from an untrusted source. Like with pickle, loading a shelf"
@@ -105,19 +105,19 @@ msgstr ""
105105":mod:`shelve` モジュールは裏で :mod:`pickle` を使っているので、信頼できないソースからシェルフを読み込むのは危険です。 "
106106"pickle と同じく、 shelf の読み込みでも任意のコードを実行できるからです。"
107107
108- #: ../../library/shelve.rst:63
108+ #: ../../library/shelve.rst:65
109109msgid ""
110110"Shelf objects support most of methods and operations supported by "
111111"dictionaries (except copying, constructors and operators ``|`` and ``|=``)."
112112" This eases the transition from dictionary based scripts to those requiring"
113113" persistent storage."
114114msgstr ""
115115
116- #: ../../library/shelve.rst:67
116+ #: ../../library/shelve.rst:69
117117msgid "Two additional methods are supported:"
118118msgstr "追加でサポートされるメソッドが二つあります:"
119119
120- #: ../../library/shelve.rst:71
120+ #: ../../library/shelve.rst:73
121121msgid ""
122122"Write back all entries in the cache if the shelf was opened with *writeback*"
123123" set to :const:`True`. Also empty the cache and synchronize the persistent "
@@ -128,14 +128,14 @@ msgstr ""
128128"にセットして開かれている場合に、キャッシュ中の全てのエントリを書き戻します。また可能な場合は、キャッシュを空にしてディスク上の永続的な辞書を同期します。このメソッドはシェルフを"
129129" :meth:`close` によって閉じるとき自動的に呼び出されます。"
130130
131- #: ../../library/shelve.rst:78
131+ #: ../../library/shelve.rst:80
132132msgid ""
133133"Synchronize and close the persistent *dict* object. Operations on a closed "
134134"shelf will fail with a :exc:`ValueError`."
135135msgstr ""
136136"永続的な *辞書* オブジェクトを同期して閉じます。既に閉じられているシェルフに対して呼び出すと :exc:`ValueError` を出し失敗します。"
137137
138- #: ../../library/shelve.rst:84
138+ #: ../../library/shelve.rst:86
139139msgid ""
140140"`Persistent dictionary recipe "
141141"<https://code.activestate.com/recipes/576642/>`_ with widely supported "
@@ -144,11 +144,11 @@ msgstr ""
144144"通常の辞書に近い速度をもち、いろいろなストレージフォーマットに対応した、 `永続化辞書のレシピ "
145145"<https://code.activestate.com/recipes/576642/>`_ 。"
146146
147- #: ../../library/shelve.rst:90
147+ #: ../../library/shelve.rst:92
148148msgid "Restrictions"
149149msgstr "制限事項"
150150
151- #: ../../library/shelve.rst:96
151+ #: ../../library/shelve.rst:98
152152msgid ""
153153"The choice of which database package will be used (such as :mod:`dbm.ndbm` "
154154"or :mod:`dbm.gnu`) depends on which interface is available. Therefore it is"
@@ -164,7 +164,7 @@ msgstr ""
164164"これはデータベースに記録されたオブジェクト (の pickle 化された表現) "
165165"はかなり小さくなければならず、キー衝突が生じた場合に、稀にデータベースを更新することができなくなることを意味します。"
166166
167- #: ../../library/shelve.rst:104
167+ #: ../../library/shelve.rst:106
168168msgid ""
169169"The :mod:`shelve` module does not support *concurrent* read/write access to "
170170"shelved objects. (Multiple simultaneous read accesses are safe.) When a "
@@ -178,23 +178,23 @@ msgstr ""
178178" Unix のファイルロック機構を使うことができますが、この機構は Unix "
179179"のバージョン間で異なり、使われているデータベースの実装について知識が必要となります。"
180180
181- #: ../../library/shelve.rst:114
181+ #: ../../library/shelve.rst:116
182182msgid ""
183183"A subclass of :class:`collections.abc.MutableMapping` which stores pickled "
184184"values in the *dict* object."
185185msgstr ""
186186":class:`collections.abc.MutableMapping` のサブクラスで、 *dict* "
187187"オブジェクト内にpickle化された値を保持します。"
188188
189- #: ../../library/shelve.rst:117
189+ #: ../../library/shelve.rst:119
190190msgid ""
191191"By default, pickles created with :data:`pickle.DEFAULT_PROTOCOL` are used to"
192192" serialize values. The version of the pickle protocol can be specified with"
193193" the *protocol* parameter. See the :mod:`pickle` documentation for a "
194194"discussion of the pickle protocols."
195195msgstr ""
196196
197- #: ../../library/shelve.rst:122
197+ #: ../../library/shelve.rst:124
198198msgid ""
199199"If the *writeback* parameter is ``True``, the object will hold a cache of "
200200"all entries accessed and write them back to the *dict* at sync and close "
@@ -205,33 +205,33 @@ msgstr ""
205205"に設定されていれば、アクセスされたすべてのエントリはメモリ上にキャッシュされ、ファイルを閉じる際に *dict* に書き戻されます; "
206206"この機能により、可変のエントリに対して自然な操作が可能になりますが、さらに多くのメモリを消費し、辞書をファイルと同期して閉じる際に長い時間がかかるようになります。"
207207
208- #: ../../library/shelve.rst:127
208+ #: ../../library/shelve.rst:129
209209msgid ""
210210"The *keyencoding* parameter is the encoding used to encode keys before they "
211211"are used with the underlying dict."
212212msgstr ""
213213"*keyencoding* パラメータは、shelf の背後にある dict "
214214"に対して使われる前にキーをエンコードするのに使用されるエンコーディングです。"
215215
216- #: ../../library/shelve.rst:130
216+ #: ../../library/shelve.rst:132
217217msgid ""
218218"A :class:`Shelf` object can also be used as a context manager, in which case"
219219" it will be automatically closed when the :keyword:`with` block ends."
220220msgstr ""
221221":class:`Shelf` オブジェクトは、コンテキストマネージャとしても使用できます。この場合、 :keyword:`with` "
222222"ブロックが終了する際に、自動的に閉じられます。"
223223
224- #: ../../library/shelve.rst:133
224+ #: ../../library/shelve.rst:135
225225msgid ""
226226"Added the *keyencoding* parameter; previously, keys were always encoded in "
227227"UTF-8."
228228msgstr "*keyencoding* パラメータを追加; 以前はキーは常に UTF-8 でエンコードされていました。"
229229
230- #: ../../library/shelve.rst:137
230+ #: ../../library/shelve.rst:139
231231msgid "Added context manager support."
232232msgstr "コンテキストマネージャーサポートが追加されました。"
233233
234- #: ../../library/shelve.rst:147
234+ #: ../../library/shelve.rst:149
235235msgid ""
236236"A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`!next`, "
237237":meth:`previous`, :meth:`last` and :meth:`set_location` which are available "
@@ -252,7 +252,7 @@ msgstr ""
252252"のいずれかを呼び出して得られるオブジェクトが条件を満たしています。オプションの *protocol*, *writeback* および "
253253"*keyencoding* パラメータは :class:`Shelf` クラスにおけるパラメータと同様に解釈されます。"
254254
255- #: ../../library/shelve.rst:160
255+ #: ../../library/shelve.rst:162
256256msgid ""
257257"A subclass of :class:`Shelf` which accepts a *filename* instead of a dict-"
258258"like object. The underlying file will be opened using :func:`dbm.open`. By"
@@ -266,28 +266,28 @@ msgstr ""
266266" :func:`.open` 関数におけるパラメータと同様に解釈されます。オプションの *protocol* および *writeback* "
267267"パラメータは :class:`Shelf` クラスにおけるパラメータと同様に解釈されます。"
268268
269- #: ../../library/shelve.rst:171
269+ #: ../../library/shelve.rst:173
270270msgid "Example"
271271msgstr "使用例"
272272
273- #: ../../library/shelve.rst:173
273+ #: ../../library/shelve.rst:175
274274msgid ""
275275"To summarize the interface (``key`` is a string, ``data`` is an arbitrary "
276276"object)::"
277277msgstr "インターフェースは以下のコードに集約されています (``key`` は文字列で、``data`` は任意のオブジェクトです)::"
278278
279- #: ../../library/shelve.rst:210
279+ #: ../../library/shelve.rst:212
280280msgid "Module :mod:`dbm`"
281281msgstr ":mod:`dbm` モジュール"
282282
283- #: ../../library/shelve.rst:210
283+ #: ../../library/shelve.rst:212
284284msgid "Generic interface to ``dbm``-style databases."
285285msgstr "``dbm`` スタイルのデータベースに対する共通インターフェース。"
286286
287- #: ../../library/shelve.rst:212
287+ #: ../../library/shelve.rst:214
288288msgid "Module :mod:`pickle`"
289289msgstr ":mod:`pickle` モジュール"
290290
291- #: ../../library/shelve.rst:213
291+ #: ../../library/shelve.rst:215
292292msgid "Object serialization used by :mod:`shelve`."
293293msgstr ":mod:`shelve` によって使われるオブジェクト整列化機構。"
0 commit comments