@@ -1863,6 +1863,10 @@ msgid ""
1863
1863
":class:`str` or :class:`bytes` result instead, respectively. Introduced by "
1864
1864
":pep:`519`."
1865
1865
msgstr ""
1866
+ "(path-like オブジェクト) ファイルシステムパスを表します。\n"
1867
+ "path-like オブジェクトは、パスを表す :class:`str` オブジェクトや :class:`bytes` オブジェクト、または :class:`os.PathLike` プロトコルを実装したオブジェクトのどれかです。\n"
1868
+ ":class:`os.PathLike` プロトコルをサポートしているオブジェクトは :func:`os.fspath` を呼び出すことで :class:`str` または :class:`bytes` のファイルシステムパスに変換できます。 :func:`os.fsdecode` と :func:`os.fsencode` はそれぞれ :class:`str` あるいは :class:`bytes` になるのを保証するのに使えます。\n"
1869
+ ":pep:`519` で導入されました。"
1866
1870
1867
1871
#: ../../glossary.rst:889
1868
1872
msgid "PEP"
@@ -2163,12 +2167,17 @@ msgid ""
2163
2167
" in text mode (``'r'`` or ``'w'``), :data:`sys.stdin`, :data:`sys.stdout`, "
2164
2168
"and instances of :class:`io.StringIO`."
2165
2169
msgstr ""
2170
+ "(テキストファイル) :class:`str` オブジェクトを読み書きできる :term:`file object` です。\n"
2171
+ "しばしば、テキストファイルは実際にバイト指向のデータストリームにアクセスし、 :term:`テキストエンコーディング <text encoding>` を自動的に行います。\n"
2172
+ "テキストファイルの例は、 :data:`sys.stdin`, :data:`sys.stdout`, :class:`io.StringIO` インスタンスなどをテキストモード (``'r'`` or ``'w'``) で開いたファイルです。"
2166
2173
2167
2174
#: ../../glossary.rst:1053
2168
2175
msgid ""
2169
2176
"See also :term:`binary file` for a file object able to read and write :term"
2170
2177
":`bytes-like objects <bytes-like object>`."
2171
2178
msgstr ""
2179
+ ":term:`bytes-like オブジェクト <bytes-like object>` を読み書きできるファイルオブジェクトについては、 "
2180
+ ":term:`バイナリファイル <binary file>` も参照してください。"
2172
2181
2173
2182
#: ../../glossary.rst:1055
2174
2183
msgid "triple-quoted string"