diff --git a/bugs.po b/bugs.po index d5ce9aada4..9462a48f44 100644 --- a/bugs.po +++ b/bugs.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-08-04 00:16+0000\n" +"POT-Creation-Date: 2023-02-07 00:17+0000\n" "PO-Revision-Date: 2022-08-31 12:34+0800\n" "Last-Translator: Steven Hsu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -65,6 +65,14 @@ msgstr "" #: ../../bugs.rst:22 msgid "" +"You can also open a discussion item on our `Documentation Discourse forum " +"`_." +msgstr "" +"你也可以在我們的\\ `說明文件 Discourse 討論區 `_\\ " +"中新增一個討論事項。" + +#: ../../bugs.rst:25 +msgid "" "If you're short on time, you can also email documentation bug reports to " "docs@python.org (behavioral bugs can be sent to python-list@python.org). " "'docs@' is a mailing list run by volunteers; your request will be noticed, " @@ -74,26 +82,26 @@ msgstr "" "(程式碼執行的錯誤可以寄到 python-list@python.org)。「docs@」是一個由志工們" "所運行的郵寄清單;您的請求會被注意到,但可能需要一些時間才會被處理。" -#: ../../bugs.rst:30 +#: ../../bugs.rst:33 msgid "`Documentation bugs`_" msgstr "`說明文件錯誤`_" -#: ../../bugs.rst:30 +#: ../../bugs.rst:33 msgid "" "A list of documentation bugs that have been submitted to the Python issue " "tracker." msgstr "一系列已被提交至 Python 問題追蹤系統的有關說明文件的錯誤。" -#: ../../bugs.rst:33 +#: ../../bugs.rst:36 msgid "`Issue Tracking `_" msgstr "`問題追蹤系統 `_" -#: ../../bugs.rst:33 +#: ../../bugs.rst:36 msgid "" "Overview of the process involved in reporting an improvement on the tracker." msgstr "在追蹤系統上回報改進建議的過程簡介。" -#: ../../bugs.rst:36 +#: ../../bugs.rst:39 msgid "" "`Helping with Documentation `_" @@ -101,19 +109,19 @@ msgstr "" "`貢獻說明文件 `_" -#: ../../bugs.rst:36 +#: ../../bugs.rst:39 msgid "" "Comprehensive guide for individuals that are interested in contributing to " "Python documentation." msgstr "給有意成為 Python 說明文件貢獻者的綜合指南。" -#: ../../bugs.rst:38 +#: ../../bugs.rst:41 msgid "" "`Documentation Translations `_" msgstr "`說明文件翻譯 `_" -#: ../../bugs.rst:39 +#: ../../bugs.rst:42 msgid "" "A list of GitHub pages for documentation translation and their primary " "contacts." @@ -121,11 +129,11 @@ msgstr "" "一份 GitHub 網頁的清單,裡面有各個說明文件翻譯團隊的連結,以及他們的主要聯絡" "人。" -#: ../../bugs.rst:45 +#: ../../bugs.rst:48 msgid "Using the Python issue tracker" msgstr "使用 Python 問題追蹤系統" -#: ../../bugs.rst:47 +#: ../../bugs.rst:50 msgid "" "Issue reports for Python itself should be submitted via the GitHub issues " "tracker (https://github.com/python/cpython/issues). The GitHub issues " @@ -136,7 +144,7 @@ msgstr "" "python/cpython/issues) 提交。這個 GitHub 問題追蹤系統提供了一個網頁表單,可以" "輸入並提交相關資訊給開發者。" -#: ../../bugs.rst:52 +#: ../../bugs.rst:55 msgid "" "The first step in filing a report is to determine whether the problem has " "already been reported. The advantage in doing so, aside from saving the " @@ -151,7 +159,7 @@ msgstr "" "本中修正了這個問題,也有可能需要更詳細的資訊(在這種情況下,如果可以,非常歡" "迎您提供資訊!)。要確認是否重複回報,請使用頁面頂端的搜尋框來搜尋追蹤系統。" -#: ../../bugs.rst:59 +#: ../../bugs.rst:62 msgid "" "If the problem you're reporting is not already in the list, log in to " "GitHub. If you don't already have a GitHub account, create a new account " @@ -161,7 +169,7 @@ msgstr "" "如果您想回報的問題還沒有在問題列表出現過,請登入 GitHub。如果您還沒有 GitHub " "帳戶,請點選「Sign up」連結來建立一個新的帳戶。您無法以匿名方式提交錯誤報告。" -#: ../../bugs.rst:64 +#: ../../bugs.rst:67 msgid "" "Being now logged in, you can submit an issue. Click on the \"New issue\" " "button in the top bar to report a new issue." @@ -169,18 +177,18 @@ msgstr "" "如果已經登入,那您就可以提交問題了。請點選列表頂端區域的「New issue」按鈕,來" "回報一個新的問題。" -#: ../../bugs.rst:67 +#: ../../bugs.rst:70 msgid "The submission form has two fields, \"Title\" and \"Comment\"." msgstr "提交的表單中有兩個欄位,「Title」及「Comment」。" -#: ../../bugs.rst:69 +#: ../../bugs.rst:72 msgid "" "For the \"Title\" field, enter a *very* short description of the problem; " "less than ten words is good." msgstr "" "在「Title」欄位,輸入對該問題\\ *非常*\\ 簡短的描述;最好少於十個單字。" -#: ../../bugs.rst:72 +#: ../../bugs.rst:75 msgid "" "In the \"Comment\" field, describe the problem in detail, including what you " "expected to happen and what did happen. Be sure to include whether any " @@ -191,7 +199,7 @@ msgstr "" "確定說明中包含了涉及到的任何擴充模組,以及您當時所使用的硬體和軟體平台(視情" "況而定,可以附上版本資訊)。" -#: ../../bugs.rst:77 +#: ../../bugs.rst:80 msgid "" "Each issue report will be reviewed by a developer who will determine what " "needs to be done to correct the problem. You will receive an update each " @@ -200,7 +208,7 @@ msgstr "" "每一份問題報告都會被一位開發人員查核,並由他決定要做出什麼變更來修正這個問" "題。每當該問題有修正動作時,您會收到更新回報。" -#: ../../bugs.rst:86 +#: ../../bugs.rst:89 msgid "" "`How to Report Bugs Effectively `_" @@ -208,7 +216,7 @@ msgstr "" "`如何有效地回報錯誤 `_" -#: ../../bugs.rst:85 +#: ../../bugs.rst:88 msgid "" "Article which goes into some detail about how to create a useful bug report. " "This describes what kind of information is useful and why it is useful." @@ -216,14 +224,14 @@ msgstr "" "這篇文章詳細說明如何建立一份有用的錯誤報告。它描述了什麼樣的資訊是有用的,以" "及這些資訊為什麼有用。" -#: ../../bugs.rst:89 +#: ../../bugs.rst:92 msgid "" "`Bug Writing Guidelines `_" msgstr "" "`錯誤撰寫指南 `_" -#: ../../bugs.rst:89 +#: ../../bugs.rst:92 msgid "" "Information about writing a good bug report. Some of this is specific to " "the Mozilla project, but describes general good practices." @@ -231,11 +239,11 @@ msgstr "" "撰寫一份優良錯誤報告的相關資訊。部分的文章內容是針對 Mozilla 專案,但它也描述" "了通用的好習慣。" -#: ../../bugs.rst:95 +#: ../../bugs.rst:98 msgid "Getting started contributing to Python yourself" msgstr "開始讓自己貢獻 Python" -#: ../../bugs.rst:97 +#: ../../bugs.rst:100 msgid "" "Beyond just reporting bugs that you find, you are also welcome to submit " "patches to fix them. You can find more information on how to get started " diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 5a9b93c345..2066a938c9 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 14:05+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -235,7 +235,7 @@ msgstr "" #: ../../c-api/exceptions.rst:200 ../../c-api/exceptions.rst:208 #: ../../c-api/exceptions.rst:217 ../../c-api/exceptions.rst:225 -#: ../../c-api/exceptions.rst:234 ../../c-api/exceptions.rst:243 +#: ../../c-api/exceptions.rst:233 ../../c-api/exceptions.rst:243 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" @@ -763,8 +763,8 @@ msgstr "" #: ../../c-api/exceptions.rst:735 msgid "" -"Get the *start* attribute of the given exception object and place it into *" -"\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` " +"Get the *start* attribute of the given exception object and place it into " +"*\\*start*. *start* must not be ``NULL``. Return ``0`` on success, ``-1`` " "on failure." msgstr "" @@ -776,8 +776,8 @@ msgstr "" #: ../../c-api/exceptions.rst:750 msgid "" -"Get the *end* attribute of the given exception object and place it into *" -"\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on " +"Get the *end* attribute of the given exception object and place it into " +"*\\*end*. *end* must not be ``NULL``. Return ``0`` on success, ``-1`` on " "failure." msgstr "" diff --git a/includes/wasm-notavail.po b/includes/wasm-notavail.po index 99bfe4fbb7..6118e53641 100644 --- a/includes/wasm-notavail.po +++ b/includes/wasm-notavail.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-10-16 07:40+0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.1.1\n" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/_thread.po b/library/_thread.po index 7294764fc7..139484cbee 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2015-12-09 17:51+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -140,7 +140,7 @@ msgid "" "after which the value may be recycled by the OS)." msgstr "" -#: ../../library/_thread.rst:122 +#: ../../library/_thread.rst:121 msgid "" ":ref:`Availability `: Windows, FreeBSD, Linux, macOS, OpenBSD, " "NetBSD, AIX." @@ -165,7 +165,7 @@ msgid "" "information)." msgstr "" -#: ../../library/_thread.rst:-1 +#: ../../library/_thread.rst:143 msgid ":ref:`Availability `: Windows, pthreads." msgstr ":ref:`適用 `:Windows, pthreads。" diff --git a/library/asynchat.po b/library/asynchat.po index 91a4fdc536..82c9c94611 100644 --- a/library/asynchat.po +++ b/library/asynchat.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-10-16 04:51+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -56,7 +56,7 @@ msgid "" "connection requests." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 7d51719a36..2d83b9cd37 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-11 00:15+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-02-20 12:36+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -849,8 +849,8 @@ msgid "" "information about arguments to this method." msgstr "" -#: ../../library/asyncio-eventloop.rst:630 -#: ../../library/asyncio-eventloop.rst:770 +#: ../../library/asyncio-eventloop.rst:629 +#: ../../library/asyncio-eventloop.rst:769 #: ../../library/asyncio-eventloop.rst:1195 msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。" @@ -2022,7 +2022,7 @@ msgstr ":ref:`適用 `:Unix、Windows。" msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)." msgstr "" -#: ../../library/asyncio-eventloop.rst:1676 +#: ../../library/asyncio-eventloop.rst:1675 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 0a4ab79f53..2dd6a164f5 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 00:16+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-10-31 16:28+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -169,6 +169,10 @@ msgstr "與 :func:`open_connection` 相似,但是是操作 Unix sockets。" msgid "See also the documentation of :meth:`loop.create_unix_connection`." msgstr "另請參閱 :meth:`loop.create_unix_connection` 文件。" +#: ../../library/asyncio-stream.rst:151 ../../library/asyncio-stream.rst:181 +msgid ":ref:`Availability `: Unix." +msgstr ":ref:`適用 `:Unix。" + #: ../../library/asyncio-stream.rst:153 msgid "" "Added the *ssl_handshake_timeout* parameter. The *path* parameter can now be " @@ -189,10 +193,6 @@ msgstr "與 :func:`start_server` 相似,但會是操作 Unix sockets。" msgid "See also the documentation of :meth:`loop.create_unix_server`." msgstr "另請參閱 :meth:`loop.create_unix_server` 文件。" -#: ../../library/asyncio-stream.rst:182 -msgid ":ref:`Availability `: Unix." -msgstr ":ref:`適用 `:Unix。" - #: ../../library/asyncio-stream.rst:183 msgid "" "Added the *ssl_handshake_timeout* and *start_serving* parameters. The *path* " @@ -440,8 +440,8 @@ msgid "" "is closed, ensuring that all data has been flushed before e.g. exiting the " "program." msgstr "" -"應當在 :meth:`close` 之後才被呼叫,這會持續等待直到底層的連線被關閉," -"以確保在這之前(例如在程式退出前)所有資料都已經被清空" +"應當在 :meth:`close` 之後才被呼叫,這會持續等待直到底層的連線被關閉,以確保在" +"這之前(例如在程式退出前)所有資料都已經被清空" #: ../../library/asyncio-stream.rst:375 msgid "Examples" diff --git a/library/asyncio-task.po b/library/asyncio-task.po index cc633d8410..dda93e5b21 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-26 00:17+0000\n" +"POT-Creation-Date: 2023-02-09 00:17+0000\n" "PO-Revision-Date: 2018-05-23 14:39+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1078,7 +1078,7 @@ msgstr "" #: ../../library/asyncio-task.rst:1099 msgid "" "The *file* argument is an I/O stream to which the output is written; by " -"default output is written to :data:`sys.stderr`." +"default output is written to :data:`sys.stdout`." msgstr "" #: ../../library/asyncio-task.rst:1104 diff --git a/library/asyncio.po b/library/asyncio.po index 0fe99e3238..fa4a29927c 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-23 14:56+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2021-11-23 12:40+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -130,7 +130,7 @@ msgstr "" msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:" msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/asyncore.po b/library/asyncore.po index dcbd34afcc..a41d0c8ec2 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-10-16 04:57+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -47,7 +47,7 @@ msgid "" "socket service clients and servers." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/cgi.po b/library/cgi.po index 146654af8f..0cb38fc650 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-05-22 02:01+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -62,7 +62,7 @@ msgid "" "of this variable is ``0``, meaning the request size is unlimited." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/codecs.po b/library/codecs.po index b88926545d..c11b4cb713 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 14:40+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -423,10 +423,10 @@ msgstr "``'surrogateescape'``" #: ../../library/codecs.rst:354 msgid "" -"On decoding, replace byte with individual surrogate code ranging from ``U" -"+DC80`` to ``U+DCFF``. This code will then be turned back into the same byte " -"when the ``'surrogateescape'`` error handler is used when encoding the data. " -"(See :pep:`383` for more.)" +"On decoding, replace byte with individual surrogate code ranging from " +"``U+DC80`` to ``U+DCFF``. This code will then be turned back into the same " +"byte when the ``'surrogateescape'`` error handler is used when encoding the " +"data. (See :pep:`383` for more.)" msgstr "" #: ../../library/codecs.rst:368 @@ -591,8 +591,8 @@ msgstr "" #: ../../library/codecs.rst:479 msgid "" "Malformed data is replaced by a backslashed escape sequence. On encoding, " -"use the hexadecimal form of Unicode code point with formats ``\\xhh`` ``" -"\\uxxxx`` ``\\Uxxxxxxxx``. On decoding, use the hexadecimal form of byte " +"use the hexadecimal form of Unicode code point with formats ``\\xhh`` " +"``\\uxxxx`` ``\\Uxxxxxxxx``. On decoding, use the hexadecimal form of byte " "value with format ``\\xhh``." msgstr "" @@ -1151,8 +1151,8 @@ msgstr "" #: ../../library/codecs.rst:923 msgid "" -"Strings are stored internally as sequences of code points in range ``U" -"+0000``--``U+10FFFF``. (See :pep:`393` for more details about the " +"Strings are stored internally as sequences of code points in range " +"``U+0000``--``U+10FFFF``. (See :pep:`393` for more details about the " "implementation.) Once a string object is used outside of CPU and memory, " "endianness and how these arrays are stored as bytes become an issue. As with " "other codecs, serialising a string into a sequence of bytes is known as " @@ -2654,7 +2654,7 @@ msgstr "" msgid "This module implements the ANSI codepage (CP_ACP)." msgstr "" -#: ../../library/codecs.rst:1535 +#: ../../library/codecs.rst:1534 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" diff --git a/library/compileall.po b/library/compileall.po index 7c40681b5e..ac1d0cf2fe 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-25 00:16+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 14:41+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -35,7 +35,7 @@ msgid "" "don't have write permission to the library directories." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index efca27d7e7..7866d13b98 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 14:41+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -44,7 +44,7 @@ msgid "" "by the abstract :class:`Executor` class." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/crypt.po b/library/crypt.po index bcea088d03..40fc66a23f 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 14:42+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -50,11 +50,11 @@ msgid "" "be available on this module." msgstr "" -#: ../../library/crypt.rst:40 +#: ../../library/crypt.rst:39 msgid ":ref:`Availability `: Unix, not VxWorks." msgstr ":ref:`適用 `:Unix,非 VxWorks。" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -142,11 +142,11 @@ msgstr "" #: ../../library/crypt.rst:109 msgid "" -"*salt* (either a random 2 or 16 character string, possibly prefixed with ``" -"$digit$`` to indicate the method) which will be used to perturb the " +"*salt* (either a random 2 or 16 character string, possibly prefixed with " +"``$digit$`` to indicate the method) which will be used to perturb the " "encryption algorithm. The characters in *salt* must be in the set ``[./a-zA-" -"Z0-9]``, with the exception of Modular Crypt Format which prefixes a ``$digit" -"$``." +"Z0-9]``, with the exception of Modular Crypt Format which prefixes a " +"``$digit$``." msgstr "" #: ../../library/crypt.rst:115 diff --git a/library/ensurepip.po b/library/ensurepip.po index 02191ec7f4..e2ec7070a2 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-26 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:01+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -66,7 +66,7 @@ msgstr "" msgid "The original rationale and specification for this module." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/errno.po b/library/errno.po index fccb5e3bba..8cf3b06e9b 100644 --- a/library/errno.po +++ b/library/errno.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2015-12-09 17:51+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -583,6 +583,6 @@ msgid "" "`PermissionError`." msgstr "" -#: ../../library/errno.rst:667 +#: ../../library/errno.rst:666 msgid ":ref:`Availability `: WASI, FreeBSD" msgstr ":ref:`適用 `:WASI, FreeBSD" diff --git a/library/fcntl.po b/library/fcntl.po index 5a3f9f78a7..b4380c79e5 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2017-09-22 18:26+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -30,7 +30,7 @@ msgid "" "`ioctl(2)` Unix manual pages." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/ftplib.po b/library/ftplib.po index 09e81aa4b1..c27f54b035 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:02+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -40,7 +40,7 @@ msgstr "" msgid "The default encoding is UTF-8, following :rfc:`2640`." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/getpass.po b/library/getpass.po index 92fae955ba..1acfcd01b2 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-02-11 12:04+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -27,7 +27,7 @@ msgstr ":mod:`getpass` --- 可攜式密碼輸入工具" msgid "**Source code:** :source:`Lib/getpass.py`" msgstr "**原始碼:**\\ :source:`Lib/getpass.py`" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -54,8 +54,8 @@ msgstr "" "提示使用者輸入一個密碼且不會有回音 (echo)。使用者會看到字串 *prompt* 作為提" "示,其預設值為 ``'Password: '``。在 Unix 上,如有必要的話會使用替換錯誤處理函" "式 (replace error handler) 寫入到類檔案物件 (file-like object) *stream*\\ " -"中。\\ *stream* 預設為主控終端機 (controlling terminal) (\\ :file:`/dev/tty`" -"\\ ),如果不可用則為 ``sys.stderr`` (此引數在 Windows 上會被忽略)。" +"中。\\ *stream* 預設為主控終端機 (controlling terminal) (\\ :file:`/dev/" +"tty`\\ ),如果不可用則為 ``sys.stderr`` (此引數在 Windows 上會被忽略)。" #: ../../library/getpass.rst:28 msgid "" @@ -64,8 +64,8 @@ msgid "" "`GetPassWarning`." msgstr "" "如果無回音輸入 (echo-free input) 無法使用則 getpass() 將回退為印出一條警告訊" -"息到 *stream*\\ ,並從 ``sys.stdin`` 讀取且同時發出 :exc:`GetPassWarning`" -"\\ 。" +"息到 *stream*\\ ,並從 ``sys.stdin`` 讀取且同時發出 :exc:" +"`GetPassWarning`\\ 。" #: ../../library/getpass.rst:33 msgid "" diff --git a/library/grp.po b/library/grp.po index 1a7cd5661f..ffed750cbc 100644 --- a/library/grp.po +++ b/library/grp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:02+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -28,7 +28,7 @@ msgid "" "all Unix versions." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/http.client.po b/library/http.client.po index 190c7ef32c..ace2170f29 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:03+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -45,7 +45,7 @@ msgid "" "(through the :mod:`ssl` module)." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/http.server.po b/library/http.server.po index d2bababb33..72d6c2e9ea 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-07 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:03+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -36,7 +36,7 @@ msgid "" "ref:`basic security checks `." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/imaplib.po b/library/imaplib.po index f01db88762..60c90ab635 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:04+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -35,7 +35,7 @@ msgid "" "that the ``STATUS`` command is not supported in IMAP4." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/importlib.po b/library/importlib.po index c1eb54be64..c00c95f5ee 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-11 06:38+0000\n" "PO-Revision-Date: 2018-05-23 16:04+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1702,7 +1702,7 @@ msgstr "" #: ../../library/importlib.rst:1465 msgid "" -"A static method which returns a callable that creates a lazy loader. This is " +"A class method which returns a callable that creates a lazy loader. This is " "meant to be used in situations where the loader is passed by class instead " "of by instance. ::" msgstr "" diff --git a/library/mimetypes.po b/library/mimetypes.po index 81d8a06aa8..e082b99fa1 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-20 18:08+0800\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2016-11-19 00:32+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -312,6 +312,6 @@ msgstr "" msgid "Load MIME type information from the Windows registry." msgstr "" -#: ../../library/mimetypes.rst:270 +#: ../../library/mimetypes.rst:269 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" diff --git a/library/mmap.po b/library/mmap.po index 1e07afcbe8..647c6477f2 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:06+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -22,7 +22,7 @@ msgstr "" msgid ":mod:`mmap` --- Memory-mapped file support" msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 097cdf7f2d..1136f8d4a4 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-28 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:06+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -26,7 +26,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/multiprocessing/`" msgstr "**原始碼:**\\ :source:`Lib/multiprocessing/`" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/nis.po b/library/nis.po index 133bbe4cf6..1cd0a75d6d 100644 --- a/library/nis.po +++ b/library/nis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2016-11-19 00:32+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -41,7 +41,7 @@ msgid "" "Unix." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/nntplib.po b/library/nntplib.po index d29bd31401..a91a96cc3b 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:06+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -38,7 +38,7 @@ msgid "" "`3977` as well as the older :rfc:`977` and :rfc:`2980`." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/os.path.po b/library/os.path.po index 1fbdb49d10..90d6e1663f 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 00:19+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:07+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -124,9 +124,9 @@ msgid "" "empty. Unlike :func:`commonprefix`, this returns a valid path." msgstr "" -#: ../../library/os.path.rst:89 ../../library/os.path.rst:389 -#: ../../library/os.path.rst:401 ../../library/os.path.rst:417 -#: ../../library/os.path.rst:433 +#: ../../library/os.path.rst:88 ../../library/os.path.rst:388 +#: ../../library/os.path.rst:400 ../../library/os.path.rst:416 +#: ../../library/os.path.rst:432 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`適用 `:Unix、Windows。" diff --git a/library/os.po b/library/os.po index d474aaf534..bab3ea2ef3 100644 --- a/library/os.po +++ b/library/os.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-10 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-10-16 08:11+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -286,19 +286,19 @@ msgid "" msgstr "" #: ../../library/os.rst:181 ../../library/os.rst:353 ../../library/os.rst:362 -#: ../../library/os.rst:385 ../../library/os.rst:394 ../../library/os.rst:429 -#: ../../library/os.rst:437 ../../library/os.rst:476 ../../library/os.rst:487 -#: ../../library/os.rst:497 ../../library/os.rst:507 ../../library/os.rst:530 +#: ../../library/os.rst:384 ../../library/os.rst:393 ../../library/os.rst:429 +#: ../../library/os.rst:437 ../../library/os.rst:475 ../../library/os.rst:486 +#: ../../library/os.rst:496 ../../library/os.rst:506 ../../library/os.rst:529 #: ../../library/os.rst:563 ../../library/os.rst:570 ../../library/os.rst:577 -#: ../../library/os.rst:587 ../../library/os.rst:598 ../../library/os.rst:607 -#: ../../library/os.rst:625 ../../library/os.rst:633 ../../library/os.rst:641 -#: ../../library/os.rst:650 ../../library/os.rst:658 ../../library/os.rst:665 -#: ../../library/os.rst:672 ../../library/os.rst:681 ../../library/os.rst:1047 -#: ../../library/os.rst:1191 ../../library/os.rst:1217 -#: ../../library/os.rst:1454 ../../library/os.rst:1489 -#: ../../library/os.rst:1498 ../../library/os.rst:1862 -#: ../../library/os.rst:1951 ../../library/os.rst:1991 -#: ../../library/os.rst:2208 ../../library/os.rst:2230 +#: ../../library/os.rst:586 ../../library/os.rst:598 ../../library/os.rst:607 +#: ../../library/os.rst:624 ../../library/os.rst:633 ../../library/os.rst:640 +#: ../../library/os.rst:649 ../../library/os.rst:658 ../../library/os.rst:665 +#: ../../library/os.rst:672 ../../library/os.rst:681 ../../library/os.rst:1046 +#: ../../library/os.rst:1190 ../../library/os.rst:1216 +#: ../../library/os.rst:1453 ../../library/os.rst:1488 +#: ../../library/os.rst:1497 ../../library/os.rst:1861 +#: ../../library/os.rst:1950 ../../library/os.rst:1990 +#: ../../library/os.rst:2207 ../../library/os.rst:2229 #: ../../library/os.rst:3757 ../../library/os.rst:3764 #: ../../library/os.rst:3771 ../../library/os.rst:3778 #: ../../library/os.rst:3785 ../../library/os.rst:3792 @@ -310,13 +310,13 @@ msgstr "" #: ../../library/os.rst:3889 ../../library/os.rst:3906 #: ../../library/os.rst:3946 ../../library/os.rst:3953 #: ../../library/os.rst:3974 ../../library/os.rst:4101 -#: ../../library/os.rst:4151 ../../library/os.rst:4388 -#: ../../library/os.rst:4422 ../../library/os.rst:4479 -#: ../../library/os.rst:4493 ../../library/os.rst:4511 -#: ../../library/os.rst:4525 ../../library/os.rst:4537 -#: ../../library/os.rst:4549 ../../library/os.rst:4561 +#: ../../library/os.rst:4150 ../../library/os.rst:4387 +#: ../../library/os.rst:4421 ../../library/os.rst:4479 +#: ../../library/os.rst:4493 ../../library/os.rst:4510 +#: ../../library/os.rst:4525 ../../library/os.rst:4536 +#: ../../library/os.rst:4548 ../../library/os.rst:4561 #: ../../library/os.rst:4570 ../../library/os.rst:4580 -#: ../../library/os.rst:4594 ../../library/os.rst:4644 +#: ../../library/os.rst:4593 ../../library/os.rst:4644 #: ../../library/os.rst:4655 ../../library/os.rst:4667 #: ../../library/os.rst:4674 ../../library/os.rst:4683 #: ../../library/os.rst:4692 ../../library/os.rst:4701 @@ -469,12 +469,12 @@ msgid "" "like to use a different encoding." msgstr "" -#: ../../library/os.rst:-1 ../../library/os.rst:317 ../../library/os.rst:975 -#: ../../library/os.rst:987 ../../library/os.rst:1203 ../../library/os.rst:1637 -#: ../../library/os.rst:2035 ../../library/os.rst:2308 -#: ../../library/os.rst:3135 ../../library/os.rst:3749 -#: ../../library/os.rst:4238 ../../library/os.rst:4249 -#: ../../library/os.rst:4367 +#: ../../library/os.rst:317 ../../library/os.rst:975 ../../library/os.rst:986 +#: ../../library/os.rst:1202 ../../library/os.rst:1637 +#: ../../library/os.rst:2034 ../../library/os.rst:2307 +#: ../../library/os.rst:3097 ../../library/os.rst:3134 +#: ../../library/os.rst:3749 ../../library/os.rst:4238 +#: ../../library/os.rst:4249 ../../library/os.rst:4366 #, fuzzy msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`適用 `:Unix、Windows。" @@ -494,19 +494,21 @@ msgid "" "``True``." msgstr "" -#: ../../library/os.rst:-1 ../../library/os.rst:333 ../../library/os.rst:734 -#: ../../library/os.rst:920 ../../library/os.rst:942 ../../library/os.rst:963 -#: ../../library/os.rst:1024 ../../library/os.rst:1036 -#: ../../library/os.rst:1242 ../../library/os.rst:1257 -#: ../../library/os.rst:1270 ../../library/os.rst:1339 -#: ../../library/os.rst:1549 ../../library/os.rst:1575 -#: ../../library/os.rst:1611 ../../library/os.rst:1964 -#: ../../library/os.rst:2006 ../../library/os.rst:2019 -#: ../../library/os.rst:2274 ../../library/os.rst:2285 -#: ../../library/os.rst:2964 ../../library/os.rst:3121 -#: ../../library/os.rst:3354 ../../library/os.rst:4856 +#: ../../library/os.rst:332 ../../library/os.rst:371 ../../library/os.rst:517 +#: ../../library/os.rst:733 ../../library/os.rst:893 ../../library/os.rst:908 +#: ../../library/os.rst:919 ../../library/os.rst:942 ../../library/os.rst:963 +#: ../../library/os.rst:999 ../../library/os.rst:1023 ../../library/os.rst:1035 +#: ../../library/os.rst:1241 ../../library/os.rst:1256 +#: ../../library/os.rst:1269 ../../library/os.rst:1338 +#: ../../library/os.rst:1473 ../../library/os.rst:1548 +#: ../../library/os.rst:1575 ../../library/os.rst:1610 +#: ../../library/os.rst:1933 ../../library/os.rst:1964 +#: ../../library/os.rst:2005 ../../library/os.rst:2018 +#: ../../library/os.rst:2273 ../../library/os.rst:2285 +#: ../../library/os.rst:2963 ../../library/os.rst:3120 +#: ../../library/os.rst:3353 ../../library/os.rst:4856 #: ../../library/os.rst:4865 ../../library/os.rst:4886 -#: ../../library/os.rst:4896 ../../library/os.rst:4906 +#: ../../library/os.rst:4896 ../../library/os.rst:4905 #, fuzzy msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。" @@ -579,10 +581,10 @@ msgid "" "getpwuid(os.getuid())[0]`` to get the login name of the current real user id." msgstr "" -#: ../../library/os.rst:-1 ../../library/os.rst:421 ../../library/os.rst:458 -#: ../../library/os.rst:3715 ../../library/os.rst:3931 -#: ../../library/os.rst:4343 ../../library/os.rst:4460 -#: ../../library/os.rst:4629 +#: ../../library/os.rst:421 ../../library/os.rst:457 ../../library/os.rst:3714 +#: ../../library/os.rst:3930 ../../library/os.rst:4219 +#: ../../library/os.rst:4343 ../../library/os.rst:4459 +#: ../../library/os.rst:4628 #, fuzzy msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." @@ -947,7 +949,7 @@ msgid "" "amount requested." msgstr "" -#: ../../library/os.rst:838 +#: ../../library/os.rst:837 msgid ":ref:`Availability `: Linux >= 4.5 with glibc >= 2.27." msgstr ":ref:`適用 `:Linux 4.5 以上且具有 glibc 2.27 以上。" @@ -979,7 +981,7 @@ msgid "" "stderr), the new file descriptor is :ref:`inheritable `." msgstr "" -#: ../../library/os.rst:864 ../../library/os.rst:877 +#: ../../library/os.rst:863 ../../library/os.rst:876 msgid ":ref:`Availability `: not WASI." msgstr ":ref:`適用 `:非 WASI。" @@ -1335,7 +1337,7 @@ msgid "" "starting from *offset* and continuing for *len* bytes." msgstr "" -#: ../../library/os.rst:1227 +#: ../../library/os.rst:1226 msgid ":ref:`Availability `: Unix, not Emscripten." msgstr ":ref:`適用 `:Unix、非 Emscripten。" @@ -1407,7 +1409,7 @@ msgstr "" msgid "Combine the functionality of :func:`os.readv` and :func:`os.pread`." msgstr "" -#: ../../library/os.rst:-1 +#: ../../library/os.rst:1295 ../../library/os.rst:1365 #, fuzzy msgid "" ":ref:`Availability `: Linux >= 2.6.30, FreeBSD >= 6.0, OpenBSD " @@ -1434,7 +1436,7 @@ msgid "" "EAGAIN`." msgstr "" -#: ../../library/os.rst:1313 +#: ../../library/os.rst:1312 msgid ":ref:`Availability `: Linux >= 4.14." msgstr ":ref:`適用 `:Linux 4.14 以上。" @@ -1450,7 +1452,7 @@ msgid "" "using the :data:`O_DIRECT` flag." msgstr "" -#: ../../library/os.rst:1327 +#: ../../library/os.rst:1326 msgid ":ref:`Availability `: Linux >= 4.6." msgstr ":ref:`適用 `:Linux 4.6 以上。" @@ -1499,7 +1501,7 @@ msgid "" "This flag effect applies only to the data range written by the system call." msgstr "" -#: ../../library/os.rst:1378 ../../library/os.rst:1388 +#: ../../library/os.rst:1377 ../../library/os.rst:1387 msgid ":ref:`Availability `: Linux >= 4.7." msgstr ":ref:`適用 `:Linux 4.7 以上。" @@ -1519,7 +1521,7 @@ msgid "" "*offset* is updated." msgstr "" -#: ../../library/os.rst:1402 +#: ../../library/os.rst:1401 msgid ":ref:`Availability `: Linux >= 4.16." msgstr ":ref:`適用 `:Linux 4.16 以上。" @@ -1636,7 +1638,7 @@ msgid "" "the pipe." msgstr "" -#: ../../library/os.rst:1525 +#: ../../library/os.rst:1524 msgid ":ref:`Availability `: Linux >= 2.6.17 with glibc >= 2.5" msgstr ":ref:`適用 `:Linux 2.6.17 以上且具有 glibc 2.5 以上" @@ -1786,8 +1788,8 @@ msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" #: ../../library/os.rst:1689 ../../library/os.rst:1695 -#: ../../library/os.rst:3647 ../../library/os.rst:4261 -#: ../../library/os.rst:4307 +#: ../../library/os.rst:3646 ../../library/os.rst:4261 +#: ../../library/os.rst:4306 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" @@ -3651,7 +3653,7 @@ msgid "" "side effects." msgstr "" -#: ../../library/os.rst:3379 +#: ../../library/os.rst:3378 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27." msgstr ":ref:`適用 `:Linux 3.17 以上且具有 glibc 2.27 以上。" @@ -3659,7 +3661,7 @@ msgstr ":ref:`適用 `:Linux 3.17 以上且具有 glibc 2.27 以 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: ../../library/os.rst:-1 +#: ../../library/os.rst:3403 #, fuzzy msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27" msgstr ":ref:`適用 `:Linux 3.17 以上且具有 glibc 2.27 以上" @@ -3717,7 +3719,7 @@ msgid "" "`64`\\ -\\ 2." msgstr "" -#: ../../library/os.rst:3458 +#: ../../library/os.rst:3457 msgid ":ref:`Availability `: Linux >= 2.6.27 with glibc >= 2.8" msgstr ":ref:`適用 `:Linux 2.6.27 以上且具有 glibc 2.8 以上" @@ -3727,8 +3729,8 @@ msgid "" "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: ../../library/os.rst:3467 ../../library/os.rst:3476 -#: ../../library/os.rst:3484 ../../library/os.rst:3493 +#: ../../library/os.rst:3466 ../../library/os.rst:3475 +#: ../../library/os.rst:3483 ../../library/os.rst:3492 msgid ":ref:`Availability `: Linux >= 2.6.27" msgstr ":ref:`適用 `:Linux 2.6.27 以上" @@ -3753,7 +3755,7 @@ msgid "" "descriptor. On read the internal counter is decremented by one." msgstr "" -#: ../../library/os.rst:3502 +#: ../../library/os.rst:3501 msgid ":ref:`Availability `: Linux >= 2.6.30" msgstr ":ref:`適用 `:Linux 2.6.30 以上" @@ -4261,7 +4263,7 @@ msgid "" "subprocesses." msgstr "" -#: ../../library/os.rst:4007 +#: ../../library/os.rst:4006 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr ":ref:`適用 `:非 Emscripten、非 WASI。" @@ -4412,7 +4414,7 @@ msgid "" "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: ../../library/os.rst:-1 +#: ../../library/os.rst:4117 #, fuzzy msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." msgstr ":ref:`適用 `:POSIX、非 Emscripten、非 WASI。" @@ -5433,7 +5435,7 @@ msgid "" "pages/man2/getrandom.2.html>`_." msgstr "" -#: ../../library/os.rst:5029 +#: ../../library/os.rst:5028 msgid ":ref:`Availability `: Linux >= 3.17." msgstr ":ref:`適用 `:Linux 3.17 以上。" diff --git a/library/pipes.po b/library/pipes.po index efce40fb9e..966c3bd3bb 100644 --- a/library/pipes.po +++ b/library/pipes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-05-22 02:11+0800\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -47,7 +47,7 @@ msgid "" "compatible shell for :func:`os.system` and :func:`os.popen` is required." msgstr "" -#: ../../library/pipes.rst:27 +#: ../../library/pipes.rst:26 msgid ":ref:`Availability `: Unix, not VxWorks." msgstr ":ref:`適用 `:Unix,非 VxWorks。" diff --git a/library/poplib.po b/library/poplib.po index a04c8a513d..a26c60bf93 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:08+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -51,7 +51,7 @@ msgid "" "IMAP4` class, as IMAP servers tend to be better implemented." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/pwd.po b/library/pwd.po index 8315de19bb..51c3c93054 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2017-09-22 18:27+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -28,7 +28,7 @@ msgid "" "It is available on all Unix versions." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/resource.po b/library/resource.po index 259ce31fe9..575eb8be6c 100644 --- a/library/resource.po +++ b/library/resource.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:09+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -28,7 +28,7 @@ msgid "" "resources utilized by a program." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -156,7 +156,7 @@ msgid "" "arguments ``pid``, ``resource``, ``limits``." msgstr "" -#: ../../library/resource.rst:105 +#: ../../library/resource.rst:104 msgid ":ref:`Availability `: Linux >= 2.6.36 with glibc >= 2.13." msgstr ":ref:`適用 `:Linux 2.6.36 以上且具有 glibc 2.13 以上。" @@ -240,7 +240,7 @@ msgstr "" msgid "The number of bytes that can be allocated for POSIX message queues." msgstr "" -#: ../../library/resource.rst:191 ../../library/resource.rst:228 +#: ../../library/resource.rst:190 ../../library/resource.rst:227 msgid ":ref:`Availability `: Linux >= 2.6.8." msgstr ":ref:`適用 `:Linux 2.6.8 以上。" @@ -248,7 +248,7 @@ msgstr ":ref:`適用 `:Linux 2.6.8 以上。" msgid "The ceiling for the process's nice level (calculated as 20 - rlim_cur)." msgstr "" -#: ../../library/resource.rst:200 ../../library/resource.rst:209 +#: ../../library/resource.rst:199 ../../library/resource.rst:208 msgid ":ref:`Availability `: Linux >= 2.6.12." msgstr ":ref:`適用 `:Linux 2.6.12 以上。" @@ -262,7 +262,7 @@ msgid "" "real-time scheduling without making a blocking syscall." msgstr "" -#: ../../library/resource.rst:219 +#: ../../library/resource.rst:218 msgid ":ref:`Availability `: Linux >= 2.6.25." msgstr ":ref:`適用 `:Linux 2.6.25 以上。" @@ -277,8 +277,8 @@ msgid "" "this user may hold at any time." msgstr "" -#: ../../library/resource.rst:238 ../../library/resource.rst:251 -#: ../../library/resource.rst:259 +#: ../../library/resource.rst:237 ../../library/resource.rst:250 +#: ../../library/resource.rst:258 msgid ":ref:`Availability `: FreeBSD." msgstr ":ref:`適用 `:FreeBSD。" @@ -299,7 +299,7 @@ msgstr "" msgid "The maximum number of kqueues this user id is allowed to create." msgstr "" -#: ../../library/resource.rst:267 +#: ../../library/resource.rst:266 msgid ":ref:`Availability `: FreeBSD >= 11." msgstr ":ref:`適用 `:FreeBSD 11 以上。" diff --git a/library/select.po b/library/select.po index 664f3b6ddd..36f1ce589a 100644 --- a/library/select.po +++ b/library/select.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:09+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -41,7 +41,7 @@ msgid "" "precise control over the OS-level primitives used." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -235,7 +235,7 @@ msgstr "" msgid "This value is guaranteed by POSIX to be at least 512." msgstr "" -#: ../../library/select.rst:178 +#: ../../library/select.rst:177 msgid ":ref:`Availability `: Unix" msgstr ":ref:`適用 `:Unix。" diff --git a/library/selectors.po b/library/selectors.po index 14c6cdaf7f..c8cb992f52 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:09+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -70,7 +70,7 @@ msgstr ":mod:`select`" msgid "Low-level I/O multiplexing module." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/shutil.po b/library/shutil.po index 448f858a87..e60e59db89 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -521,7 +521,7 @@ msgid "" "``path``, ``user``, ``group``." msgstr "" -#: ../../library/shutil.rst:415 +#: ../../library/shutil.rst:414 msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。" @@ -654,9 +654,9 @@ msgstr "" #: ../../library/shutil.rst:544 msgid "" "*base_name* is the name of the file to create, including the path, minus any " -"format-specific extension. *format* is the archive format: one of \"zip" -"\" (if the :mod:`zlib` module is available), \"tar\", \"gztar\" (if the :mod:" -"`zlib` module is available), \"bztar\" (if the :mod:`bz2` module is " +"format-specific extension. *format* is the archive format: one of " +"\"zip\" (if the :mod:`zlib` module is available), \"tar\", \"gztar\" (if " +"the :mod:`zlib` module is available), \"bztar\" (if the :mod:`bz2` module is " "available), or \"xztar\" (if the :mod:`lzma` module is available)." msgstr "" @@ -804,8 +804,8 @@ msgstr "" #: ../../library/shutil.rst:636 msgid "" -"*format* is the archive format: one of \"zip\", \"tar\", \"gztar\", \"bztar" -"\", or \"xztar\". Or any other format registered with :func:" +"*format* is the archive format: one of \"zip\", \"tar\", \"gztar\", " +"\"bztar\", or \"xztar\". Or any other format registered with :func:" "`register_unpack_format`. If not provided, :func:`unpack_archive` will use " "the archive file name extension and see if an unpacker was registered for " "that extension. In case none is found, a :exc:`ValueError` is raised." diff --git a/library/signal.po b/library/signal.po index e21b977b5a..80c9ddb4d7 100644 --- a/library/signal.po +++ b/library/signal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-26 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -152,13 +152,17 @@ msgid "" "`SIG_UNBLOCK` and :const:`SIG_SETMASK`." msgstr "" -#: ../../library/signal.rst:-1 ../../library/signal.rst:136 +#: ../../library/signal.rst:103 ../../library/signal.rst:136 #: ../../library/signal.rst:148 ../../library/signal.rst:154 #: ../../library/signal.rst:164 ../../library/signal.rst:178 #: ../../library/signal.rst:196 ../../library/signal.rst:204 #: ../../library/signal.rst:230 ../../library/signal.rst:236 -#: ../../library/signal.rst:242 ../../library/signal.rst:499 -#: ../../library/signal.rst:506 +#: ../../library/signal.rst:242 ../../library/signal.rst:349 +#: ../../library/signal.rst:388 ../../library/signal.rst:435 +#: ../../library/signal.rst:469 ../../library/signal.rst:499 +#: ../../library/signal.rst:506 ../../library/signal.rst:559 +#: ../../library/signal.rst:601 ../../library/signal.rst:616 +#: ../../library/signal.rst:642 ../../library/signal.rst:662 msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。" @@ -200,8 +204,8 @@ msgstr "" msgid "Interrupt from keyboard (CTRL + BREAK)." msgstr "" -#: ../../library/signal.rst:142 ../../library/signal.rst:261 -#: ../../library/signal.rst:271 +#: ../../library/signal.rst:142 ../../library/signal.rst:260 +#: ../../library/signal.rst:270 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" @@ -274,7 +278,7 @@ msgid "" "can only be raised in user space." msgstr "" -#: ../../library/signal.rst:-1 +#: ../../library/signal.rst:215 msgid ":ref:`Availability `: Linux." msgstr ":ref:`適用 `:Linux。" diff --git a/library/smtpd.po b/library/smtpd.po index d9b750f237..023c24fc82 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-10-16 06:26+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -61,7 +61,7 @@ msgid "" "SMTPUTF8 extensions." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -287,8 +287,8 @@ msgstr "" #: ../../library/smtpd.rst:201 msgid "" "Holds a list of the line strings (decoded using UTF-8) received from the " -"client. The lines have their ``\"\\r\\n\"`` line ending translated to ``\"\\n" -"\"``." +"client. The lines have their ``\"\\r\\n\"`` line ending translated to " +"``\"\\n\"``." msgstr "" #: ../../library/smtpd.rst:207 diff --git a/library/smtplib.po b/library/smtplib.po index bc30846ae5..7e08993dc7 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -34,7 +34,7 @@ msgid "" "Mail Transfer Protocol) and :rfc:`1869` (SMTP Service Extensions)." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -574,9 +574,9 @@ msgstr "" #: ../../library/smtplib.rst:459 msgid "" "*msg* may be a string containing characters in the ASCII range, or a byte " -"string. A string is encoded to bytes using the ascii codec, and lone ``" -"\\r`` and ``\\n`` characters are converted to ``\\r\\n`` characters. A byte " -"string is not modified." +"string. A string is encoded to bytes using the ascii codec, and lone " +"``\\r`` and ``\\n`` characters are converted to ``\\r\\n`` characters. A " +"byte string is not modified." msgstr "" #: ../../library/smtplib.rst:464 diff --git a/library/socket.po b/library/socket.po index ec0fa39d7d..b9bebf91ab 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-02 00:15+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -39,7 +39,7 @@ msgid "" "operating system socket APIs." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 #, fuzzy msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr ":ref:`適用 `:非 Emscripten、非 WASI。" @@ -287,6 +287,11 @@ msgstr "" msgid "*feat* and *mask* are unsigned 32bit integers." msgstr "" +#: ../../library/socket.rst:171 ../../library/socket.rst:519 +#: ../../library/socket.rst:1766 +msgid ":ref:`Availability `: Linux >= 2.6.38." +msgstr ":ref:`適用 `:Linux >= 2.6.38。" + #: ../../library/socket.rst:173 msgid "Some algorithm types require more recent Kernels." msgstr "" @@ -298,6 +303,10 @@ msgid "" "context ID or CID and port are integers." msgstr "" +#: ../../library/socket.rst:181 ../../library/socket.rst:592 +msgid ":ref:`Availability `: Linux >= 3.9" +msgstr ":ref:`適用 `:Linux 3.9 以上。" + #: ../../library/socket.rst:183 msgid "See :manpage:`vsock(7)`" msgstr "" @@ -358,6 +367,10 @@ msgid "" "address, whose interpretation depends on the device." msgstr "" +#: ../../library/socket.rst:207 ../../library/socket.rst:480 +msgid ":ref:`Availability `: Linux >= 2.2." +msgstr ":ref:`適用 `:Linux >= 2.2。" + #: ../../library/socket.rst:209 msgid "" ":const:`AF_QIPCRTR` is a Linux-only socket based interface for communicating " @@ -366,6 +379,10 @@ msgid "" "*port* are non-negative integers." msgstr "" +#: ../../library/socket.rst:214 ../../library/socket.rst:568 +msgid ":ref:`Availability `: Linux >= 4.7." +msgstr ":ref:`適用 `:Linux >= 4.7。" + #: ../../library/socket.rst:218 msgid "" ":const:`IPPROTO_UDPLITE` is a variant of UDP which allows you to specify " @@ -384,6 +401,10 @@ msgid "" "IPPROTO_UDPLITE)`` for IPv6." msgstr "" +#: ../../library/socket.rst:231 +msgid ":ref:`Availability `: Linux >= 2.6.20, FreeBSD >= 10.1" +msgstr ":ref:`適用 `:Linux 2.6.20 以上、FreeBSD 10.1 以上。" + #: ../../library/socket.rst:235 msgid "" "If you use a hostname in the *host* portion of IPv4/v6 socket address, the " @@ -509,7 +530,7 @@ msgid "" "html>`_ for a more thorough explanation." msgstr "" -#: ../../library/socket.rst:354 +#: ../../library/socket.rst:353 msgid ":ref:`Availability `: Linux >= 2.6.27." msgstr ":ref:`適用 `:Linux >= 2.6.27。" @@ -564,7 +585,7 @@ msgid "" "also defined in the socket module." msgstr "" -#: ../../library/socket.rst:411 +#: ../../library/socket.rst:410 msgid ":ref:`Availability `: Linux >= 2.6.25, NetBSD >= 8." msgstr ":ref:`適用 `:Linux 2.6.25 以上、NetBSD 8 以上。" @@ -579,7 +600,7 @@ msgid "" "documentation, are also defined in the socket module." msgstr "" -#: ../../library/socket.rst:425 ../../library/socket.rst:460 +#: ../../library/socket.rst:424 ../../library/socket.rst:459 msgid ":ref:`Availability `: Linux >= 2.6.25." msgstr ":ref:`適用 `:Linux >= 2.6.25。" @@ -599,7 +620,7 @@ msgstr "" msgid "This constant is documented in the Linux documentation." msgstr "" -#: ../../library/socket.rst:440 +#: ../../library/socket.rst:439 msgid ":ref:`Availability `: Linux >= 3.6." msgstr ":ref:`適用 `:Linux >= 3.6。" @@ -609,7 +630,7 @@ msgid "" "CAN filters are passed to user space." msgstr "" -#: ../../library/socket.rst:451 +#: ../../library/socket.rst:450 msgid ":ref:`Availability `: Linux >= 4.1." msgstr ":ref:`適用 `:Linux >= 4.1。" @@ -625,15 +646,11 @@ msgid "" "constants, documented in the Linux documentation." msgstr "" -#: ../../library/socket.rst:469 +#: ../../library/socket.rst:468 msgid ":ref:`Availability `: Linux >= 5.4." msgstr ":ref:`適用 `:Linux >= 5.4。" -#: ../../library/socket.rst:480 -msgid ":ref:`Availability `: Linux >= 2.2." -msgstr ":ref:`適用 `:Linux >= 2.2。" - -#: ../../library/socket.rst:492 +#: ../../library/socket.rst:491 msgid ":ref:`Availability `: Linux >= 2.6.30." msgstr ":ref:`適用 `:Linux >= 2.6.30。" @@ -657,19 +674,15 @@ msgstr "" msgid "Constants for Linux Kernel cryptography." msgstr "" -#: ../../library/socket.rst:520 ../../library/socket.rst:1767 -msgid ":ref:`Availability `: Linux >= 2.6.38." -msgstr ":ref:`適用 `:Linux >= 2.6.38。" - #: ../../library/socket.rst:529 msgid "Constants for Linux host/guest communication." msgstr "" -#: ../../library/socket.rst:532 +#: ../../library/socket.rst:531 msgid ":ref:`Availability `: Linux >= 4.8." msgstr ":ref:`適用 `:Linux >= 4.8。" -#: ../../library/socket.rst:538 +#: ../../library/socket.rst:537 msgid ":ref:`Availability `: BSD, macOS." msgstr ":ref:`適用 `:BSD、macOS。" @@ -699,10 +712,6 @@ msgid "" "service providing remote processors." msgstr "" -#: ../../library/socket.rst:568 -msgid ":ref:`Availability `: Linux >= 4.7." -msgstr ":ref:`適用 `:Linux >= 4.7。" - #: ../../library/socket.rst:574 msgid "" "LOCAL_CREDS and LOCAL_CREDS_PERSISTENT can be used with SOCK_DGRAM, " @@ -722,10 +731,6 @@ msgid "" "`SO_REUSEPORT`." msgstr "" -#: ../../library/socket.rst:592 -msgid ":ref:`Availability `: Linux >= 3.9" -msgstr ":ref:`適用 `:Linux 3.9 以上。" - #: ../../library/socket.rst:595 msgid "Functions" msgstr "函式" @@ -938,7 +943,7 @@ msgid "" "method. The socket is assumed to be in blocking mode." msgstr "" -#: ../../library/socket.rst:782 ../../library/socket.rst:1873 +#: ../../library/socket.rst:781 ../../library/socket.rst:1872 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" @@ -1060,7 +1065,7 @@ msgstr "" #: ../../library/socket.rst:960 ../../library/socket.rst:971 #: ../../library/socket.rst:1295 ../../library/socket.rst:1342 #: ../../library/socket.rst:1356 ../../library/socket.rst:1376 -#: ../../library/socket.rst:1423 ../../library/socket.rst:1469 +#: ../../library/socket.rst:1423 ../../library/socket.rst:1468 #: ../../library/socket.rst:1850 ../../library/socket.rst:1860 msgid ":ref:`Availability `: not WASI." msgstr ":ref:`適用 `:非 WASI。" @@ -1268,7 +1273,7 @@ msgid "" "`inet_pton`." msgstr "" -#: ../../library/socket.rst:1061 ../../library/socket.rst:1081 +#: ../../library/socket.rst:1060 ../../library/socket.rst:1080 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`適用 `:Unix、Windows。" @@ -1304,8 +1309,7 @@ msgid "" "the permissible range of values." msgstr "" -#: ../../library/socket.rst:-1 -#, fuzzy +#: ../../library/socket.rst:1106 ../../library/socket.rst:1129 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." msgstr ":ref:`適用 `:Unix、非 Emscripten、非 WASI。" @@ -1362,7 +1366,8 @@ msgid "" "argument ``name``." msgstr "" -#: ../../library/socket.rst:-1 ../../library/socket.rst:1159 +#: ../../library/socket.rst:1158 ../../library/socket.rst:1596 +#: ../../library/socket.rst:1640 msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。" @@ -1372,8 +1377,9 @@ msgid "" "tuples. :exc:`OSError` if the system call fails." msgstr "" -#: ../../library/socket.rst:-1 ../../library/socket.rst:1170 -#: ../../library/socket.rst:1197 ../../library/socket.rst:1214 +#: ../../library/socket.rst:1169 ../../library/socket.rst:1196 +#: ../../library/socket.rst:1213 ../../library/socket.rst:1230 +#: ../../library/socket.rst:1244 #, fuzzy msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." @@ -1920,7 +1926,7 @@ msgid "" "mechanism. See also :meth:`recvmsg`. ::" msgstr "" -#: ../../library/socket.rst:-1 +#: ../../library/socket.rst:1748 #, fuzzy msgid ":ref:`Availability `: Unix, not WASI." msgstr ":ref:`適用 `:Unix、非 WASI。" diff --git a/library/socketserver.po b/library/socketserver.po index 463f3a2ad4..27a6fe6247 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-30 00:19+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -32,7 +32,7 @@ msgid "" "servers." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/spwd.po b/library/spwd.po index 9378266318..2f0d265fd8 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-05-22 02:14+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -37,7 +37,7 @@ msgid "" "available on various Unix versions." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index 5b7394ed50..552b2c0d79 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-02 00:16+0000\n" +"POT-Creation-Date: 2023-02-11 00:15+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -748,8 +748,8 @@ msgstr "新增 *deterministic* 參數。" #: ../../library/sqlite3.rst:667 ../../library/sqlite3.rst:705 #: ../../library/sqlite3.rst:768 ../../library/sqlite3.rst:1019 -#: ../../library/sqlite3.rst:1256 ../../library/sqlite3.rst:1362 -#: ../../library/sqlite3.rst:1383 +#: ../../library/sqlite3.rst:1256 ../../library/sqlite3.rst:1383 +#: ../../library/sqlite3.rst:1404 msgid "Example:" msgstr "範例:" @@ -1214,8 +1214,8 @@ msgid "" "`tuple`." msgstr "" -#: ../../library/sqlite3.rst:1246 ../../library/sqlite3.rst:1507 -#: ../../library/sqlite3.rst:1530 +#: ../../library/sqlite3.rst:1246 ../../library/sqlite3.rst:1528 +#: ../../library/sqlite3.rst:1551 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" @@ -1258,20 +1258,26 @@ msgstr "" #: ../../library/sqlite3.rst:1338 msgid "" -"Execute SQL statement *sql*. Bind values to the statement using :ref:" -"`placeholders ` that map to the :term:`sequence` or :" -"class:`dict` *parameters*." +"Execute SQL a single SQL statement, optionally binding Python values using :" +"ref:`placeholders `." +msgstr "" + +#: ../../library/sqlite3.rst:1342 +msgid "A single SQL statement." msgstr "" -#: ../../library/sqlite3.rst:1343 +#: ../../library/sqlite3.rst:1345 msgid "" -":meth:`execute` will only execute a single SQL statement. If you try to " -"execute more than one statement with it, it will raise a :exc:" -"`ProgrammingError`. Use :meth:`executescript` if you want to execute " -"multiple SQL statements with one call." +"Python values to bind to placeholders in *sql*. A :class:`!dict` if named " +"placeholders are used. A :term:`!sequence` if unnamed placeholders are used. " +"See :ref:`sqlite3-placeholders`." +msgstr "" + +#: ../../library/sqlite3.rst:1352 +msgid "If *sql* contains more than one SQL statement." msgstr "" -#: ../../library/sqlite3.rst:1348 +#: ../../library/sqlite3.rst:1355 msgid "" "If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an " "``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is " @@ -1279,16 +1285,36 @@ msgid "" "*sql*." msgstr "" -#: ../../library/sqlite3.rst:1356 +#: ../../library/sqlite3.rst:1360 +msgid "Use :meth:`executescript` to execute multiple SQL statements." +msgstr "" + +#: ../../library/sqlite3.rst:1364 +msgid "" +"For every item in *parameters*, repeatedly execute the :ref:`parameterized " +"` SQL statement *sql*." +msgstr "" + +#: ../../library/sqlite3.rst:1368 +msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`." +msgstr "" + +#: ../../library/sqlite3.rst:1370 +msgid "A single SQL :abbr:`DML (Data Manipulation Language)` statement." +msgstr "" + +#: ../../library/sqlite3.rst:1373 +msgid "" +"An :term:`!iterable` of parameters to bind with the placeholders in *sql*. " +"See :ref:`sqlite3-placeholders`." +msgstr "" + +#: ../../library/sqlite3.rst:1379 msgid "" -"Execute :ref:`parameterized ` SQL statement *sql* " -"against all parameter sequences or mappings found in the sequence " -"*parameters*. It is also possible to use an :term:`iterator` yielding " -"parameters instead of a sequence. Uses the same implicit transaction " -"handling as :meth:`~Cursor.execute`." +"If *sql* contains more than one SQL statement, or is not a DML statment." msgstr "" -#: ../../library/sqlite3.rst:1375 +#: ../../library/sqlite3.rst:1396 msgid "" "Execute the SQL statements in *sql_script*. If there is a pending " "transaction, an implicit ``COMMIT`` statement is executed first. No other " @@ -1296,24 +1322,24 @@ msgid "" "added to *sql_script*." msgstr "" -#: ../../library/sqlite3.rst:1381 +#: ../../library/sqlite3.rst:1402 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: ../../library/sqlite3.rst:1399 +#: ../../library/sqlite3.rst:1420 msgid "" "If :attr:`~Cursor.row_factory` is ``None``, return the next row query result " "set as a :class:`tuple`. Else, pass it to the row factory and return its " "result. Return ``None`` if no more data is available." msgstr "" -#: ../../library/sqlite3.rst:1407 +#: ../../library/sqlite3.rst:1428 msgid "" "Return the next set of rows of a query result as a :class:`list`. Return an " "empty list if no more rows are available." msgstr "" -#: ../../library/sqlite3.rst:1410 +#: ../../library/sqlite3.rst:1431 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If *size* is not given, :attr:`arraysize` determines the number of rows to " @@ -1321,7 +1347,7 @@ msgid "" "available are returned." msgstr "" -#: ../../library/sqlite3.rst:1416 +#: ../../library/sqlite3.rst:1437 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1329,36 +1355,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: ../../library/sqlite3.rst:1423 +#: ../../library/sqlite3.rst:1444 msgid "" "Return all (remaining) rows of a query result as a :class:`list`. Return an " "empty list if no rows are available. Note that the :attr:`arraysize` " "attribute can affect the performance of this operation." msgstr "" -#: ../../library/sqlite3.rst:1430 +#: ../../library/sqlite3.rst:1451 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: ../../library/sqlite3.rst:1432 +#: ../../library/sqlite3.rst:1453 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: ../../library/sqlite3.rst:1437 ../../library/sqlite3.rst:1441 +#: ../../library/sqlite3.rst:1458 ../../library/sqlite3.rst:1462 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: ../../library/sqlite3.rst:1445 +#: ../../library/sqlite3.rst:1466 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: ../../library/sqlite3.rst:1450 +#: ../../library/sqlite3.rst:1471 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1366,18 +1392,18 @@ msgid "" "that refers to *con*:" msgstr "" -#: ../../library/sqlite3.rst:1464 +#: ../../library/sqlite3.rst:1485 msgid "" "Read-only attribute that provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are ``None``." msgstr "" -#: ../../library/sqlite3.rst:1468 +#: ../../library/sqlite3.rst:1489 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: ../../library/sqlite3.rst:1472 +#: ../../library/sqlite3.rst:1493 msgid "" "Read-only attribute that provides the row id of the last inserted row. It is " "only updated after successful ``INSERT`` or ``REPLACE`` statements using " @@ -1387,15 +1413,15 @@ msgid "" "``None``." msgstr "" -#: ../../library/sqlite3.rst:1480 +#: ../../library/sqlite3.rst:1501 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: ../../library/sqlite3.rst:1482 +#: ../../library/sqlite3.rst:1503 msgid "Added support for the ``REPLACE`` statement." msgstr "新增 ``REPLACE`` 陳述式的支援。" -#: ../../library/sqlite3.rst:1487 +#: ../../library/sqlite3.rst:1508 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " @@ -1404,7 +1430,7 @@ msgid "" "methods." msgstr "" -#: ../../library/sqlite3.rst:1495 +#: ../../library/sqlite3.rst:1516 msgid "" "Control how a row fetched from this :class:`!Cursor` is represented. If " "``None``, a row is represented as a :class:`tuple`. Can be set to the " @@ -1413,18 +1439,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: ../../library/sqlite3.rst:1502 +#: ../../library/sqlite3.rst:1523 msgid "" "Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!" "Cursor` was created. Assigning to this attribute does not affect :attr:" "`Connection.row_factory` of the parent connection." msgstr "" -#: ../../library/sqlite3.rst:1518 +#: ../../library/sqlite3.rst:1539 msgid "Row objects" msgstr "" -#: ../../library/sqlite3.rst:1522 +#: ../../library/sqlite3.rst:1543 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1432,28 +1458,28 @@ msgid "" "index." msgstr "" -#: ../../library/sqlite3.rst:1527 +#: ../../library/sqlite3.rst:1548 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: ../../library/sqlite3.rst:1534 +#: ../../library/sqlite3.rst:1555 msgid "" "Return a :class:`list` of column names as :class:`strings `. " "Immediately after a query, it is the first member of each tuple in :attr:" "`Cursor.description`." msgstr "" -#: ../../library/sqlite3.rst:1538 +#: ../../library/sqlite3.rst:1559 msgid "Added support of slicing." msgstr "" -#: ../../library/sqlite3.rst:1545 +#: ../../library/sqlite3.rst:1566 msgid "Blob objects" msgstr "" -#: ../../library/sqlite3.rst:1551 +#: ../../library/sqlite3.rst:1572 msgid "" "A :class:`Blob` instance is a :term:`file-like object` that can read and " "write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:" @@ -1461,24 +1487,24 @@ msgid "" "and :term:`slices ` for direct access to the blob data." msgstr "" -#: ../../library/sqlite3.rst:1556 +#: ../../library/sqlite3.rst:1577 msgid "" "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "handle is closed after use." msgstr "" -#: ../../library/sqlite3.rst:1586 +#: ../../library/sqlite3.rst:1607 msgid "Close the blob." msgstr "" -#: ../../library/sqlite3.rst:1588 +#: ../../library/sqlite3.rst:1609 msgid "" "The blob will be unusable from this point onward. An :class:`~sqlite3." "Error` (or subclass) exception will be raised if any further operation is " "attempted with the blob." msgstr "" -#: ../../library/sqlite3.rst:1594 +#: ../../library/sqlite3.rst:1615 msgid "" "Read *length* bytes of data from the blob at the current offset position. If " "the end of the blob is reached, the data up to :abbr:`EOF (End of File)` " @@ -1486,18 +1512,18 @@ msgid "" "`~Blob.read` will read until the end of the blob." msgstr "" -#: ../../library/sqlite3.rst:1602 +#: ../../library/sqlite3.rst:1623 msgid "" "Write *data* to the blob at the current offset. This function cannot change " "the blob length. Writing beyond the end of the blob will raise :exc:" "`ValueError`." msgstr "" -#: ../../library/sqlite3.rst:1608 +#: ../../library/sqlite3.rst:1629 msgid "Return the current access position of the blob." msgstr "" -#: ../../library/sqlite3.rst:1612 +#: ../../library/sqlite3.rst:1633 msgid "" "Set the current access position of the blob to *offset*. The *origin* " "argument defaults to :data:`os.SEEK_SET` (absolute blob positioning). Other " @@ -1505,26 +1531,26 @@ msgid "" "position) and :data:`os.SEEK_END` (seek relative to the blob’s end)." msgstr "" -#: ../../library/sqlite3.rst:1620 +#: ../../library/sqlite3.rst:1641 msgid "PrepareProtocol objects" msgstr "" -#: ../../library/sqlite3.rst:1624 +#: ../../library/sqlite3.rst:1645 msgid "" "The PrepareProtocol type's single purpose is to act as a :pep:`246` style " "adaption protocol for objects that can :ref:`adapt themselves ` to :ref:`native SQLite types `." msgstr "" -#: ../../library/sqlite3.rst:1632 +#: ../../library/sqlite3.rst:1653 msgid "Exceptions" msgstr "例外" -#: ../../library/sqlite3.rst:1634 +#: ../../library/sqlite3.rst:1655 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: ../../library/sqlite3.rst:1638 +#: ../../library/sqlite3.rst:1659 msgid "" "This exception is not currently raised by the :mod:`!sqlite3` module, but " "may be raised by applications using :mod:`!sqlite3`, for example if a user-" @@ -1532,39 +1558,39 @@ msgid "" "of :exc:`Exception`." msgstr "" -#: ../../library/sqlite3.rst:1645 +#: ../../library/sqlite3.rst:1666 msgid "" "The base class of the other exceptions in this module. Use this to catch all " "errors with one single :keyword:`except` statement. ``Error`` is a subclass " "of :exc:`Exception`." msgstr "" -#: ../../library/sqlite3.rst:1649 +#: ../../library/sqlite3.rst:1670 msgid "" "If the exception originated from within the SQLite library, the following " "two attributes are added to the exception:" msgstr "" -#: ../../library/sqlite3.rst:1654 +#: ../../library/sqlite3.rst:1675 msgid "" "The numeric error code from the `SQLite API `_" msgstr "" -#: ../../library/sqlite3.rst:1661 +#: ../../library/sqlite3.rst:1682 msgid "" "The symbolic name of the numeric error code from the `SQLite API `_" msgstr "" -#: ../../library/sqlite3.rst:1668 +#: ../../library/sqlite3.rst:1689 msgid "" "Exception raised for misuse of the low-level SQLite C API. In other words, " "if this exception is raised, it probably indicates a bug in the :mod:`!" "sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`." msgstr "" -#: ../../library/sqlite3.rst:1675 +#: ../../library/sqlite3.rst:1696 msgid "" "Exception raised for errors that are related to the database. This serves as " "the base exception for several types of database errors. It is only raised " @@ -1572,14 +1598,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: ../../library/sqlite3.rst:1682 +#: ../../library/sqlite3.rst:1703 msgid "" "Exception raised for errors caused by problems with the processed data, like " "numeric values out of range, and strings which are too long. ``DataError`` " "is a subclass of :exc:`DatabaseError`." msgstr "" -#: ../../library/sqlite3.rst:1688 +#: ../../library/sqlite3.rst:1709 msgid "" "Exception raised for errors that are related to the database's operation, " "and not necessarily under the control of the programmer. For example, the " @@ -1587,20 +1613,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: ../../library/sqlite3.rst:1696 +#: ../../library/sqlite3.rst:1717 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: ../../library/sqlite3.rst:1701 +#: ../../library/sqlite3.rst:1722 msgid "" "Exception raised when SQLite encounters an internal error. If this is " "raised, it may indicate that there is a problem with the runtime SQLite " "library. ``InternalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: ../../library/sqlite3.rst:1708 +#: ../../library/sqlite3.rst:1729 msgid "" "Exception raised for :mod:`!sqlite3` API programming errors, for example " "supplying the wrong number of bindings to a query, or trying to operate on a " @@ -1608,7 +1634,7 @@ msgid "" "`DatabaseError`." msgstr "" -#: ../../library/sqlite3.rst:1715 +#: ../../library/sqlite3.rst:1736 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -1617,78 +1643,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: ../../library/sqlite3.rst:1725 +#: ../../library/sqlite3.rst:1746 msgid "SQLite and Python types" msgstr "" -#: ../../library/sqlite3.rst:1727 +#: ../../library/sqlite3.rst:1748 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: ../../library/sqlite3.rst:1730 +#: ../../library/sqlite3.rst:1751 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: ../../library/sqlite3.rst:1733 ../../library/sqlite3.rst:1750 +#: ../../library/sqlite3.rst:1754 ../../library/sqlite3.rst:1771 msgid "Python type" msgstr "" -#: ../../library/sqlite3.rst:1733 ../../library/sqlite3.rst:1750 +#: ../../library/sqlite3.rst:1754 ../../library/sqlite3.rst:1771 msgid "SQLite type" msgstr "" -#: ../../library/sqlite3.rst:1735 ../../library/sqlite3.rst:1752 +#: ../../library/sqlite3.rst:1756 ../../library/sqlite3.rst:1773 msgid "``None``" msgstr "``None``" -#: ../../library/sqlite3.rst:1735 ../../library/sqlite3.rst:1752 +#: ../../library/sqlite3.rst:1756 ../../library/sqlite3.rst:1773 msgid "``NULL``" msgstr "``NULL``" -#: ../../library/sqlite3.rst:1737 ../../library/sqlite3.rst:1754 +#: ../../library/sqlite3.rst:1758 ../../library/sqlite3.rst:1775 msgid ":class:`int`" msgstr ":class:`int`" -#: ../../library/sqlite3.rst:1737 ../../library/sqlite3.rst:1754 +#: ../../library/sqlite3.rst:1758 ../../library/sqlite3.rst:1775 msgid "``INTEGER``" msgstr "``INTEGER``" -#: ../../library/sqlite3.rst:1739 ../../library/sqlite3.rst:1756 +#: ../../library/sqlite3.rst:1760 ../../library/sqlite3.rst:1777 msgid ":class:`float`" msgstr ":class:`float`" -#: ../../library/sqlite3.rst:1739 ../../library/sqlite3.rst:1756 +#: ../../library/sqlite3.rst:1760 ../../library/sqlite3.rst:1777 msgid "``REAL``" msgstr "``REAL``" -#: ../../library/sqlite3.rst:1741 +#: ../../library/sqlite3.rst:1762 msgid ":class:`str`" msgstr ":class:`str`" -#: ../../library/sqlite3.rst:1741 ../../library/sqlite3.rst:1758 +#: ../../library/sqlite3.rst:1762 ../../library/sqlite3.rst:1779 msgid "``TEXT``" msgstr "``TEXT``" -#: ../../library/sqlite3.rst:1743 ../../library/sqlite3.rst:1761 +#: ../../library/sqlite3.rst:1764 ../../library/sqlite3.rst:1782 msgid ":class:`bytes`" msgstr ":class:`bytes`" -#: ../../library/sqlite3.rst:1743 ../../library/sqlite3.rst:1761 +#: ../../library/sqlite3.rst:1764 ../../library/sqlite3.rst:1782 msgid "``BLOB``" msgstr "``BLOB``" -#: ../../library/sqlite3.rst:1747 +#: ../../library/sqlite3.rst:1768 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: ../../library/sqlite3.rst:1758 +#: ../../library/sqlite3.rst:1779 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: ../../library/sqlite3.rst:1764 +#: ../../library/sqlite3.rst:1785 msgid "" "The type system of the :mod:`!sqlite3` module is extensible in two ways: you " "can store additional Python types in an SQLite database via :ref:`object " @@ -1697,42 +1723,42 @@ msgid "" "converters>`." msgstr "" -#: ../../library/sqlite3.rst:1774 +#: ../../library/sqlite3.rst:1795 msgid "Default adapters and converters" msgstr "" -#: ../../library/sqlite3.rst:1776 +#: ../../library/sqlite3.rst:1797 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -#: ../../library/sqlite3.rst:1779 +#: ../../library/sqlite3.rst:1800 msgid "" "The default converters are registered under the name \"date\" for :class:" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -#: ../../library/sqlite3.rst:1783 +#: ../../library/sqlite3.rst:1804 msgid "" "This way, you can use date/timestamps from Python without any additional " "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -#: ../../library/sqlite3.rst:1787 +#: ../../library/sqlite3.rst:1808 msgid "The following example demonstrates this." msgstr "" -#: ../../library/sqlite3.rst:1791 +#: ../../library/sqlite3.rst:1812 msgid "" "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" -#: ../../library/sqlite3.rst:1797 +#: ../../library/sqlite3.rst:1818 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -1740,15 +1766,15 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: ../../library/sqlite3.rst:1806 +#: ../../library/sqlite3.rst:1827 msgid "How-to guides" msgstr "" -#: ../../library/sqlite3.rst:1811 +#: ../../library/sqlite3.rst:1832 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: ../../library/sqlite3.rst:1813 +#: ../../library/sqlite3.rst:1834 msgid "" "SQL operations usually need to use values from Python variables. However, " "beware of using Python's string operations to assemble queries, as they are " @@ -1756,7 +1782,7 @@ msgid "" "close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: ../../library/sqlite3.rst:1826 +#: ../../library/sqlite3.rst:1847 msgid "" "Instead, use the DB-API's parameter substitution. To insert a variable into " "a query string, use a placeholder in the string, and substitute the actual " @@ -1764,7 +1790,7 @@ msgid "" "second argument of the cursor's :meth:`~Cursor.execute` method." msgstr "" -#: ../../library/sqlite3.rst:1831 +#: ../../library/sqlite3.rst:1852 msgid "" "An SQL statement may use one of two kinds of placeholders: question marks " "(qmark style) or named placeholders (named style). For the qmark style, " @@ -1775,24 +1801,24 @@ msgid "" "are ignored. Here's an example of both styles:" msgstr "" -#: ../../library/sqlite3.rst:1868 +#: ../../library/sqlite3.rst:1889 msgid "" ":pep:`249` numeric placeholders are *not* supported. If used, they will be " "interpreted as named placeholders." msgstr "" -#: ../../library/sqlite3.rst:1875 +#: ../../library/sqlite3.rst:1896 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: ../../library/sqlite3.rst:1877 +#: ../../library/sqlite3.rst:1898 msgid "" "SQLite supports only a limited set of data types natively. To store custom " "Python types in SQLite databases, *adapt* them to one of the :ref:`Python " "types SQLite natively understands `." msgstr "" -#: ../../library/sqlite3.rst:1881 +#: ../../library/sqlite3.rst:1902 msgid "" "There are two ways to adapt Python objects to SQLite types: letting your " "object adapt itself, or using an *adapter callable*. The latter will take " @@ -1802,11 +1828,11 @@ msgid "" "custom adapter functions." msgstr "" -#: ../../library/sqlite3.rst:1893 +#: ../../library/sqlite3.rst:1914 msgid "How to write adaptable objects" msgstr "" -#: ../../library/sqlite3.rst:1895 +#: ../../library/sqlite3.rst:1916 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -1816,84 +1842,84 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: ../../library/sqlite3.rst:1926 +#: ../../library/sqlite3.rst:1947 msgid "How to register adapter callables" msgstr "" -#: ../../library/sqlite3.rst:1928 +#: ../../library/sqlite3.rst:1949 msgid "" "The other possibility is to create a function that converts the Python " "object to an SQLite-compatible type. This function can then be registered " "using :func:`register_adapter`." msgstr "" -#: ../../library/sqlite3.rst:1958 +#: ../../library/sqlite3.rst:1979 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: ../../library/sqlite3.rst:1960 +#: ../../library/sqlite3.rst:1981 msgid "" "Writing an adapter lets you convert *from* custom Python types *to* SQLite " "values. To be able to convert *from* SQLite values *to* custom Python types, " "we use *converters*." msgstr "" -#: ../../library/sqlite3.rst:1965 +#: ../../library/sqlite3.rst:1986 msgid "" "Let's go back to the :class:`!Point` class. We stored the x and y " "coordinates separated via semicolons as strings in SQLite." msgstr "" -#: ../../library/sqlite3.rst:1968 +#: ../../library/sqlite3.rst:1989 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`!Point` object from it." msgstr "" -#: ../../library/sqlite3.rst:1973 +#: ../../library/sqlite3.rst:1994 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: ../../library/sqlite3.rst:1982 +#: ../../library/sqlite3.rst:2003 msgid "" "We now need to tell :mod:`!sqlite3` when it should convert a given SQLite " "value. This is done when connecting to a database, using the *detect_types* " "parameter of :func:`connect`. There are three options:" msgstr "" -#: ../../library/sqlite3.rst:1986 +#: ../../library/sqlite3.rst:2007 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: ../../library/sqlite3.rst:1987 +#: ../../library/sqlite3.rst:2008 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: ../../library/sqlite3.rst:1988 +#: ../../library/sqlite3.rst:2009 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: ../../library/sqlite3.rst:1992 +#: ../../library/sqlite3.rst:2013 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: ../../library/sqlite3.rst:2043 +#: ../../library/sqlite3.rst:2064 msgid "Adapter and converter recipes" msgstr "" -#: ../../library/sqlite3.rst:2045 +#: ../../library/sqlite3.rst:2066 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: ../../library/sqlite3.rst:2107 +#: ../../library/sqlite3.rst:2128 msgid "How to use connection shortcut methods" msgstr "" -#: ../../library/sqlite3.rst:2109 +#: ../../library/sqlite3.rst:2130 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -1905,11 +1931,11 @@ msgid "" "object." msgstr "" -#: ../../library/sqlite3.rst:2150 +#: ../../library/sqlite3.rst:2171 msgid "How to use the connection context manager" msgstr "" -#: ../../library/sqlite3.rst:2152 +#: ../../library/sqlite3.rst:2173 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -1919,58 +1945,58 @@ msgid "" "exception, the transaction is rolled back." msgstr "" -#: ../../library/sqlite3.rst:2161 +#: ../../library/sqlite3.rst:2182 msgid "" "If there is no open transaction upon leaving the body of the ``with`` " "statement, the context manager is a no-op." msgstr "" -#: ../../library/sqlite3.rst:2166 +#: ../../library/sqlite3.rst:2187 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection." msgstr "" -#: ../../library/sqlite3.rst:2199 +#: ../../library/sqlite3.rst:2220 msgid "How to work with SQLite URIs" msgstr "" -#: ../../library/sqlite3.rst:2201 +#: ../../library/sqlite3.rst:2222 msgid "Some useful URI tricks include:" msgstr "" -#: ../../library/sqlite3.rst:2203 +#: ../../library/sqlite3.rst:2224 msgid "Open a database in read-only mode:" msgstr "" -#: ../../library/sqlite3.rst:2212 +#: ../../library/sqlite3.rst:2233 msgid "" "Do not implicitly create a new database file if it does not already exist; " "will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:" msgstr "" -#: ../../library/sqlite3.rst:2222 +#: ../../library/sqlite3.rst:2243 msgid "Create a shared named in-memory database:" msgstr "" -#: ../../library/sqlite3.rst:2236 +#: ../../library/sqlite3.rst:2257 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: ../../library/sqlite3.rst:2245 +#: ../../library/sqlite3.rst:2266 msgid "How to create and use row factories" msgstr "" -#: ../../library/sqlite3.rst:2247 +#: ../../library/sqlite3.rst:2268 msgid "" "By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :" "class:`!tuple` does not suit your needs, you can use the :class:`sqlite3." "Row` class or a custom :attr:`~Cursor.row_factory`." msgstr "" -#: ../../library/sqlite3.rst:2252 +#: ../../library/sqlite3.rst:2273 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -1978,7 +2004,7 @@ msgid "" "use the same row factory." msgstr "" -#: ../../library/sqlite3.rst:2257 +#: ../../library/sqlite3.rst:2278 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -1986,51 +2012,51 @@ msgid "" "attribute:" msgstr "" -#: ../../library/sqlite3.rst:2267 +#: ../../library/sqlite3.rst:2288 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: ../../library/sqlite3.rst:2282 +#: ../../library/sqlite3.rst:2303 msgid "" "You can create a custom :attr:`~Cursor.row_factory` that returns each row as " "a :class:`dict`, with column names mapped to values:" msgstr "" -#: ../../library/sqlite3.rst:2291 +#: ../../library/sqlite3.rst:2312 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: ../../library/sqlite3.rst:2301 +#: ../../library/sqlite3.rst:2322 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: ../../library/sqlite3.rst:2312 +#: ../../library/sqlite3.rst:2333 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: ../../library/sqlite3.rst:2327 +#: ../../library/sqlite3.rst:2348 msgid "" "With some adjustments, the above recipe can be adapted to use a :class:" "`~dataclasses.dataclass`, or any other custom class, instead of a :class:" "`~collections.namedtuple`." msgstr "" -#: ../../library/sqlite3.rst:2335 +#: ../../library/sqlite3.rst:2356 msgid "Explanation" msgstr "解釋" -#: ../../library/sqlite3.rst:2340 +#: ../../library/sqlite3.rst:2361 msgid "Transaction control" msgstr "" -#: ../../library/sqlite3.rst:2342 +#: ../../library/sqlite3.rst:2363 msgid "" "The :mod:`!sqlite3` module does not adhere to the transaction handling " "recommended by :pep:`249`." msgstr "" -#: ../../library/sqlite3.rst:2345 +#: ../../library/sqlite3.rst:2366 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -2044,7 +2070,7 @@ msgid "" "attribute." msgstr "" -#: ../../library/sqlite3.rst:2358 +#: ../../library/sqlite3.rst:2379 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -2054,14 +2080,14 @@ msgid "" "in_transaction` attribute." msgstr "" -#: ../../library/sqlite3.rst:2366 +#: ../../library/sqlite3.rst:2387 msgid "" "The :meth:`~Cursor.executescript` method implicitly commits any pending " "transaction before execution of the given SQL script, regardless of the " "value of :attr:`~Connection.isolation_level`." msgstr "" -#: ../../library/sqlite3.rst:2370 +#: ../../library/sqlite3.rst:2391 msgid "" ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." diff --git a/library/ssl.po b/library/ssl.po index 8743fbaf13..d9cbb2c103 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-21 00:16+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -51,7 +51,7 @@ msgid "" "are not necessarily appropriate for your application." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -554,7 +554,7 @@ msgstr "" "\n" "::" -#: ../../library/ssl.rst:500 ../../library/ssl.rst:515 +#: ../../library/ssl.rst:499 ../../library/ssl.rst:514 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:只有 Windows。" diff --git a/library/subprocess.po b/library/subprocess.po index fdd3f5536b..6a3563d183 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-25 00:16+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:11+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -43,7 +43,7 @@ msgstr "" msgid ":pep:`324` -- PEP proposing the subprocess module" msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -152,92 +152,102 @@ msgid "" "*universal_newlines*. Added the *capture_output* parameter." msgstr "" -#: ../../library/subprocess.rst:116 +#: ../../library/subprocess.rst:116 ../../library/subprocess.rst:501 +#: ../../library/subprocess.rst:1181 ../../library/subprocess.rst:1221 +#: ../../library/subprocess.rst:1284 +msgid "" +"Changed Windows shell search order for ``shell=True``. The current directory " +"and ``%PATH%`` are replaced with ``%COMSPEC%`` and ``%SystemRoot%" +"\\System32\\cmd.exe``. As a result, dropping a malicious program named ``cmd." +"exe`` into a current directory no longer works." +msgstr "" + +#: ../../library/subprocess.rst:124 msgid "" "The return value from :func:`run`, representing a process that has finished." msgstr "" -#: ../../library/subprocess.rst:120 +#: ../../library/subprocess.rst:128 msgid "" "The arguments used to launch the process. This may be a list or a string." msgstr "" -#: ../../library/subprocess.rst:124 +#: ../../library/subprocess.rst:132 msgid "" "Exit status of the child process. Typically, an exit status of 0 indicates " "that it ran successfully." msgstr "" -#: ../../library/subprocess.rst:127 ../../library/subprocess.rst:911 +#: ../../library/subprocess.rst:135 ../../library/subprocess.rst:928 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." msgstr "" -#: ../../library/subprocess.rst:132 +#: ../../library/subprocess.rst:140 msgid "" "Captured stdout from the child process. A bytes sequence, or a string if :" "func:`run` was called with an encoding, errors, or text=True. ``None`` if " "stdout was not captured." msgstr "" -#: ../../library/subprocess.rst:136 +#: ../../library/subprocess.rst:144 msgid "" "If you ran the process with ``stderr=subprocess.STDOUT``, stdout and stderr " "will be combined in this attribute, and :attr:`stderr` will be ``None``." msgstr "" -#: ../../library/subprocess.rst:142 +#: ../../library/subprocess.rst:150 msgid "" "Captured stderr from the child process. A bytes sequence, or a string if :" "func:`run` was called with an encoding, errors, or text=True. ``None`` if " "stderr was not captured." msgstr "" -#: ../../library/subprocess.rst:148 +#: ../../library/subprocess.rst:156 msgid "If :attr:`returncode` is non-zero, raise a :exc:`CalledProcessError`." msgstr "" -#: ../../library/subprocess.rst:154 +#: ../../library/subprocess.rst:162 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to :class:`Popen` and indicates that the special file :data:`os.devnull` " "will be used." msgstr "" -#: ../../library/subprocess.rst:163 +#: ../../library/subprocess.rst:171 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to :class:`Popen` and indicates that a pipe to the standard stream should be " "opened. Most useful with :meth:`Popen.communicate`." msgstr "" -#: ../../library/subprocess.rst:170 +#: ../../library/subprocess.rst:178 msgid "" "Special value that can be used as the *stderr* argument to :class:`Popen` " "and indicates that standard error should go into the same handle as standard " "output." msgstr "" -#: ../../library/subprocess.rst:177 +#: ../../library/subprocess.rst:185 msgid "Base class for all other exceptions from this module." msgstr "" -#: ../../library/subprocess.rst:184 +#: ../../library/subprocess.rst:192 msgid "" "Subclass of :exc:`SubprocessError`, raised when a timeout expires while " "waiting for a child process." msgstr "" -#: ../../library/subprocess.rst:189 ../../library/subprocess.rst:233 +#: ../../library/subprocess.rst:197 ../../library/subprocess.rst:241 msgid "Command that was used to spawn the child process." msgstr "" -#: ../../library/subprocess.rst:193 +#: ../../library/subprocess.rst:201 msgid "Timeout in seconds." msgstr "" -#: ../../library/subprocess.rst:197 +#: ../../library/subprocess.rst:205 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``. This is always :class:`bytes` when " @@ -245,11 +255,11 @@ msgid "" "remain ``None`` instead of ``b''`` when no output was observed." msgstr "" -#: ../../library/subprocess.rst:205 ../../library/subprocess.rst:242 +#: ../../library/subprocess.rst:213 ../../library/subprocess.rst:250 msgid "Alias for output, for symmetry with :attr:`stderr`." msgstr "" -#: ../../library/subprocess.rst:209 +#: ../../library/subprocess.rst:217 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``. This is always :class:`bytes` when stderr output was " @@ -257,40 +267,40 @@ msgid "" "instead of ``b''`` when no stderr output was observed." msgstr "" -#: ../../library/subprocess.rst:216 ../../library/subprocess.rst:249 +#: ../../library/subprocess.rst:224 ../../library/subprocess.rst:257 msgid "*stdout* and *stderr* attributes added" msgstr "" -#: ../../library/subprocess.rst:221 +#: ../../library/subprocess.rst:229 msgid "" "Subclass of :exc:`SubprocessError`, raised when a process run by :func:" "`check_call`, :func:`check_output`, or :func:`run` (with ``check=True``) " "returns a non-zero exit status." msgstr "" -#: ../../library/subprocess.rst:228 +#: ../../library/subprocess.rst:236 msgid "" "Exit status of the child process. If the process exited due to a signal, " "this will be the negative signal number." msgstr "" -#: ../../library/subprocess.rst:237 +#: ../../library/subprocess.rst:245 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``." msgstr "" -#: ../../library/subprocess.rst:246 +#: ../../library/subprocess.rst:254 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``." msgstr "" -#: ../../library/subprocess.rst:256 +#: ../../library/subprocess.rst:264 msgid "Frequently Used Arguments" msgstr "" -#: ../../library/subprocess.rst:258 +#: ../../library/subprocess.rst:266 msgid "" "To support a wide variety of use cases, the :class:`Popen` constructor (and " "the convenience functions) accept a large number of optional arguments. For " @@ -298,7 +308,7 @@ msgid "" "default values. The arguments that are most commonly needed are:" msgstr "" -#: ../../library/subprocess.rst:263 +#: ../../library/subprocess.rst:271 msgid "" "*args* is required for all calls and should be a string, or a sequence of " "program arguments. Providing a sequence of arguments is generally preferred, " @@ -308,7 +318,7 @@ msgid "" "simply name the program to be executed without specifying any arguments." msgstr "" -#: ../../library/subprocess.rst:271 +#: ../../library/subprocess.rst:279 msgid "" "*stdin*, *stdout* and *stderr* specify the executed program's standard " "input, standard output and standard error file handles, respectively. Valid " @@ -323,7 +333,7 @@ msgid "" "handle as for *stdout*." msgstr "" -#: ../../library/subprocess.rst:286 +#: ../../library/subprocess.rst:294 msgid "" "If *encoding* or *errors* are specified, or *text* (also known as " "*universal_newlines*) is true, the file objects *stdin*, *stdout* and " @@ -331,7 +341,7 @@ msgid "" "specified in the call or the defaults for :class:`io.TextIOWrapper`." msgstr "" -#: ../../library/subprocess.rst:292 +#: ../../library/subprocess.rst:300 msgid "" "For *stdin*, line ending characters ``'\\n'`` in the input will be converted " "to the default line separator :data:`os.linesep`. For *stdout* and *stderr*, " @@ -340,28 +350,28 @@ msgid "" "when the *newline* argument to its constructor is ``None``." msgstr "" -#: ../../library/subprocess.rst:298 +#: ../../library/subprocess.rst:306 msgid "" "If text mode is not used, *stdin*, *stdout* and *stderr* will be opened as " "binary streams. No encoding or line ending conversion is performed." msgstr "" -#: ../../library/subprocess.rst:301 +#: ../../library/subprocess.rst:309 msgid "Added *encoding* and *errors* parameters." msgstr "新增 *encoding* 與 *errors* 參數。" -#: ../../library/subprocess.rst:304 +#: ../../library/subprocess.rst:312 msgid "Added the *text* parameter as an alias for *universal_newlines*." msgstr "" -#: ../../library/subprocess.rst:309 +#: ../../library/subprocess.rst:317 msgid "" "The newlines attribute of the file objects :attr:`Popen.stdin`, :attr:`Popen." "stdout` and :attr:`Popen.stderr` are not updated by the :meth:`Popen." "communicate` method." msgstr "" -#: ../../library/subprocess.rst:313 +#: ../../library/subprocess.rst:321 msgid "" "If *shell* is ``True``, the specified command will be executed through the " "shell. This can be useful if you are using Python primarily for the " @@ -374,7 +384,7 @@ msgid "" "expanduser`, and :mod:`shutil`)." msgstr "" -#: ../../library/subprocess.rst:323 +#: ../../library/subprocess.rst:331 msgid "" "When *universal_newlines* is ``True``, the class uses the encoding :func:" "`locale.getpreferredencoding(False) ` instead " @@ -382,22 +392,22 @@ msgid "" "class for more information on this change." msgstr "" -#: ../../library/subprocess.rst:331 ../../library/subprocess.rst:452 +#: ../../library/subprocess.rst:339 ../../library/subprocess.rst:460 msgid "" "Read the `Security Considerations`_ section before using ``shell=True``." msgstr "" -#: ../../library/subprocess.rst:333 +#: ../../library/subprocess.rst:341 msgid "" "These options, along with all of the other options, are described in more " "detail in the :class:`Popen` constructor documentation." msgstr "" -#: ../../library/subprocess.rst:338 +#: ../../library/subprocess.rst:346 msgid "Popen Constructor" msgstr "" -#: ../../library/subprocess.rst:340 +#: ../../library/subprocess.rst:348 msgid "" "The underlying process creation and management in this module is handled by " "the :class:`Popen` class. It offers a lot of flexibility so that developers " @@ -405,7 +415,7 @@ msgid "" "functions." msgstr "" -#: ../../library/subprocess.rst:355 +#: ../../library/subprocess.rst:363 msgid "" "Execute a child program in a new process. On POSIX, the class uses :meth:" "`os.execvpe`-like behavior to execute the child program. On Windows, the " @@ -413,7 +423,7 @@ msgid "" "class:`Popen` are as follows." msgstr "" -#: ../../library/subprocess.rst:360 +#: ../../library/subprocess.rst:368 msgid "" "*args* should be a sequence of program arguments or else a single string or :" "term:`path-like object`. By default, the program to execute is the first " @@ -424,7 +434,7 @@ msgid "" "sequence." msgstr "" -#: ../../library/subprocess.rst:370 +#: ../../library/subprocess.rst:378 msgid "" "For maximum reliability, use a fully qualified path for the executable. To " "search for an unqualified name on :envvar:`PATH`, use :meth:`shutil.which`. " @@ -433,7 +443,7 @@ msgid "" "format to launch an installed module." msgstr "" -#: ../../library/subprocess.rst:376 +#: ../../library/subprocess.rst:384 msgid "" "Resolving the path of *executable* (or the first item of *args*) is platform " "dependent. For POSIX, see :meth:`os.execvpe`, and note that when resolving " @@ -447,27 +457,27 @@ msgid "" "variations." msgstr "" -#: ../../library/subprocess.rst:387 +#: ../../library/subprocess.rst:395 msgid "" "An example of passing some arguments to an external program as a sequence " "is::" msgstr "" -#: ../../library/subprocess.rst:392 +#: ../../library/subprocess.rst:400 msgid "" "On POSIX, if *args* is a string, the string is interpreted as the name or " "path of the program to execute. However, this can only be done if not " "passing arguments to the program." msgstr "" -#: ../../library/subprocess.rst:398 +#: ../../library/subprocess.rst:406 msgid "" "It may not be obvious how to break a shell command into a sequence of " "arguments, especially in complex cases. :meth:`shlex.split` can illustrate " "how to determine the correct tokenization for *args*::" msgstr "" -#: ../../library/subprocess.rst:410 +#: ../../library/subprocess.rst:418 msgid "" "Note in particular that options (such as *-input*) and arguments (such as " "*eggs.txt*) that are separated by whitespace in the shell go in separate " @@ -476,33 +486,33 @@ msgid "" "shown above) are single list elements." msgstr "" -#: ../../library/subprocess.rst:416 +#: ../../library/subprocess.rst:424 msgid "" "On Windows, if *args* is a sequence, it will be converted to a string in a " "manner described in :ref:`converting-argument-sequence`. This is because " "the underlying ``CreateProcess()`` operates on strings." msgstr "" -#: ../../library/subprocess.rst:420 +#: ../../library/subprocess.rst:428 msgid "" "*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` " "and a sequence containing path-like objects on POSIX." msgstr "" -#: ../../library/subprocess.rst:424 +#: ../../library/subprocess.rst:432 msgid "" "*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` " "and a sequence containing bytes and path-like objects on Windows." msgstr "" -#: ../../library/subprocess.rst:429 +#: ../../library/subprocess.rst:437 msgid "" "The *shell* argument (which defaults to ``False``) specifies whether to use " "the shell as the program to execute. If *shell* is ``True``, it is " "recommended to pass *args* as a string rather than as a sequence." msgstr "" -#: ../../library/subprocess.rst:433 +#: ../../library/subprocess.rst:441 msgid "" "On POSIX with ``shell=True``, the shell defaults to :file:`/bin/sh`. If " "*args* is a string, the string specifies the command to execute through the " @@ -514,7 +524,7 @@ msgid "" "class:`Popen` does the equivalent of::" msgstr "" -#: ../../library/subprocess.rst:444 +#: ../../library/subprocess.rst:452 msgid "" "On Windows with ``shell=True``, the :envvar:`COMSPEC` environment variable " "specifies the default shell. The only time you need to specify " @@ -523,35 +533,35 @@ msgid "" "``shell=True`` to run a batch file or console-based executable." msgstr "" -#: ../../library/subprocess.rst:454 +#: ../../library/subprocess.rst:462 msgid "" "*bufsize* will be supplied as the corresponding argument to the :func:`open` " "function when creating the stdin/stdout/stderr pipe file objects:" msgstr "" -#: ../../library/subprocess.rst:458 +#: ../../library/subprocess.rst:466 msgid "" ":const:`0` means unbuffered (read and write are one system call and can " "return short)" msgstr "" -#: ../../library/subprocess.rst:460 +#: ../../library/subprocess.rst:468 msgid "" -":const:`1` means line buffered (only usable if ``universal_newlines=True`` i." -"e., in a text mode)" +":const:`1` means line buffered (only usable if ``text=True`` or " +"``universal_newlines=True``)" msgstr "" -#: ../../library/subprocess.rst:462 +#: ../../library/subprocess.rst:470 msgid "any other positive value means use a buffer of approximately that size" msgstr "" -#: ../../library/subprocess.rst:464 +#: ../../library/subprocess.rst:472 msgid "" "negative bufsize (the default) means the system default of io." "DEFAULT_BUFFER_SIZE will be used." msgstr "" -#: ../../library/subprocess.rst:467 +#: ../../library/subprocess.rst:475 msgid "" "*bufsize* now defaults to -1 to enable buffering by default to match the " "behavior that most code expects. In versions prior to Python 3.2.4 and " @@ -560,7 +570,7 @@ msgid "" "of Python 2 as most code expected." msgstr "" -#: ../../library/subprocess.rst:474 +#: ../../library/subprocess.rst:482 msgid "" "The *executable* argument specifies a replacement program to execute. It " "is very seldom needed. When ``shell=False``, *executable* replaces the " @@ -573,17 +583,17 @@ msgid "" "default :file:`/bin/sh`." msgstr "" -#: ../../library/subprocess.rst:484 +#: ../../library/subprocess.rst:492 msgid "*executable* parameter accepts a :term:`path-like object` on POSIX." msgstr "" -#: ../../library/subprocess.rst:487 +#: ../../library/subprocess.rst:495 msgid "" "*executable* parameter accepts a bytes and :term:`path-like object` on " "Windows." msgstr "" -#: ../../library/subprocess.rst:491 +#: ../../library/subprocess.rst:507 msgid "" "*stdin*, *stdout* and *stderr* specify the executed program's standard " "input, standard output and standard error file handles, respectively. Valid " @@ -598,19 +608,19 @@ msgid "" "handle as for stdout." msgstr "" -#: ../../library/subprocess.rst:503 +#: ../../library/subprocess.rst:519 msgid "" "If *preexec_fn* is set to a callable object, this object will be called in " "the child process just before the child is executed. (POSIX only)" msgstr "" -#: ../../library/subprocess.rst:509 +#: ../../library/subprocess.rst:525 msgid "" "The *preexec_fn* parameter is NOT SAFE to use in the presence of threads in " "your application. The child process could deadlock before exec is called." msgstr "" -#: ../../library/subprocess.rst:515 +#: ../../library/subprocess.rst:531 msgid "" "If you need to modify the environment for the child use the *env* parameter " "rather than doing it in a *preexec_fn*. The *start_new_session* and " @@ -618,7 +628,7 @@ msgid "" "to call :func:`os.setsid` or :func:`os.setpgid` in the child." msgstr "" -#: ../../library/subprocess.rst:522 +#: ../../library/subprocess.rst:538 msgid "" "The *preexec_fn* parameter is no longer supported in subinterpreters. The " "use of the parameter in a subinterpreter raises :exc:`RuntimeError`. The new " @@ -626,7 +636,7 @@ msgid "" "and other embedded environments." msgstr "" -#: ../../library/subprocess.rst:527 +#: ../../library/subprocess.rst:543 msgid "" "If *close_fds* is true, all file descriptors except :const:`0`, :const:`1` " "and :const:`2` will be closed before the child process is executed. " @@ -634,38 +644,38 @@ msgid "" "flag as described in :ref:`fd_inheritance`." msgstr "" -#: ../../library/subprocess.rst:532 +#: ../../library/subprocess.rst:548 msgid "" "On Windows, if *close_fds* is true then no handles will be inherited by the " "child process unless explicitly passed in the ``handle_list`` element of :" "attr:`STARTUPINFO.lpAttributeList`, or by standard handle redirection." msgstr "" -#: ../../library/subprocess.rst:536 +#: ../../library/subprocess.rst:552 msgid "" "The default for *close_fds* was changed from :const:`False` to what is " "described above." msgstr "" -#: ../../library/subprocess.rst:540 +#: ../../library/subprocess.rst:556 msgid "" "On Windows the default for *close_fds* was changed from :const:`False` to :" "const:`True` when redirecting the standard handles. It's now possible to set " "*close_fds* to :const:`True` when redirecting the standard handles." msgstr "" -#: ../../library/subprocess.rst:545 +#: ../../library/subprocess.rst:561 msgid "" "*pass_fds* is an optional sequence of file descriptors to keep open between " "the parent and child. Providing any *pass_fds* forces *close_fds* to be :" "const:`True`. (POSIX only)" msgstr "" -#: ../../library/subprocess.rst:549 +#: ../../library/subprocess.rst:565 msgid "The *pass_fds* parameter was added." msgstr "新增 *pass_fds* 參數。" -#: ../../library/subprocess.rst:552 +#: ../../library/subprocess.rst:568 msgid "" "If *cwd* is not ``None``, the function changes the working directory to " "*cwd* before executing the child. *cwd* can be a string, bytes or :term:" @@ -674,57 +684,57 @@ msgid "" "executable path is a relative path." msgstr "" -#: ../../library/subprocess.rst:558 +#: ../../library/subprocess.rst:574 msgid "*cwd* parameter accepts a :term:`path-like object` on POSIX." msgstr "" -#: ../../library/subprocess.rst:561 +#: ../../library/subprocess.rst:577 msgid "*cwd* parameter accepts a :term:`path-like object` on Windows." msgstr "" -#: ../../library/subprocess.rst:564 +#: ../../library/subprocess.rst:580 msgid "*cwd* parameter accepts a bytes object on Windows." msgstr "" -#: ../../library/subprocess.rst:567 +#: ../../library/subprocess.rst:583 msgid "" "If *restore_signals* is true (the default) all signals that Python has set " "to SIG_IGN are restored to SIG_DFL in the child process before the exec. " "Currently this includes the SIGPIPE, SIGXFZ and SIGXFSZ signals. (POSIX only)" msgstr "" -#: ../../library/subprocess.rst:572 +#: ../../library/subprocess.rst:588 msgid "*restore_signals* was added." msgstr "新增 *restore_signals*\\ 。" -#: ../../library/subprocess.rst:575 +#: ../../library/subprocess.rst:591 msgid "" "If *start_new_session* is true the ``setsid()`` system call will be made in " "the child process prior to the execution of the subprocess." msgstr "" -#: ../../library/subprocess.rst:578 ../../library/subprocess.rst:585 -#: ../../library/subprocess.rst:595 ../../library/subprocess.rst:604 -#: ../../library/subprocess.rst:613 ../../library/subprocess.rst:619 +#: ../../library/subprocess.rst:594 ../../library/subprocess.rst:601 +#: ../../library/subprocess.rst:611 ../../library/subprocess.rst:620 +#: ../../library/subprocess.rst:629 ../../library/subprocess.rst:635 msgid ":ref:`Availability `: POSIX" msgstr ":ref:`適用 `:POSIX" -#: ../../library/subprocess.rst:579 +#: ../../library/subprocess.rst:595 msgid "*start_new_session* was added." msgstr "新增 *start_new_session*\\ 。" -#: ../../library/subprocess.rst:582 +#: ../../library/subprocess.rst:598 msgid "" "If *process_group* is a non-negative integer, the ``setpgid(0, value)`` " "system call will be made in the child process prior to the execution of the " "subprocess." msgstr "" -#: ../../library/subprocess.rst:586 +#: ../../library/subprocess.rst:602 msgid "*process_group* was added." msgstr "新增 *process_group*\\ 。" -#: ../../library/subprocess.rst:589 +#: ../../library/subprocess.rst:605 msgid "" "If *group* is not ``None``, the setregid() system call will be made in the " "child process prior to the execution of the subprocess. If the provided " @@ -733,7 +743,7 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: ../../library/subprocess.rst:598 +#: ../../library/subprocess.rst:614 msgid "" "If *extra_groups* is not ``None``, the setgroups() system call will be made " "in the child process prior to the execution of the subprocess. Strings " @@ -742,7 +752,7 @@ msgid "" "verbatim. (POSIX only)" msgstr "" -#: ../../library/subprocess.rst:607 +#: ../../library/subprocess.rst:623 msgid "" "If *user* is not ``None``, the setreuid() system call will be made in the " "child process prior to the execution of the subprocess. If the provided " @@ -751,13 +761,13 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: ../../library/subprocess.rst:616 +#: ../../library/subprocess.rst:632 msgid "" "If *umask* is not negative, the umask() system call will be made in the " "child process prior to the execution of the subprocess." msgstr "" -#: ../../library/subprocess.rst:622 +#: ../../library/subprocess.rst:638 msgid "" "If *env* is not ``None``, it must be a mapping that defines the environment " "variables for the new process; these are used instead of the default " @@ -766,14 +776,14 @@ msgid "" "data:`os.environ` or :data:`os.environb`." msgstr "" -#: ../../library/subprocess.rst:630 +#: ../../library/subprocess.rst:646 msgid "" "If specified, *env* must provide any variables required for the program to " "execute. On Windows, in order to run a `side-by-side assembly`_ the " "specified *env* **must** include a valid :envvar:`SystemRoot`." msgstr "" -#: ../../library/subprocess.rst:636 +#: ../../library/subprocess.rst:652 msgid "" "If *encoding* or *errors* are specified, or *text* is true, the file objects " "*stdin*, *stdout* and *stderr* are opened in text mode with the specified " @@ -783,70 +793,70 @@ msgid "" "in binary mode." msgstr "" -#: ../../library/subprocess.rst:642 +#: ../../library/subprocess.rst:658 msgid "*encoding* and *errors* were added." msgstr "新增 *encoding* 與 *errors*\\ 。" -#: ../../library/subprocess.rst:645 ../../library/subprocess.rst:1246 +#: ../../library/subprocess.rst:661 ../../library/subprocess.rst:1279 msgid "*text* was added as a more readable alias for *universal_newlines*." msgstr "" -#: ../../library/subprocess.rst:648 +#: ../../library/subprocess.rst:664 msgid "" "If given, *startupinfo* will be a :class:`STARTUPINFO` object, which is " "passed to the underlying ``CreateProcess`` function. *creationflags*, if " "given, can be one or more of the following flags:" msgstr "" -#: ../../library/subprocess.rst:652 +#: ../../library/subprocess.rst:668 msgid ":data:`CREATE_NEW_CONSOLE`" msgstr ":data:`CREATE_NEW_CONSOLE`" -#: ../../library/subprocess.rst:653 +#: ../../library/subprocess.rst:669 msgid ":data:`CREATE_NEW_PROCESS_GROUP`" msgstr ":data:`CREATE_NEW_PROCESS_GROUP`" -#: ../../library/subprocess.rst:654 +#: ../../library/subprocess.rst:670 msgid ":data:`ABOVE_NORMAL_PRIORITY_CLASS`" msgstr ":data:`ABOVE_NORMAL_PRIORITY_CLASS`" -#: ../../library/subprocess.rst:655 +#: ../../library/subprocess.rst:671 msgid ":data:`BELOW_NORMAL_PRIORITY_CLASS`" msgstr ":data:`BELOW_NORMAL_PRIORITY_CLASS`" -#: ../../library/subprocess.rst:656 +#: ../../library/subprocess.rst:672 msgid ":data:`HIGH_PRIORITY_CLASS`" msgstr ":data:`HIGH_PRIORITY_CLASS`" -#: ../../library/subprocess.rst:657 +#: ../../library/subprocess.rst:673 msgid ":data:`IDLE_PRIORITY_CLASS`" msgstr ":data:`IDLE_PRIORITY_CLASS`" -#: ../../library/subprocess.rst:658 +#: ../../library/subprocess.rst:674 msgid ":data:`NORMAL_PRIORITY_CLASS`" msgstr ":data:`NORMAL_PRIORITY_CLASS`" -#: ../../library/subprocess.rst:659 +#: ../../library/subprocess.rst:675 msgid ":data:`REALTIME_PRIORITY_CLASS`" msgstr ":data:`REALTIME_PRIORITY_CLASS`" -#: ../../library/subprocess.rst:660 +#: ../../library/subprocess.rst:676 msgid ":data:`CREATE_NO_WINDOW`" msgstr ":data:`CREATE_NO_WINDOW`" -#: ../../library/subprocess.rst:661 +#: ../../library/subprocess.rst:677 msgid ":data:`DETACHED_PROCESS`" msgstr ":data:`DETACHED_PROCESS`" -#: ../../library/subprocess.rst:662 +#: ../../library/subprocess.rst:678 msgid ":data:`CREATE_DEFAULT_ERROR_MODE`" msgstr ":data:`CREATE_DEFAULT_ERROR_MODE`" -#: ../../library/subprocess.rst:663 +#: ../../library/subprocess.rst:679 msgid ":data:`CREATE_BREAKAWAY_FROM_JOB`" msgstr ":data:`CREATE_BREAKAWAY_FROM_JOB`" -#: ../../library/subprocess.rst:665 +#: ../../library/subprocess.rst:681 msgid "" "*pipesize* can be used to change the size of the pipe when :data:`PIPE` is " "used for *stdin*, *stdout* or *stderr*. The size of the pipe is only changed " @@ -854,24 +864,24 @@ msgid "" "platforms will ignore this parameter." msgstr "" -#: ../../library/subprocess.rst:670 +#: ../../library/subprocess.rst:686 msgid "The ``pipesize`` parameter was added." msgstr "新增 ``pipesize`` 參數。" -#: ../../library/subprocess.rst:673 +#: ../../library/subprocess.rst:689 msgid "" "Popen objects are supported as context managers via the :keyword:`with` " "statement: on exit, standard file descriptors are closed, and the process is " "waited for. ::" msgstr "" -#: ../../library/subprocess.rst:326 +#: ../../library/subprocess.rst:334 msgid "" "Raises an :ref:`auditing event ` ``subprocess.Popen`` with " "arguments ``executable``, ``args``, ``cwd``, ``env``." msgstr "" -#: ../../library/subprocess.rst:682 +#: ../../library/subprocess.rst:698 msgid "" "Popen and the other functions in this module that use it raise an :ref:" "`auditing event ` ``subprocess.Popen`` with arguments " @@ -879,17 +889,17 @@ msgid "" "be a single string or a list of strings, depending on platform." msgstr "" -#: ../../library/subprocess.rst:687 +#: ../../library/subprocess.rst:703 msgid "Added context manager support." msgstr "" -#: ../../library/subprocess.rst:690 +#: ../../library/subprocess.rst:706 msgid "" "Popen destructor now emits a :exc:`ResourceWarning` warning if the child " "process is still running." msgstr "" -#: ../../library/subprocess.rst:694 +#: ../../library/subprocess.rst:710 msgid "" "Popen can use :func:`os.posix_spawn` in some cases for better performance. " "On Windows Subsystem for Linux and QEMU User Emulation, Popen constructor " @@ -898,17 +908,17 @@ msgid "" "returncode`." msgstr "" -#: ../../library/subprocess.rst:703 +#: ../../library/subprocess.rst:719 msgid "Exceptions" msgstr "例外" -#: ../../library/subprocess.rst:705 +#: ../../library/subprocess.rst:721 msgid "" "Exceptions raised in the child process, before the new program has started " "to execute, will be re-raised in the parent." msgstr "" -#: ../../library/subprocess.rst:708 +#: ../../library/subprocess.rst:724 msgid "" "The most common exception raised is :exc:`OSError`. This occurs, for " "example, when trying to execute a non-existent file. Applications should " @@ -919,39 +929,39 @@ msgid "" "subprocess." msgstr "" -#: ../../library/subprocess.rst:715 +#: ../../library/subprocess.rst:731 msgid "" "A :exc:`ValueError` will be raised if :class:`Popen` is called with invalid " "arguments." msgstr "" -#: ../../library/subprocess.rst:718 +#: ../../library/subprocess.rst:734 msgid "" ":func:`check_call` and :func:`check_output` will raise :exc:" "`CalledProcessError` if the called process returns a non-zero return code." msgstr "" -#: ../../library/subprocess.rst:722 +#: ../../library/subprocess.rst:738 msgid "" "All of the functions and methods that accept a *timeout* parameter, such as :" "func:`call` and :meth:`Popen.communicate` will raise :exc:`TimeoutExpired` " "if the timeout expires before the process exits." msgstr "" -#: ../../library/subprocess.rst:726 +#: ../../library/subprocess.rst:742 msgid "" "Exceptions defined in this module all inherit from :exc:`SubprocessError`." msgstr "" -#: ../../library/subprocess.rst:728 +#: ../../library/subprocess.rst:744 msgid "The :exc:`SubprocessError` base class was added." msgstr "" -#: ../../library/subprocess.rst:734 +#: ../../library/subprocess.rst:750 msgid "Security Considerations" msgstr "" -#: ../../library/subprocess.rst:736 +#: ../../library/subprocess.rst:752 msgid "" "Unlike some other popen functions, this implementation will never implicitly " "call a system shell. This means that all characters, including shell " @@ -964,34 +974,34 @@ msgid "" "escaping." msgstr "" -#: ../../library/subprocess.rst:748 +#: ../../library/subprocess.rst:764 msgid "Popen Objects" msgstr "" -#: ../../library/subprocess.rst:750 +#: ../../library/subprocess.rst:766 msgid "Instances of the :class:`Popen` class have the following methods:" msgstr "" -#: ../../library/subprocess.rst:755 +#: ../../library/subprocess.rst:771 msgid "" "Check if child process has terminated. Set and return :attr:`~Popen." "returncode` attribute. Otherwise, returns ``None``." msgstr "" -#: ../../library/subprocess.rst:761 +#: ../../library/subprocess.rst:777 msgid "" "Wait for child process to terminate. Set and return :attr:`~Popen." "returncode` attribute." msgstr "" -#: ../../library/subprocess.rst:764 +#: ../../library/subprocess.rst:780 msgid "" "If the process does not terminate after *timeout* seconds, raise a :exc:" "`TimeoutExpired` exception. It is safe to catch this exception and retry " "the wait." msgstr "" -#: ../../library/subprocess.rst:770 +#: ../../library/subprocess.rst:786 msgid "" "This will deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and the " "child process generates enough output to a pipe such that it blocks waiting " @@ -999,20 +1009,20 @@ msgid "" "when using pipes to avoid that." msgstr "" -#: ../../library/subprocess.rst:777 +#: ../../library/subprocess.rst:793 msgid "" "The function is implemented using a busy loop (non-blocking call and short " "sleeps). Use the :mod:`asyncio` module for an asynchronous wait: see :class:" "`asyncio.create_subprocess_exec`." msgstr "" -#: ../../library/subprocess.rst:781 ../../library/subprocess.rst:822 -#: ../../library/subprocess.rst:1159 ../../library/subprocess.rst:1191 -#: ../../library/subprocess.rst:1237 +#: ../../library/subprocess.rst:797 ../../library/subprocess.rst:838 +#: ../../library/subprocess.rst:1176 ../../library/subprocess.rst:1216 +#: ../../library/subprocess.rst:1270 msgid "*timeout* was added." msgstr "新增 *timeout*\\ 。" -#: ../../library/subprocess.rst:786 +#: ../../library/subprocess.rst:802 msgid "" "Interact with process: Send data to stdin. Read data from stdout and " "stderr, until end-of-file is reached. Wait for process to terminate and set " @@ -1022,13 +1032,13 @@ msgid "" "must be a string. Otherwise, it must be bytes." msgstr "" -#: ../../library/subprocess.rst:793 +#: ../../library/subprocess.rst:809 msgid "" ":meth:`communicate` returns a tuple ``(stdout_data, stderr_data)``. The data " "will be strings if streams were opened in text mode; otherwise, bytes." msgstr "" -#: ../../library/subprocess.rst:797 +#: ../../library/subprocess.rst:813 msgid "" "Note that if you want to send data to the process's stdin, you need to " "create the Popen object with ``stdin=PIPE``. Similarly, to get anything " @@ -1036,94 +1046,96 @@ msgid "" "and/or ``stderr=PIPE`` too." msgstr "" -#: ../../library/subprocess.rst:802 +#: ../../library/subprocess.rst:818 msgid "" "If the process does not terminate after *timeout* seconds, a :exc:" "`TimeoutExpired` exception will be raised. Catching this exception and " "retrying communication will not lose any output." msgstr "" -#: ../../library/subprocess.rst:806 +#: ../../library/subprocess.rst:822 msgid "" "The child process is not killed if the timeout expires, so in order to " "cleanup properly a well-behaved application should kill the child process " "and finish communication::" msgstr "" -#: ../../library/subprocess.rst:819 +#: ../../library/subprocess.rst:835 msgid "" "The data read is buffered in memory, so do not use this method if the data " "size is large or unlimited." msgstr "" -#: ../../library/subprocess.rst:828 +#: ../../library/subprocess.rst:844 msgid "Sends the signal *signal* to the child." msgstr "" -#: ../../library/subprocess.rst:830 +#: ../../library/subprocess.rst:846 msgid "Do nothing if the process completed." msgstr "" -#: ../../library/subprocess.rst:834 +#: ../../library/subprocess.rst:850 msgid "" "On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and " "CTRL_BREAK_EVENT can be sent to processes started with a *creationflags* " "parameter which includes ``CREATE_NEW_PROCESS_GROUP``." msgstr "" -#: ../../library/subprocess.rst:841 +#: ../../library/subprocess.rst:857 msgid "" "Stop the child. On POSIX OSs the method sends SIGTERM to the child. On " "Windows the Win32 API function :c:func:`TerminateProcess` is called to stop " "the child." msgstr "" -#: ../../library/subprocess.rst:848 +#: ../../library/subprocess.rst:864 msgid "" "Kills the child. On POSIX OSs the function sends SIGKILL to the child. On " "Windows :meth:`kill` is an alias for :meth:`terminate`." msgstr "" -#: ../../library/subprocess.rst:852 -msgid "The following attributes are also available:" +#: ../../library/subprocess.rst:868 +msgid "" +"The following attributes are also set by the class for you to access. " +"Reassigning them to new values is unsupported:" msgstr "" -#: ../../library/subprocess.rst:856 +#: ../../library/subprocess.rst:873 msgid "" "The *args* argument as it was passed to :class:`Popen` -- a sequence of " "program arguments or else a single string." msgstr "" -#: ../../library/subprocess.rst:863 +#: ../../library/subprocess.rst:880 msgid "" "If the *stdin* argument was :data:`PIPE`, this attribute is a writeable " "stream object as returned by :func:`open`. If the *encoding* or *errors* " -"arguments were specified or the *universal_newlines* argument was ``True``, " -"the stream is a text stream, otherwise it is a byte stream. If the *stdin* " -"argument was not :data:`PIPE`, this attribute is ``None``." +"arguments were specified or the *text* or *universal_newlines* argument was " +"``True``, the stream is a text stream, otherwise it is a byte stream. If the " +"*stdin* argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: ../../library/subprocess.rst:872 +#: ../../library/subprocess.rst:889 msgid "" "If the *stdout* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " "output from the child process. If the *encoding* or *errors* arguments were " -"specified or the *universal_newlines* argument was ``True``, the stream is a " -"text stream, otherwise it is a byte stream. If the *stdout* argument was " -"not :data:`PIPE`, this attribute is ``None``." +"specified or the *text* or *universal_newlines* argument was ``True``, the " +"stream is a text stream, otherwise it is a byte stream. If the *stdout* " +"argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: ../../library/subprocess.rst:882 +#: ../../library/subprocess.rst:899 msgid "" "If the *stderr* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " "error output from the child process. If the *encoding* or *errors* arguments " -"were specified or the *universal_newlines* argument was ``True``, the stream " -"is a text stream, otherwise it is a byte stream. If the *stderr* argument " -"was not :data:`PIPE`, this attribute is ``None``." +"were specified or the *text* or *universal_newlines* argument was ``True``, " +"the stream is a text stream, otherwise it is a byte stream. If the *stderr* " +"argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: ../../library/subprocess.rst:891 +#: ../../library/subprocess.rst:908 msgid "" "Use :meth:`~Popen.communicate` rather than :attr:`.stdin.write `, :attr:`.stdout.read ` or :attr:`.stderr.read `__ structure is used for :class:`Popen` " @@ -1166,38 +1178,38 @@ msgid "" "only arguments." msgstr "" -#: ../../library/subprocess.rst:929 +#: ../../library/subprocess.rst:946 msgid "Keyword-only argument support was added." msgstr "" -#: ../../library/subprocess.rst:934 +#: ../../library/subprocess.rst:951 msgid "" "A bit field that determines whether certain :class:`STARTUPINFO` attributes " "are used when the process creates a window. ::" msgstr "" -#: ../../library/subprocess.rst:942 +#: ../../library/subprocess.rst:959 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard input handle for the process. If :data:`STARTF_USESTDHANDLES` " "is not specified, the default for standard input is the keyboard buffer." msgstr "" -#: ../../library/subprocess.rst:949 +#: ../../library/subprocess.rst:966 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard output handle for the process. Otherwise, this attribute is " "ignored and the default for standard output is the console window's buffer." msgstr "" -#: ../../library/subprocess.rst:956 +#: ../../library/subprocess.rst:973 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard error handle for the process. Otherwise, this attribute is " "ignored and the default for standard error is the console window's buffer." msgstr "" -#: ../../library/subprocess.rst:962 +#: ../../library/subprocess.rst:979 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute " "can be any of the values that can be specified in the ``nCmdShow`` parameter " @@ -1206,34 +1218,34 @@ msgid "" "Otherwise, this attribute is ignored." msgstr "" -#: ../../library/subprocess.rst:969 +#: ../../library/subprocess.rst:986 msgid "" ":data:`SW_HIDE` is provided for this attribute. It is used when :class:" "`Popen` is called with ``shell=True``." msgstr "" -#: ../../library/subprocess.rst:974 +#: ../../library/subprocess.rst:991 msgid "" "A dictionary of additional attributes for process creation as given in " "``STARTUPINFOEX``, see `UpdateProcThreadAttribute `__." msgstr "" -#: ../../library/subprocess.rst:978 +#: ../../library/subprocess.rst:995 msgid "Supported attributes:" msgstr "" -#: ../../library/subprocess.rst:996 +#: ../../library/subprocess.rst:1013 msgid "**handle_list**" msgstr "**handle_list**" -#: ../../library/subprocess.rst:981 +#: ../../library/subprocess.rst:998 msgid "" "Sequence of handles that will be inherited. *close_fds* must be true if non-" "empty." msgstr "" -#: ../../library/subprocess.rst:984 +#: ../../library/subprocess.rst:1001 msgid "" "The handles must be temporarily made inheritable by :func:`os." "set_handle_inheritable` when passed to the :class:`Popen` constructor, else :" @@ -1241,7 +1253,7 @@ msgid "" "``ERROR_INVALID_PARAMETER`` (87)." msgstr "" -#: ../../library/subprocess.rst:991 +#: ../../library/subprocess.rst:1008 msgid "" "In a multithreaded process, use caution to avoid leaking handles that are " "marked inheritable when combining this feature with concurrent calls to " @@ -1250,97 +1262,97 @@ msgid "" "temporarily creates inheritable handles." msgstr "" -#: ../../library/subprocess.rst:1001 +#: ../../library/subprocess.rst:1018 msgid "Windows Constants" msgstr "" -#: ../../library/subprocess.rst:1003 +#: ../../library/subprocess.rst:1020 msgid "The :mod:`subprocess` module exposes the following constants." msgstr "" -#: ../../library/subprocess.rst:1007 +#: ../../library/subprocess.rst:1024 msgid "" "The standard input device. Initially, this is the console input buffer, " "``CONIN$``." msgstr "" -#: ../../library/subprocess.rst:1012 +#: ../../library/subprocess.rst:1029 msgid "" "The standard output device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: ../../library/subprocess.rst:1017 +#: ../../library/subprocess.rst:1034 msgid "" "The standard error device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: ../../library/subprocess.rst:1022 +#: ../../library/subprocess.rst:1039 msgid "Hides the window. Another window will be activated." msgstr "" -#: ../../library/subprocess.rst:1026 +#: ../../library/subprocess.rst:1043 msgid "" "Specifies that the :attr:`STARTUPINFO.hStdInput`, :attr:`STARTUPINFO." "hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes contain additional " "information." msgstr "" -#: ../../library/subprocess.rst:1032 +#: ../../library/subprocess.rst:1049 msgid "" "Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains " "additional information." msgstr "" -#: ../../library/subprocess.rst:1037 +#: ../../library/subprocess.rst:1054 msgid "" "The new process has a new console, instead of inheriting its parent's " "console (the default)." msgstr "" -#: ../../library/subprocess.rst:1042 +#: ../../library/subprocess.rst:1059 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "group will be created. This flag is necessary for using :func:`os.kill` on " "the subprocess." msgstr "" -#: ../../library/subprocess.rst:1046 +#: ../../library/subprocess.rst:1063 msgid "This flag is ignored if :data:`CREATE_NEW_CONSOLE` is specified." msgstr "" -#: ../../library/subprocess.rst:1050 +#: ../../library/subprocess.rst:1067 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an above average priority." msgstr "" -#: ../../library/subprocess.rst:1057 +#: ../../library/subprocess.rst:1074 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a below average priority." msgstr "" -#: ../../library/subprocess.rst:1064 +#: ../../library/subprocess.rst:1081 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a high priority." msgstr "" -#: ../../library/subprocess.rst:1071 +#: ../../library/subprocess.rst:1088 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an idle (lowest) priority." msgstr "" -#: ../../library/subprocess.rst:1078 +#: ../../library/subprocess.rst:1095 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an normal priority. (default)" msgstr "" -#: ../../library/subprocess.rst:1085 +#: ../../library/subprocess.rst:1102 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have realtime priority. You should almost never use " @@ -1350,20 +1362,20 @@ msgid "" "perform brief tasks that should have limited interruptions." msgstr "" -#: ../../library/subprocess.rst:1096 +#: ../../library/subprocess.rst:1113 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not create a window." msgstr "" -#: ../../library/subprocess.rst:1103 +#: ../../library/subprocess.rst:1120 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not inherit its parent's console. This value cannot be used with " "CREATE_NEW_CONSOLE." msgstr "" -#: ../../library/subprocess.rst:1111 +#: ../../library/subprocess.rst:1128 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "does not inherit the error mode of the calling process. Instead, the new " @@ -1371,39 +1383,39 @@ msgid "" "multithreaded shell applications that run with hard errors disabled." msgstr "" -#: ../../library/subprocess.rst:1121 +#: ../../library/subprocess.rst:1138 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "is not associated with the job." msgstr "" -#: ../../library/subprocess.rst:1129 +#: ../../library/subprocess.rst:1146 msgid "Older high-level API" msgstr "" -#: ../../library/subprocess.rst:1131 +#: ../../library/subprocess.rst:1148 msgid "" "Prior to Python 3.5, these three functions comprised the high level API to " "subprocess. You can now use :func:`run` in many cases, but lots of existing " "code calls these functions." msgstr "" -#: ../../library/subprocess.rst:1138 +#: ../../library/subprocess.rst:1155 msgid "" "Run the command described by *args*. Wait for command to complete, then " "return the :attr:`~Popen.returncode` attribute." msgstr "" -#: ../../library/subprocess.rst:1141 ../../library/subprocess.rst:1173 +#: ../../library/subprocess.rst:1158 ../../library/subprocess.rst:1198 msgid "" "Code needing to capture stdout or stderr should use :func:`run` instead::" msgstr "" -#: ../../library/subprocess.rst:1145 ../../library/subprocess.rst:1177 +#: ../../library/subprocess.rst:1162 ../../library/subprocess.rst:1202 msgid "To suppress stdout or stderr, supply a value of :data:`DEVNULL`." msgstr "" -#: ../../library/subprocess.rst:1147 ../../library/subprocess.rst:1179 +#: ../../library/subprocess.rst:1164 ../../library/subprocess.rst:1204 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is the same as that of the :class:`Popen` constructor - this " @@ -1411,14 +1423,14 @@ msgid "" "to that interface." msgstr "" -#: ../../library/subprocess.rst:1154 ../../library/subprocess.rst:1186 +#: ../../library/subprocess.rst:1171 ../../library/subprocess.rst:1211 msgid "" "Do not use ``stdout=PIPE`` or ``stderr=PIPE`` with this function. The child " "process will block if it generates enough output to a pipe to fill up the OS " "pipe buffer as the pipes are not being read from." msgstr "" -#: ../../library/subprocess.rst:1166 +#: ../../library/subprocess.rst:1191 msgid "" "Run command with arguments. Wait for command to complete. If the return " "code was zero then return, otherwise raise :exc:`CalledProcessError`. The :" @@ -1427,11 +1439,11 @@ msgid "" "to start the process it will propagate the exception that was raised." msgstr "" -#: ../../library/subprocess.rst:1200 +#: ../../library/subprocess.rst:1233 msgid "Run command with arguments and return its output." msgstr "" -#: ../../library/subprocess.rst:1202 +#: ../../library/subprocess.rst:1235 msgid "" "If the return code was non-zero it raises a :exc:`CalledProcessError`. The :" "exc:`CalledProcessError` object will have the return code in the :attr:" @@ -1439,11 +1451,11 @@ msgid "" "`~CalledProcessError.output` attribute." msgstr "" -#: ../../library/subprocess.rst:1207 +#: ../../library/subprocess.rst:1240 msgid "This is equivalent to::" msgstr "" -#: ../../library/subprocess.rst:1211 +#: ../../library/subprocess.rst:1244 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is largely the same as that of :func:`run` - most arguments are " @@ -1453,52 +1465,52 @@ msgid "" "using the parent's standard input file handle." msgstr "" -#: ../../library/subprocess.rst:1218 +#: ../../library/subprocess.rst:1251 msgid "" "By default, this function will return the data as encoded bytes. The actual " "encoding of the output data may depend on the command being invoked, so the " "decoding to text will often need to be handled at the application level." msgstr "" -#: ../../library/subprocess.rst:1222 +#: ../../library/subprocess.rst:1255 msgid "" "This behaviour may be overridden by setting *text*, *encoding*, *errors*, or " "*universal_newlines* to ``True`` as described in :ref:`frequently-used-" "arguments` and :func:`run`." msgstr "" -#: ../../library/subprocess.rst:1226 +#: ../../library/subprocess.rst:1259 msgid "" "To also capture standard error in the result, use ``stderr=subprocess." "STDOUT``::" msgstr "" -#: ../../library/subprocess.rst:1240 +#: ../../library/subprocess.rst:1273 msgid "Support for the *input* keyword argument was added." msgstr "新增 *input* 關鍵字引數的支援。" -#: ../../library/subprocess.rst:1243 +#: ../../library/subprocess.rst:1276 msgid "*encoding* and *errors* were added. See :func:`run` for details." msgstr "新增 *encoding* 與 *errors*\\ 。細節請見 :func:`run`\\ 。" -#: ../../library/subprocess.rst:1253 +#: ../../library/subprocess.rst:1294 msgid "Replacing Older Functions with the :mod:`subprocess` Module" msgstr "" -#: ../../library/subprocess.rst:1255 +#: ../../library/subprocess.rst:1296 msgid "" "In this section, \"a becomes b\" means that b can be used as a replacement " "for a." msgstr "" -#: ../../library/subprocess.rst:1259 +#: ../../library/subprocess.rst:1300 msgid "" "All \"a\" functions in this section fail (more or less) silently if the " "executed program cannot be found; the \"b\" replacements raise :exc:" "`OSError` instead." msgstr "" -#: ../../library/subprocess.rst:1263 +#: ../../library/subprocess.rst:1304 msgid "" "In addition, the replacements using :func:`check_output` will fail with a :" "exc:`CalledProcessError` if the requested operation produces a non-zero " @@ -1506,143 +1518,143 @@ msgid "" "output` attribute of the raised exception." msgstr "" -#: ../../library/subprocess.rst:1268 +#: ../../library/subprocess.rst:1309 msgid "" "In the following examples, we assume that the relevant functions have " "already been imported from the :mod:`subprocess` module." msgstr "" -#: ../../library/subprocess.rst:1273 +#: ../../library/subprocess.rst:1314 msgid "Replacing :program:`/bin/sh` shell command substitution" msgstr "" -#: ../../library/subprocess.rst:1279 ../../library/subprocess.rst:1290 -#: ../../library/subprocess.rst:1307 +#: ../../library/subprocess.rst:1320 ../../library/subprocess.rst:1331 +#: ../../library/subprocess.rst:1348 msgid "becomes::" msgstr "" "變成:\n" "\n" "::" -#: ../../library/subprocess.rst:1284 +#: ../../library/subprocess.rst:1325 msgid "Replacing shell pipeline" msgstr "" -#: ../../library/subprocess.rst:1297 +#: ../../library/subprocess.rst:1338 msgid "" "The ``p1.stdout.close()`` call after starting the p2 is important in order " "for p1 to receive a SIGPIPE if p2 exits before p1." msgstr "" -#: ../../library/subprocess.rst:1300 +#: ../../library/subprocess.rst:1341 msgid "" "Alternatively, for trusted input, the shell's own pipeline support may still " "be used directly:" msgstr "" -#: ../../library/subprocess.rst:1313 +#: ../../library/subprocess.rst:1354 msgid "Replacing :func:`os.system`" msgstr "" -#: ../../library/subprocess.rst:1321 +#: ../../library/subprocess.rst:1362 msgid "Notes:" msgstr "註解:" -#: ../../library/subprocess.rst:1323 +#: ../../library/subprocess.rst:1364 msgid "Calling the program through the shell is usually not required." msgstr "" -#: ../../library/subprocess.rst:1324 +#: ../../library/subprocess.rst:1365 msgid "" "The :func:`call` return value is encoded differently to that of :func:`os." "system`." msgstr "" -#: ../../library/subprocess.rst:1327 +#: ../../library/subprocess.rst:1368 msgid "" "The :func:`os.system` function ignores SIGINT and SIGQUIT signals while the " "command is running, but the caller must do this separately when using the :" "mod:`subprocess` module." msgstr "" -#: ../../library/subprocess.rst:1331 +#: ../../library/subprocess.rst:1372 msgid "A more realistic example would look like this::" msgstr "" -#: ../../library/subprocess.rst:1344 +#: ../../library/subprocess.rst:1385 msgid "Replacing the :func:`os.spawn ` family" msgstr "" -#: ../../library/subprocess.rst:1346 +#: ../../library/subprocess.rst:1387 msgid "P_NOWAIT example::" msgstr "" "P_NOWAIT 範例:\n" "\n" "::" -#: ../../library/subprocess.rst:1352 +#: ../../library/subprocess.rst:1393 msgid "P_WAIT example::" msgstr "" "P_WAIT 範例:\n" "\n" "::" -#: ../../library/subprocess.rst:1358 +#: ../../library/subprocess.rst:1399 msgid "Vector example::" msgstr "" -#: ../../library/subprocess.rst:1364 +#: ../../library/subprocess.rst:1405 msgid "Environment example::" msgstr "" -#: ../../library/subprocess.rst:1373 +#: ../../library/subprocess.rst:1414 msgid "Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" msgstr "" -#: ../../library/subprocess.rst:1403 +#: ../../library/subprocess.rst:1444 msgid "Return code handling translates as follows::" msgstr "" -#: ../../library/subprocess.rst:1419 +#: ../../library/subprocess.rst:1460 msgid "Replacing functions from the :mod:`popen2` module" msgstr "" -#: ../../library/subprocess.rst:1423 +#: ../../library/subprocess.rst:1464 msgid "" "If the cmd argument to popen2 functions is a string, the command is executed " "through /bin/sh. If it is a list, the command is directly executed." msgstr "" -#: ../../library/subprocess.rst:1442 +#: ../../library/subprocess.rst:1483 msgid "" ":class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as :class:" "`subprocess.Popen`, except that:" msgstr "" -#: ../../library/subprocess.rst:1445 +#: ../../library/subprocess.rst:1486 msgid ":class:`Popen` raises an exception if the execution fails." msgstr "" -#: ../../library/subprocess.rst:1447 +#: ../../library/subprocess.rst:1488 msgid "The *capturestderr* argument is replaced with the *stderr* argument." msgstr "" -#: ../../library/subprocess.rst:1449 +#: ../../library/subprocess.rst:1490 msgid "``stdin=PIPE`` and ``stdout=PIPE`` must be specified." msgstr "" -#: ../../library/subprocess.rst:1451 +#: ../../library/subprocess.rst:1492 msgid "" "popen2 closes all file descriptors by default, but you have to specify " "``close_fds=True`` with :class:`Popen` to guarantee this behavior on all " "platforms or past Python versions." msgstr "" -#: ../../library/subprocess.rst:1457 +#: ../../library/subprocess.rst:1498 msgid "Legacy Shell Invocation Functions" msgstr "" -#: ../../library/subprocess.rst:1459 +#: ../../library/subprocess.rst:1500 msgid "" "This module also provides the following legacy functions from the 2.x " "``commands`` module. These operations implicitly invoke the system shell and " @@ -1650,11 +1662,11 @@ msgid "" "handling consistency are valid for these functions." msgstr "" -#: ../../library/subprocess.rst:1466 +#: ../../library/subprocess.rst:1507 msgid "Return ``(exitcode, output)`` of executing *cmd* in a shell." msgstr "" -#: ../../library/subprocess.rst:1468 +#: ../../library/subprocess.rst:1509 msgid "" "Execute the string *cmd* in a shell with :meth:`Popen.check_output` and " "return a 2-tuple ``(exitcode, output)``. *encoding* and *errors* are used to " @@ -1662,85 +1674,85 @@ msgid "" "details." msgstr "" -#: ../../library/subprocess.rst:1473 +#: ../../library/subprocess.rst:1514 msgid "" "A trailing newline is stripped from the output. The exit code for the " "command can be interpreted as the return code of subprocess. Example::" msgstr "" -#: ../../library/subprocess.rst:1487 ../../library/subprocess.rst:1509 +#: ../../library/subprocess.rst:1527 ../../library/subprocess.rst:1549 msgid ":ref:`Availability `: Unix, Windows." msgstr ":ref:`適用 `:Unix 和 Windows。" -#: ../../library/subprocess.rst:1488 +#: ../../library/subprocess.rst:1529 msgid "Windows support was added." msgstr "" -#: ../../library/subprocess.rst:1491 +#: ../../library/subprocess.rst:1532 msgid "" "The function now returns (exitcode, output) instead of (status, output) as " "it did in Python 3.3.3 and earlier. exitcode has the same value as :attr:" "`~Popen.returncode`." msgstr "" -#: ../../library/subprocess.rst:1495 ../../library/subprocess.rst:1513 +#: ../../library/subprocess.rst:1536 ../../library/subprocess.rst:1554 msgid "Added *encoding* and *errors* arguments." msgstr "新增 *encoding* 與 *errors* 引數。" -#: ../../library/subprocess.rst:1500 +#: ../../library/subprocess.rst:1541 msgid "Return output (stdout and stderr) of executing *cmd* in a shell." msgstr "" -#: ../../library/subprocess.rst:1502 +#: ../../library/subprocess.rst:1543 msgid "" "Like :func:`getstatusoutput`, except the exit code is ignored and the return " "value is a string containing the command's output. Example::" msgstr "" -#: ../../library/subprocess.rst:1510 +#: ../../library/subprocess.rst:1551 msgid "Windows support added" msgstr "" -#: ../../library/subprocess.rst:1518 +#: ../../library/subprocess.rst:1559 msgid "Notes" msgstr "註解" -#: ../../library/subprocess.rst:1523 +#: ../../library/subprocess.rst:1564 msgid "Converting an argument sequence to a string on Windows" msgstr "" -#: ../../library/subprocess.rst:1525 +#: ../../library/subprocess.rst:1566 msgid "" "On Windows, an *args* sequence is converted to a string that can be parsed " "using the following rules (which correspond to the rules used by the MS C " "runtime):" msgstr "" -#: ../../library/subprocess.rst:1529 +#: ../../library/subprocess.rst:1570 msgid "" "Arguments are delimited by white space, which is either a space or a tab." msgstr "" -#: ../../library/subprocess.rst:1532 +#: ../../library/subprocess.rst:1573 msgid "" "A string surrounded by double quotation marks is interpreted as a single " "argument, regardless of white space contained within. A quoted string can " "be embedded in an argument." msgstr "" -#: ../../library/subprocess.rst:1537 +#: ../../library/subprocess.rst:1578 msgid "" "A double quotation mark preceded by a backslash is interpreted as a literal " "double quotation mark." msgstr "" -#: ../../library/subprocess.rst:1540 +#: ../../library/subprocess.rst:1581 msgid "" "Backslashes are interpreted literally, unless they immediately precede a " "double quotation mark." msgstr "" -#: ../../library/subprocess.rst:1543 +#: ../../library/subprocess.rst:1584 msgid "" "If backslashes immediately precede a double quotation mark, every pair of " "backslashes is interpreted as a literal backslash. If the number of " @@ -1748,33 +1760,33 @@ msgid "" "mark as described in rule 3." msgstr "" -#: ../../library/subprocess.rst:1552 +#: ../../library/subprocess.rst:1593 msgid ":mod:`shlex`" msgstr ":mod:`shlex`" -#: ../../library/subprocess.rst:1553 +#: ../../library/subprocess.rst:1594 msgid "Module which provides function to parse and escape command lines." msgstr "" -#: ../../library/subprocess.rst:1560 +#: ../../library/subprocess.rst:1601 msgid "Disabling use of ``vfork()`` or ``posix_spawn()``" msgstr "" -#: ../../library/subprocess.rst:1562 +#: ../../library/subprocess.rst:1603 msgid "" "On Linux, :mod:`subprocess` defaults to using the ``vfork()`` system call " "internally when it is safe to do so rather than ``fork()``. This greatly " "improves performance." msgstr "" -#: ../../library/subprocess.rst:1566 +#: ../../library/subprocess.rst:1607 msgid "" "If you ever encounter a presumed highly unusual situation where you need to " "prevent ``vfork()`` from being used by Python, you can set the :attr:" "`subprocess._USE_VFORK` attribute to a false value." msgstr "" -#: ../../library/subprocess.rst:1574 +#: ../../library/subprocess.rst:1615 msgid "" "Setting this has no impact on use of ``posix_spawn()`` which could use " "``vfork()`` internally within its libc implementation. There is a similar :" @@ -1782,7 +1794,7 @@ msgid "" "that." msgstr "" -#: ../../library/subprocess.rst:1583 +#: ../../library/subprocess.rst:1624 msgid "" "It is safe to set these to false on any Python version. They will have no " "effect on older versions when unsupported. Do not assume the attributes are " @@ -1790,17 +1802,17 @@ msgid "" "the corresponding function will be used, only that that it may be." msgstr "" -#: ../../library/subprocess.rst:1588 +#: ../../library/subprocess.rst:1629 msgid "" "Please file issues any time you have to use these private knobs with a way " "to reproduce the issue you were seeing. Link to that issue from a comment in " "your code." msgstr "" -#: ../../library/subprocess.rst:1592 +#: ../../library/subprocess.rst:1633 msgid "``_USE_POSIX_SPAWN``" msgstr "``_USE_POSIX_SPAWN``" -#: ../../library/subprocess.rst:1593 +#: ../../library/subprocess.rst:1634 msgid "``_USE_VFORK``" msgstr "``_USE_VFORK``" diff --git a/library/sys.po b/library/sys.po index f6ee2572ac..c1edd60b17 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-13 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:12+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -346,8 +346,8 @@ msgstr "" msgid "Integer specifying the handle of the Python DLL." msgstr "" -#: ../../library/sys.rst:278 ../../library/sys.rst:874 -#: ../../library/sys.rst:1580 ../../library/sys.rst:1812 +#: ../../library/sys.rst:278 ../../library/sys.rst:873 +#: ../../library/sys.rst:1579 ../../library/sys.rst:1812 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" @@ -438,7 +438,7 @@ msgstr ":const:`shared_memory`" msgid "``True`` if Python is compiled with shared memory support." msgstr "" -#: ../../library/sys.rst:351 +#: ../../library/sys.rst:350 msgid ":ref:`Availability `: Emscripten." msgstr ":ref:`適用 `:Emscripten。" @@ -1023,7 +1023,7 @@ msgstr "" msgid "Return the build time API version of Android as an integer." msgstr "" -#: ../../library/sys.rst:668 +#: ../../library/sys.rst:667 msgid ":ref:`Availability `: Android." msgstr ":ref:`適用 `:Android。" diff --git a/library/syslog.po b/library/syslog.po index 3081f2dbf3..781f1b9eb0 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2015-12-09 17:51+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -36,7 +36,7 @@ msgid "" "handlers` module as :class:`SysLogHandler`." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/telnetlib.po b/library/telnetlib.po index 0ce0276564..f39be0f5d4 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-05-22 02:15+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -54,7 +54,7 @@ msgid "" "(Erase Character), EL (Erase Line), GA (Go Ahead), SB (Subnegotiation Begin)." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/threading.po b/library/threading.po index b9fc294cca..1ffef673c2 100644 --- a/library/threading.po +++ b/library/threading.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:12+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -74,7 +74,7 @@ msgid "" "appropriate model if you want to run multiple I/O-bound tasks simultaneously." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -195,7 +195,7 @@ msgid "" "after which the value may be recycled by the OS)." msgstr "" -#: ../../library/threading.rst:131 +#: ../../library/threading.rst:130 msgid "" ":ref:`Availability `: Windows, FreeBSD, Linux, macOS, OpenBSD, " "NetBSD, AIX." @@ -257,7 +257,7 @@ msgid "" "information)." msgstr "" -#: ../../library/threading.rst:-1 +#: ../../library/threading.rst:208 msgid ":ref:`Availability `: Windows, pthreads." msgstr ":ref:`適用 `:Windows, pthreads。" @@ -582,7 +582,7 @@ msgid "" "terminated." msgstr "" -#: ../../library/threading.rst:448 +#: ../../library/threading.rst:447 msgid "" ":ref:`Availability `: Windows, FreeBSD, Linux, macOS, OpenBSD, " "NetBSD, AIX, DragonFlyBSD." diff --git a/library/time.po b/library/time.po index eec664ca75..36a22cdebe 100644 --- a/library/time.po +++ b/library/time.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:12+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -216,7 +216,7 @@ msgid "" "such as segmentation fault." msgstr "" -#: ../../library/time.rst:-1 +#: ../../library/time.rst:147 msgid ":ref:`Availability `: Unix" msgstr ":ref:`適用 `:Unix" @@ -232,11 +232,11 @@ msgid "" "to :ref:`time-clock-id-constants` for a list of accepted values for *clk_id*." msgstr "" -#: ../../library/time.rst:160 ../../library/time.rst:173 -#: ../../library/time.rst:182 ../../library/time.rst:195 -#: ../../library/time.rst:204 ../../library/time.rst:681 -#: ../../library/time.rst:798 ../../library/time.rst:817 -#: ../../library/time.rst:845 ../../library/time.rst:880 +#: ../../library/time.rst:159 ../../library/time.rst:172 +#: ../../library/time.rst:181 ../../library/time.rst:194 +#: ../../library/time.rst:203 ../../library/time.rst:680 +#: ../../library/time.rst:797 ../../library/time.rst:816 +#: ../../library/time.rst:844 ../../library/time.rst:879 msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。" @@ -786,8 +786,8 @@ msgstr "" msgid "" "On some platforms, an optional field width and precision specification can " "immediately follow the initial ``'%'`` of a directive in the following " -"order; this is also not portable. The field width is normally 2 except for ``" -"%j`` where it is 3." +"order; this is also not portable. The field width is normally 2 except for " +"``%j`` where it is 3." msgstr "" #: ../../library/time.rst:531 @@ -1052,7 +1052,7 @@ msgid "" "`float` type." msgstr "" -#: ../../library/time.rst:-1 +#: ../../library/time.rst:656 msgid ":ref:`Availability `: Linux, Unix, Windows." msgstr ":ref:`適用 `:Linux、Unix、Windows。" @@ -1155,8 +1155,8 @@ msgstr ":samp:`M{m}.{n}.{d}`" #: ../../library/time.rst:720 msgid "" "The *d*'th day (0 <= *d* <= 6) of week *n* of month *m* of the year (1 <= " -"*n* <= 5, 1 <= *m* <= 12, where week 5 means \"the last *d* day in month *m*" -"\" which may occur in either the fourth or the fifth week). Week 1 is the " +"*n* <= 5, 1 <= *m* <= 12, where week 5 means \"the last *d* day in month " +"*m*\" which may occur in either the fourth or the fifth week). Week 1 is the " "first week in which the *d*'th day occurs. Day zero is a Sunday." msgstr "" @@ -1201,7 +1201,7 @@ msgid "" "similar." msgstr "" -#: ../../library/time.rst:777 +#: ../../library/time.rst:776 msgid ":ref:`Availability `: Linux >= 2.6.39." msgstr ":ref:`適用 `:Linux 2.6.39 以上。" @@ -1212,7 +1212,7 @@ msgid "" "``CLOCK_HIGHRES`` is the nonadjustable, high-resolution clock." msgstr "" -#: ../../library/time.rst:788 +#: ../../library/time.rst:787 msgid ":ref:`Availability `: Solaris." msgstr ":ref:`適用 `:Solaris。" @@ -1228,7 +1228,7 @@ msgid "" "based time that is not subject to NTP adjustments." msgstr "" -#: ../../library/time.rst:808 +#: ../../library/time.rst:807 msgid ":ref:`Availability `: Linux >= 2.6.28, macOS >= 10.12." msgstr ":ref:`適用 `:Linux 2.6.28 以上、macOS 10.12 以上。" @@ -1236,7 +1236,7 @@ msgstr ":ref:`適用 `:Linux 2.6.28 以上、macOS 10.12 以上 msgid "High-resolution per-process timer from the CPU." msgstr "" -#: ../../library/time.rst:826 +#: ../../library/time.rst:825 msgid ":ref:`Availability `: FreeBSD, NetBSD >= 7, OpenBSD." msgstr ":ref:`適用 `:FreeBSD、NetBSD 7 以上、OpenBSD。" @@ -1252,7 +1252,7 @@ msgid "" "the correct answer. PTP or NTP software can maintain a leap second table." msgstr "" -#: ../../library/time.rst:837 +#: ../../library/time.rst:836 msgid ":ref:`Availability `: Linux." msgstr ":ref:`適用 `:Linux。" @@ -1266,7 +1266,7 @@ msgid "" "suspended, providing accurate uptime measurement, both absolute and interval." msgstr "" -#: ../../library/time.rst:856 +#: ../../library/time.rst:855 msgid ":ref:`Availability `: FreeBSD, OpenBSD >= 5.5." msgstr ":ref:`適用 `:FreeBSD、OpenBSD 5.5 以上。" @@ -1277,7 +1277,7 @@ msgid "" "the system is asleep." msgstr "" -#: ../../library/time.rst:867 +#: ../../library/time.rst:866 msgid ":ref:`Availability `: macOS >= 10.12." msgstr ":ref:`適用 `:macOS 10.12 以上。" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index d201ca6205..d8b130e23e 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-02-13 19:36+0000\n" "PO-Revision-Date: 2018-05-23 16:14+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -357,7 +357,7 @@ msgid "The reset_mock method resets all the call attributes on a mock object:" msgstr "" #: ../../library/unittest.mock.rst:408 -msgid "Added two keyword only argument to the reset_mock function." +msgid "Added two keyword-only arguments to the reset_mock function." msgstr "" #: ../../library/unittest.mock.rst:411 @@ -371,7 +371,7 @@ msgid "" msgstr "" #: ../../library/unittest.mock.rst:419 -msgid "*return_value*, and :attr:`side_effect` are keyword only argument." +msgid "*return_value*, and :attr:`side_effect` are keyword-only arguments." msgstr "" #: ../../library/unittest.mock.rst:425 @@ -1658,8 +1658,8 @@ msgstr "" msgid "" "``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``" msgstr "" -"``__prepare__``\\ 、\\ ``__instancecheck__``\\ 、\\ ``__subclasscheck__``" -"\\ 、\\ ``__del__``" +"``__prepare__``\\ 、\\ ``__instancecheck__``\\ 、\\ " +"``__subclasscheck__``\\ 、\\ ``__del__``" #: ../../library/unittest.mock.rst:2050 msgid "Magic Mock" @@ -1938,9 +1938,9 @@ msgstr "" #: ../../library/unittest.mock.rst:2248 msgid "" -"``call_list`` is particularly useful for making assertions on \"chained calls" -"\". A chained call is multiple calls on a single line of code. This results " -"in multiple entries in :attr:`~Mock.mock_calls` on a mock. Manually " +"``call_list`` is particularly useful for making assertions on \"chained " +"calls\". A chained call is multiple calls on a single line of code. This " +"results in multiple entries in :attr:`~Mock.mock_calls` on a mock. Manually " "constructing the sequence of calls can be tedious." msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index fdfc0fa2a1..a7b54bdff2 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2022-04-21 17:59+0800\n" "Last-Translator: Jordan Su \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -46,7 +46,7 @@ msgstr "" "有關於更高階的 HTTP 用戶端介面,推薦使用 `Requests 套件 `_\\ 。" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -289,8 +289,8 @@ msgstr "" "例,或是它們的 subclasses:\\ :class:`ProxyHandler`\\ (如果代理服務設定被偵" "測到)、\\ :class:`UnknownHandler`\\ 、\\ :class:`HTTPHandler`\\ 、\\ :class:" "`HTTPDefaultErrorHandler`\\ 、\\ :class:`HTTPRedirectHandler`\\ 、\\ :class:" -"`FTPHandler`\\ 、\\ :class:`FileHandler`\\ 、\\ :class:`HTTPErrorProcessor`" -"\\ 。" +"`FTPHandler`\\ 、\\ :class:`FileHandler`\\ 、\\ :class:" +"`HTTPErrorProcessor`\\ 。" #: ../../library/urllib.request.rst:148 msgid "" @@ -415,8 +415,8 @@ msgid "" "browser to identify itself -- some HTTP servers only allow requests coming " "from common browsers as opposed to scripts. For example, Mozilla Firefox may " "identify itself as ``\"Mozilla/5.0 (X11; U; Linux i686) Gecko/20071127 " -"Firefox/2.0.0.11\"``, while :mod:`urllib`'s default user agent string is ``" -"\"Python-urllib/2.6\"`` (on Python 2.6). All header keys are sent in camel " +"Firefox/2.0.0.11\"``, while :mod:`urllib`'s default user agent string is " +"``\"Python-urllib/2.6\"`` (on Python 2.6). All header keys are sent in camel " "case." msgstr "" "*headers* 必須是一個 dictionary,並會被視為如同每對 key 和 value 作為引數來呼" @@ -929,8 +929,8 @@ msgid "" "Handle an error of the given protocol. This will call the registered error " "handlers for the given protocol with the given arguments (which are protocol " "specific). The HTTP protocol is a special case which uses the HTTP response " -"code to determine the specific error handler; refer to the :meth:`http_error_" -"\\` methods of the handler classes." +"code to determine the specific error handler; refer to the :meth:" +"`http_error_\\` methods of the handler classes." msgstr "" #: ../../library/urllib.request.rst:672 diff --git a/library/venv.po b/library/venv.po index 54a73aae0b..8a9828c90d 100644 --- a/library/venv.po +++ b/library/venv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:15+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -28,13 +28,13 @@ msgstr "**原始碼:**\\ :source:`Lib/venv/`" #: ../../library/venv.rst:21 msgid "" -"The :mod:`!venv` module supports creating lightweight \"virtual environments" -"\", each with their own independent set of Python packages installed in " -"their :mod:`site` directories. A virtual environment is created on top of an " -"existing Python installation, known as the virtual environment's \"base\" " -"Python, and may optionally be isolated from the packages in the base " -"environment, so only those explicitly installed in the virtual environment " -"are available." +"The :mod:`!venv` module supports creating lightweight \"virtual " +"environments\", each with their own independent set of Python packages " +"installed in their :mod:`site` directories. A virtual environment is created " +"on top of an existing Python installation, known as the virtual " +"environment's \"base\" Python, and may optionally be isolated from the " +"packages in the base environment, so only those explicitly installed in the " +"virtual environment are available." msgstr "" #: ../../library/venv.rst:29 @@ -55,7 +55,7 @@ msgid "" "environments/#creating-a-virtual-environment>`__" msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -576,8 +576,8 @@ msgstr "" #: ../../library/venv.rst:315 msgid "" -"*path* is the path to a directory that should contain subdirectories \"common" -"\", \"posix\", \"nt\", each containing scripts destined for the bin " +"*path* is the path to a directory that should contain subdirectories " +"\"common\", \"posix\", \"nt\", each containing scripts destined for the bin " "directory in the environment. The contents of \"common\" and the directory " "corresponding to :data:`os.name` are copied after some text replacement of " "placeholders:" diff --git a/library/webbrowser.po b/library/webbrowser.po index 75c080afbe..e7482b0ab3 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2017-09-22 18:27+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -45,10 +45,10 @@ msgstr "" msgid "" "If the environment variable :envvar:`BROWSER` exists, it is interpreted as " "the :data:`os.pathsep`-separated list of browsers to try ahead of the " -"platform defaults. When the value of a list part contains the string ``" -"%s``, then it is interpreted as a literal browser command line to be used " -"with the argument URL substituted for ``%s``; if the part does not contain ``" -"%s``, it is simply interpreted as the name of the browser to launch. [1]_" +"platform defaults. When the value of a list part contains the string " +"``%s``, then it is interpreted as a literal browser command line to be used " +"with the argument URL substituted for ``%s``; if the part does not contain " +"``%s``, it is simply interpreted as the name of the browser to launch. [1]_" msgstr "" #: ../../library/webbrowser.rst:30 @@ -69,7 +69,7 @@ msgid "" "are, naturally, mutually exclusive. Usage example::" msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 376697484c..301c105e68 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:16+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -48,7 +48,7 @@ msgid "" "certificate and hostname checks by default." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -343,8 +343,8 @@ msgstr "" msgid "" "Signatures themselves are restricted to the top level parameters expected by " "a method. For instance if a method expects one array of structs as a " -"parameter, and it returns a string, its signature is simply \"string, array" -"\". If it expects three integers and returns a string, its signature is " +"parameter, and it returns a string, its signature is simply \"string, " +"array\". If it expects three integers and returns a string, its signature is " "\"string, int, int, int\"." msgstr "" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 253a63f278..4dd933f02e 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:16+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -41,7 +41,7 @@ msgid "" "see :ref:`xml-vulnerabilities`." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 046b375b26..e75341cb80 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-26 00:17+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -54,7 +54,7 @@ msgid "" "zone data via PyPI." msgstr "" -#: ../../includes/wasm-notavail.rst:-1 +#: ../../includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/using/cmdline.po b/using/cmdline.po index 845166583c..ead840c5a7 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-02-13 00:17+0000\n" "PO-Revision-Date: 2018-05-23 16:19+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -112,8 +112,8 @@ msgstr "" #: ../../using/cmdline.rst:68 msgid "" -"If this option is given, the first element of :data:`sys.argv` will be ``\"-c" -"\"`` and the current directory will be added to the start of :data:`sys." +"If this option is given, the first element of :data:`sys.argv` will be ``\"-" +"c\"`` and the current directory will be added to the start of :data:`sys." "path` (allowing modules in that directory to be imported as top level " "modules)." msgstr "" @@ -714,12 +714,12 @@ msgstr "" #: ../../using/cmdline.rst:531 msgid "" "``-X frozen_modules`` determines whether or not frozen modules are ignored " -"by the import machinery. A value of \"on\" means they get imported and \"off" -"\" means they are ignored. The default is \"on\" if this is an installed " -"Python (the normal case). If it's under development (running from the " -"source tree) then the default is \"off\". Note that the \"importlib_bootstrap" -"\" and \"importlib_bootstrap_external\" frozen modules are always used, even " -"if this flag is set to \"off\"." +"by the import machinery. A value of \"on\" means they get imported and " +"\"off\" means they are ignored. The default is \"on\" if this is an " +"installed Python (the normal case). If it's under development (running from " +"the source tree) then the default is \"off\". Note that the " +"\"importlib_bootstrap\" and \"importlib_bootstrap_external\" frozen modules " +"are always used, even if this flag is set to \"off\"." msgstr "" #: ../../using/cmdline.rst:539 @@ -1157,7 +1157,7 @@ msgid "" "_enablelegacywindowsfsencoding()`." msgstr "" -#: ../../using/cmdline.rst:926 ../../using/cmdline.rst:940 +#: ../../using/cmdline.rst:925 ../../using/cmdline.rst:939 msgid ":ref:`Availability `: Windows." msgstr ":ref:`適用 `:Windows。" @@ -1248,7 +1248,7 @@ msgid "" "system interfaces." msgstr "" -#: ../../using/cmdline.rst:991 +#: ../../using/cmdline.rst:990 msgid ":ref:`Availability `: Unix." msgstr ":ref:`適用 `:Unix。"