We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent3d3ddf4 commiteb29f78Copy full SHA for eb29f78
library/zipfile.po
@@ -223,6 +223,21 @@ msgid ""
223
"``'a'`` and the file does not exist at all, it is created. If *mode* is "
224
"``'r'`` or ``'a'``, the file should be seekable."
225
msgstr""
226
+"*mode* パラメータには、既存のファイルを読み込む場合は ``'r'`` 、内容を消去し"
227
+"て新しいファイルに書き込む場合は ``'w'`` 、既存のファイルの末尾に追加する場"
228
+"合は ``'a'`` 、ファイルが存在しない場合にのみファイルを作成して書き込む場合"
229
+"は ``'x'`` を指定します。\n"
230
+"*mode* が ``'x'`` で *file* が既存のファイルを指している場合、 :exc:"
231
+"`FileExistsError` が発生します。\n"
232
+"*mode* が ``'a'`` で *file* が既存の ZIP ファイルを指している場合、新しい "
233
+"ZIP アーカイブがそのファイルに追加されます。\n"
234
+"*file* が ZIP ファイルでない場合は、ファイルの末尾にあたらしい ZIP アーカイブ"
235
+"が追加されます。\n"
236
+"これは、既存のファイル (例えば :file:`python.exe`) に ZIP アーカイブを付け加"
237
+"える用途を想定したものです。\n"
238
+"*mode* が ``'a'`` で *file* が存在しない場合は、ファイルが作成されます。\n"
239
+"*mode* が ``'r'`` か ``'a'`` の場合、ファイルはシーク可能である必要がありま"
240
+"す。"
241
242
#:../../library/zipfile.rst:160
243
msgid""