File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ msgstr ""
7
7
"Project-Id-Version : Python 3.11\n "
8
8
"Report-Msgid-Bugs-To : \n "
9
9
"POT-Creation-Date : 2023-05-09 00:15+0000\n "
10
- "PO-Revision-Date : 2023-07-17 23:29 +0800\n "
10
+ "PO-Revision-Date : 2023-07-18 21:30 +0800\n "
11
11
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
12
12
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
13
13
"tw)\n "
@@ -56,6 +56,10 @@ msgid ""
56
56
"stream will raise a :exc:`TypeError`. So will giving a :class:`bytes` "
57
57
"object to the ``write()`` method of a text stream."
58
58
msgstr ""
59
+ "所有的資料串流都會謹慎處理你所提供的資料的型別。舉例來說,提供一個 :class:"
60
+ "`str` 物件給二進位資料流的 ``write()`` 方法將會引發 :exc:`TypeError`。同樣"
61
+ "地,若提供一個 :class:`bytes` 物件給文字資料流的 ``write()`` 方法,也會引發同"
62
+ "樣的錯誤。"
59
63
60
64
#: ../../library/io.rst:45
61
65
msgid ""
@@ -229,6 +233,9 @@ msgid ""
229
233
"`PYTHONWARNDEFAULTENCODING` environment variable, which will emit an :exc:"
230
234
"`EncodingWarning` when the default encoding is used."
231
235
msgstr ""
236
+ "要找出哪些地方使用到預設的地區編碼,你可以啟用 ``-X warn_default_encoding`` "
237
+ "命令列選項,或者設定環境變數 :envvar:`PYTHONWARNDEFAULTENCODING`。當使用到預"
238
+ "設編碼時,會引發 :exc:`EncodingWarning`。"
232
239
233
240
#: ../../library/io.rst:153
234
241
msgid ""
You can’t perform that action at this time.
0 commit comments