@@ -1818,6 +1818,10 @@ msgid ""
1818
1818
":class:`str` or :class:`bytes` result instead, respectively. Introduced by "
1819
1819
":pep:`519`."
1820
1820
msgstr ""
1821
+ "(path-like オブジェクト) ファイルシステムパスを表します。\n"
1822
+ "path-like オブジェクトは、パスを表す :class:`str` オブジェクトや :class:`bytes` オブジェクト、または :class:`os.PathLike` プロトコルを実装したオブジェクトのどれかです。\n"
1823
+ ":class:`os.PathLike` プロトコルをサポートしているオブジェクトは :func:`os.fspath` を呼び出すことで :class:`str` または :class:`bytes` のファイルシステムパスに変換できます。 :func:`os.fsdecode` と :func:`os.fsencode` はそれぞれ :class:`str` あるいは :class:`bytes` になるのを保証するのに使えます。\n"
1824
+ ":pep:`519` で導入されました。"
1821
1825
1822
1826
#: ../../glossary.rst:856
1823
1827
msgid "PEP"
@@ -2132,12 +2136,17 @@ msgid ""
2132
2136
" in text mode (``'r'`` or ``'w'``), :data:`sys.stdin`, :data:`sys.stdout`, "
2133
2137
"and instances of :class:`io.StringIO`."
2134
2138
msgstr ""
2139
+ "(テキストファイル) :class:`str` オブジェクトを読み書きできる :term:`file object` です。\n"
2140
+ "しばしば、テキストファイルは実際にバイト指向のデータストリームにアクセスし、 :term:`テキストエンコーディング <text encoding>` を自動的に行います。\n"
2141
+ "テキストファイルの例は、 :data:`sys.stdin`, :data:`sys.stdout`, :class:`io.StringIO` インスタンスなどをテキストモード (``'r'`` or ``'w'``) で開いたファイルです。"
2135
2142
2136
2143
#: ../../glossary.rst:1026
2137
2144
msgid ""
2138
2145
"See also :term:`binary file` for a file object able to read and write :term"
2139
2146
":`bytes-like objects <bytes-like object>`."
2140
2147
msgstr ""
2148
+ ":term:`bytes-like オブジェクト <bytes-like object>` を読み書きできるファイルオブジェクトについては、 "
2149
+ ":term:`バイナリファイル <binary file>` も参照してください。"
2141
2150
2142
2151
#: ../../glossary.rst:1028
2143
2152
msgid "triple-quoted string"