File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,21 @@ msgid ""
223
223
"``'a'`` and the file does not exist at all, it is created. If *mode* is "
224
224
"``'r'`` or ``'a'``, the file should be seekable."
225
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
+ "す。"
226
241
227
242
#: ../../library/zipfile.rst:160
228
243
msgid ""
You can’t perform that action at this time.
0 commit comments