@@ -2084,6 +2084,11 @@ msgid ""
2084
2084
"given, it is closed when the returned I/O object is closed unless *closefd* "
2085
2085
"is set to ``False``.)"
2086
2086
msgstr ""
2087
+ "*file* は :term:`path-like object` で、開くファイルのパス名 (絶対パスまたは現"
2088
+ "在の作業ディレクトリからの相対パス) あるいはラップするファイルの整数のファイ"
2089
+ "ルデスクリプタを与えます。 (ファイルデスクリプタが与えられた場合、 *closefd* "
2090
+ "が ``False`` に設定されていないかぎり、この関数が返す I/O オブジェクトがク"
2091
+ "ローズされるときにファイルデスクリプタもクローズされます。)"
2087
2092
2088
2093
#: ../../library/functions.rst:1132
2089
2094
msgid ""
@@ -2137,7 +2142,7 @@ msgstr "``'a'``"
2137
2142
2138
2143
#: ../../library/functions.rst:1154
2139
2144
msgid "open for writing, appending to the end of file if it exists"
2140
- msgstr ""
2145
+ msgstr "書き込み用に開き、ファイルが存在する場合には末尾に追記する "
2141
2146
2142
2147
#: ../../library/functions.rst:1155
2143
2148
msgid "``'b'``"
@@ -2161,14 +2166,17 @@ msgstr "``'+'``"
2161
2166
2162
2167
#: ../../library/functions.rst:1157
2163
2168
msgid "open for updating (reading and writing)"
2164
- msgstr ""
2169
+ msgstr "更新用に開く (読み込み・書き込み用) "
2165
2170
2166
2171
#: ../../library/functions.rst:1160
2167
2172
msgid ""
2168
2173
"The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). "
2169
2174
"Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and "
2170
2175
"``'r+b'`` open the file with no truncation."
2171
2176
msgstr ""
2177
+ "デフォルトのモードは ``'r'`` (テキストの読み込み用に開く、 ``'rt'`` と同義) "
2178
+ "です。 ``'w+'`` と ``'w+b'`` はファイルを開いて上書きします。 ``'r+'`` と "
2179
+ "``'r+b'`` はファイルを上書きせずに開きます。"
2172
2180
2173
2181
#: ../../library/functions.rst:1164
2174
2182
msgid ""
0 commit comments