Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6146d98

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parentc30980d commit6146d98

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎library/zipfile.po‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,21 @@ msgid ""
234234
"``'a'`` and the file does not exist at all, it is created. If *mode* is "
235235
"``'r'`` or ``'a'``, the file should be seekable."
236236
msgstr""
237+
"*mode* パラメータには、既存のファイルを読み込む場合は ``'r'`` 、内容を消去し"
238+
"て新しいファイルに書き込む場合は ``'w'`` 、既存のファイルの末尾に追加する場"
239+
"合は ``'a'`` 、ファイルが存在しない場合にのみファイルを作成して書き込む場合"
240+
"は ``'x'`` を指定します。\n"
241+
"*mode* が ``'x'`` で *file* が既存のファイルを指している場合、 :exc:"
242+
"`FileExistsError` が発生します。\n"
243+
"*mode* が ``'a'`` で *file* が既存の ZIP ファイルを指している場合、新しい "
244+
"ZIP アーカイブがそのファイルに追加されます。\n"
245+
"*file* が ZIP ファイルでない場合は、ファイルの末尾にあたらしい ZIP アーカイブ"
246+
"が追加されます。\n"
247+
"これは、既存のファイル (例えば :file:`python.exe`) に ZIP アーカイブを付け加"
248+
"える用途を想定したものです。\n"
249+
"*mode* が ``'a'`` で *file* が存在しない場合は、ファイルが作成されます。\n"
250+
"*mode* が ``'r'`` か ``'a'`` の場合、ファイルはシーク可能である必要がありま"
251+
"す。"
237252

238253
#:../../library/zipfile.rst:159
239254
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp