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

Commitc5f4ab5

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parente797d08 commitc5f4ab5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎library/functions.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,6 +2084,11 @@ msgid ""
20842084
"given, it is closed when the returned I/O object is closed unless *closefd* "
20852085
"is set to ``False``.)"
20862086
msgstr""
2087+
"*file* は :term:`path-like object` で、開くファイルのパス名 (絶対パスまたは現"
2088+
"在の作業ディレクトリからの相対パス) あるいはラップするファイルの整数のファイ"
2089+
"ルデスクリプタを与えます。 (ファイルデスクリプタが与えられた場合、 *closefd* "
2090+
"が ``False`` に設定されていないかぎり、この関数が返す I/O オブジェクトがク"
2091+
"ローズされるときにファイルデスクリプタもクローズされます。)"
20872092

20882093
#:../../library/functions.rst:1132
20892094
msgid""
@@ -2137,7 +2142,7 @@ msgstr "``'a'``"
21372142

21382143
#:../../library/functions.rst:1154
21392144
msgid"open for writing, appending to the end of file if it exists"
2140-
msgstr""
2145+
msgstr"書き込み用に開き、ファイルが存在する場合には末尾に追記する"
21412146

21422147
#:../../library/functions.rst:1155
21432148
msgid"``'b'``"
@@ -2161,14 +2166,17 @@ msgstr "``'+'``"
21612166

21622167
#:../../library/functions.rst:1157
21632168
msgid"open for updating (reading and writing)"
2164-
msgstr""
2169+
msgstr"更新用に開く (読み込み・書き込み用)"
21652170

21662171
#:../../library/functions.rst:1160
21672172
msgid""
21682173
"The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). "
21692174
"Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and "
21702175
"``'r+b'`` open the file with no truncation."
21712176
msgstr""
2177+
"デフォルトのモードは ``'r'`` (テキストの読み込み用に開く、 ``'rt'`` と同義) "
2178+
"です。 ``'w+'`` と ``'w+b'`` はファイルを開いて上書きします。 ``'r+'`` と "
2179+
"``'r+b'`` はファイルを上書きせずに開きます。"
21722180

21732181
#:../../library/functions.rst:1164
21742182
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp