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

Add more translations of library/io#707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 2 commits intopython:3.12fromcschan1828:io
Nov 22, 2023
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletionslibrary/io.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-30 00:04+0000\n"
"PO-Revision-Date: 2023-08-01 12:20+0800\n"
"PO-Revision-Date: 2023-11-22 00:45+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.3.2\n"
"X-Generator: Poedit 3.4.1\n"

#: ../../library/io.rst:2
msgid ":mod:`io` --- Core tools for working with streams"
Expand DownExpand Up@@ -328,6 +328,10 @@ msgid ""
"same as ``open(path, 'rb')``. Overriding the behavior is intended for "
"additional validation or preprocessing of the file."
msgstr ""
"這個函式的行為可能會被之前對 :c:func:`PyFile_SetOpenCodeHook` 的呼叫覆寫。然"
"而,假設 *path* 是個 :class:`str` 且為絕對路徑,則 ``open_code(path)`` 總是"
"與 ``open(path, 'rb')`` 有相同行為。覆寫這個行為是為了對檔案進行額外驗證或預"
"處理。"

#: ../../library/io.rst:200
msgid ""
Expand All@@ -343,13 +347,18 @@ msgid ""
"returns ``\"locale\"`` or ``\"utf-8\"`` depending on :ref:`UTF-8 Mode <utf8-"
"mode>`."
msgstr ""
"若 *encoding* 不為 ``None``,此函式將回傳 *encoding*。否則,將根據 :ref:"
"`UTF-8 Mode <utf8-mode>` 回傳 ``\"locale\"`` 或 ``\"utf-8\"``。"

#: ../../library/io.rst:207
msgid ""
"This function emits an :class:`EncodingWarning` if :data:`sys.flags."
"warn_default_encoding <sys.flags>` is true and *encoding* is ``None``. "
"*stacklevel* specifies where the warning is emitted. For example::"
msgstr ""
"若 :data:`sys.flags.warn_default_encoding <sys.flags>` 為真,且 *encoding* "
"為 ``None``,此函式會發出一個 :class:`EncodingWarning`。*stacklevel* 指定警告"
"在哪層發出。範例: ::"

#: ../../library/io.rst:217
msgid ""
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp