diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 57d7d62324..183f9f7fa0 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -65,7 +65,7 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer " +"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協定 (buffer " "protocol) `。" #: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:52 diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 177603071c..925d646e9a 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -268,7 +268,7 @@ msgstr "" #: ../../c-api/exceptions.rst:253 ../../c-api/exceptions.rst:263 #: ../../c-api/exceptions.rst:271 ../../c-api/exceptions.rst:281 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../c-api/exceptions.rst:239 msgid "" diff --git a/c-api/init.po b/c-api/init.po index 5d46190f3e..e003fd46a4 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -419,7 +419,7 @@ msgstr "更多詳情請見 :pep:`529`。" #: ../../c-api/init.rst:238 ../../c-api/init.rst:256 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../c-api/init.rst:244 msgid "" diff --git a/c-api/intro.po b/c-api/intro.po index 12be45bb91..4c39517d62 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -986,8 +986,8 @@ msgid "" "general) function to set the exception state, and :c:func:`PyErr_Clear` " "clears the exception state." msgstr "" -"例外的狀態會在個別執行緒的存儲空間 (per-thread storage) 中維護(這相當於在非" -"執行緒應用程式中使用全域存儲空間)。執行緒可以處於兩種狀態之一:發生例外或未" +"例外的狀態會在個別執行緒的儲存空間 (per-thread storage) 中維護(這相當於在非" +"執行緒應用程式中使用全域儲存空間)。執行緒可以處於兩種狀態之一:發生例外或未" "發生例外。函式 :c:func:`PyErr_Occurred` 可用於檢查這一點:當例外發生時,它回" "傳對例外型別物件的借用參照,否則回傳 ``NULL``。設定例外狀態的函式有很多::c:" "func:`PyErr_SetString` 是最常見的(儘管不是最通用的)設定例外狀態的函式,而 :" diff --git a/c-api/iter.po b/c-api/iter.po index ac90b9dc26..dbb2602f1d 100644 --- a/c-api/iter.po +++ b/c-api/iter.po @@ -22,7 +22,7 @@ msgstr "" #: ../../c-api/iter.rst:6 msgid "Iterator Protocol" -msgstr "疊代器協議" +msgstr "疊代器協定" #: ../../c-api/iter.rst:8 msgid "There are two functions specifically for working with iterators." @@ -41,7 +41,7 @@ msgid "" "Return non-zero if the object *o* provides the :class:`AsyncIterator` " "protocol, and ``0`` otherwise. This function always succeeds." msgstr "" -"如果物件 *o* 有提供 :class:`AsyncIterator` 協議,則回傳非零,否則回傳 0。這個" +"如果物件 *o* 有提供 :class:`AsyncIterator` 協定,則回傳非零,否則回傳 0。這個" "函式一定會執行成功。" #: ../../c-api/iter.rst:24 diff --git a/faq/extending.po b/faq/extending.po index 897980a1cd..1b0e3995d4 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -327,7 +327,6 @@ msgid "module = PyImport_ImportModule(\"\");" msgstr "module = PyImport_ImportModule(\"\");" #: ../../faq/extending.rst:173 -#, fuzzy msgid "" "If the module hasn't been imported yet (i.e. it is not yet present in :data:" "`sys.modules`), this initializes the module; otherwise it simply returns the " @@ -337,14 +336,13 @@ msgid "" msgstr "" "如果模組還沒有被引入(即它還沒有出現在 :data:`sys.modules` 中),這會初始化模" "組;否則它只回傳 ``sys.modules[\"\"]`` 的值。請注意,它不會將模組" -"輸入任何命名空間——它只會確保它已被初始化並存儲在 :data:`sys.modules` 中。" +"輸入任何命名空間——它只會確保它已被初始化並儲存在 :data:`sys.modules` 中。" #: ../../faq/extending.rst:179 -#, fuzzy msgid "" "You can then access the module's attributes (i.e. any name defined in the " "module) as follows::" -msgstr "然後,你可以存取模組的屬性(即模組中定義的任何名稱),如下所示: ::" +msgstr "然後你可以存取模組的屬性(即模組中定義的任何名稱),如下所示: ::" #: ../../faq/extending.rst:182 msgid "attr = PyObject_GetAttrString(module, \"\");" diff --git a/faq/library.po b/faq/library.po index 21409fd6a7..19395ef83a 100644 --- a/faq/library.po +++ b/faq/library.po @@ -744,7 +744,7 @@ msgid "" "multi-threaded Python program effectively only uses one CPU, due to the " "insistence that (almost) all Python code can only run while the GIL is held." msgstr "" -":term:`global interpreter lock` (GIL) 通常被視為 Python 在高端多處理器服務器" +":term:`global interpreter lock` (GIL) 通常被視為 Python 在高端多處理器伺服器" "機器上部署的障礙,因為多執行緒 Python 程式實際上只使用一個 CPU,因為堅持(幾" "乎)所有 Python 程式碼只能在持有 GIL 的情況下運行。" @@ -1362,70 +1362,3 @@ msgid "" "multiple random number generators." msgstr "" "還有一個 ``Random`` 類別,你可以將它實例化以建立多個獨立的隨機數生成器。" - -#, fuzzy -#~ msgid "" -#~ "It has been suggested that the GIL should be a per-interpreter-state lock " -#~ "rather than truly global; interpreters then wouldn't be able to share " -#~ "objects. Unfortunately, this isn't likely to happen either. It would be " -#~ "a tremendous amount of work, because many object implementations " -#~ "currently have global state. For example, small integers and short " -#~ "strings are cached; these caches would have to be moved to the " -#~ "interpreter state. Other object types have their own free list; these " -#~ "free lists would have to be moved to the interpreter state. And so on." -#~ msgstr "" -#~ "有人建議 GIL 應該是每個直譯器狀態鎖,而不是真正的全域鎖;口譯員將無法共享" -#~ "物件。不幸的是,這也不太可能發生。這將是一項巨大的工作量,因為目前許多物件" -#~ "實作都具有全域狀態。例如,快取小整數和短字串;這些快取必須移至直譯器狀態。" -#~ "其他物件型別有自己的空閒列表;這些空閒列表必須移至直譯器狀態。等等。" - -#, fuzzy -#~ msgid "" -#~ "And I doubt that it can even be done in finite time, because the same " -#~ "problem exists for 3rd party extensions. It is likely that 3rd party " -#~ "extensions are being written at a faster rate than you can convert them " -#~ "to store all their global state in the interpreter state." -#~ msgstr "" -#~ "而且我懷疑它甚至可以在有限的時間內完成,因為第 3 方擴充存在同樣的問題。 " -#~ "3rd 方擴充的編寫速度可能比你轉換它們以將其所有全域狀態存儲在直譯器狀態中的" -#~ "速度更快。" - -#, fuzzy -#~ msgid "" -#~ "Cameron Laird maintains a useful set of pages about Python web " -#~ "technologies at https://web.archive.org/web/20210224183619/http://" -#~ "phaseit.net/claird/comp.lang.python/web_python." -#~ msgstr "" -#~ "Cameron Laird 在 https://web.archive.org/web/20210224183619/http://" -#~ "phaseit.net/claird/comp.lang.python/web_python 維護著一組有用的關於 " -#~ "Python 網路技術的頁面。" - -#, fuzzy -#~ msgid "" -#~ "I would like to retrieve web pages that are the result of POSTing a form. " -#~ "Is there existing code that would let me do this easily?" -#~ msgstr "" -#~ "我想檢索作為發布表單結果的網頁。是否有現成的程式碼可以讓我輕鬆地做到這一" -#~ "點?" - -#~ msgid "Yes. Here's a simple example that uses :mod:`urllib.request`::" -#~ msgstr "是的,這是一個 :mod:`urllib.request` 的簡單範例: ::" - -#, fuzzy -#~ msgid "" -#~ "Note that in general for percent-encoded POST operations, query strings " -#~ "must be quoted using :func:`urllib.parse.urlencode`. For example, to " -#~ "send ``name=Guy Steele, Jr.``::" -#~ msgstr "" -#~ "請注意,通常對於百分比編碼的 POST 操作,查詢字串必須使" -#~ "用 :func:`urllib.parse.urlencode` 引用。例如,發送 ``name=Guy Steele, " -#~ "Jr.``: ::" - -#~ msgid "" -#~ ">>> import urllib.parse\n" -#~ ">>> urllib.parse.urlencode({'name': 'Guy Steele, Jr.'})\n" -#~ "'name=Guy+Steele%2C+Jr.'" -#~ msgstr "" -#~ ">>> import urllib.parse\n" -#~ ">>> urllib.parse.urlencode({'name': 'Guy Steele, Jr.'})\n" -#~ "'name=Guy+Steele%2C+Jr.'" diff --git a/faq/programming.po b/faq/programming.po index 3f46c08fa7..038134d0e9 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -760,7 +760,7 @@ msgstr "" "\n" " # Calculate the value\n" " result = ... expensive computation ...\n" -" _cache[(arg1, arg2)] = result # 將結果存儲在快取中\n" +" _cache[(arg1, arg2)] = result # 將結果儲存在快取中\n" " return result" #: ../../faq/programming.rst:389 @@ -2057,7 +2057,6 @@ msgid "" msgstr "以奇數個反斜線結尾的原始字串將轉義字串的引號: ::" #: ../../faq/programming.rst:1036 -#, fuzzy msgid "" ">>> r'C:\\this\\will\\not\\work\\'\n" " File \"\", line 1\n" @@ -2068,7 +2067,7 @@ msgstr "" ">>> r'C:\\this\\will\\not\\work\\'\n" " File \"\", line 1\n" " r'C:\\this\\will\\not\\work\\'\n" -" ^\n" +" ^\n" "SyntaxError: unterminated string literal (detected at line 1)" #: ../../faq/programming.rst:1042 @@ -3777,7 +3776,7 @@ msgid "" "change object identity. After the list assignment ``s[0] = x``, it is " "guaranteed that ``s[0] is x``." msgstr "" -"2) 將物件放入存儲物件參照的容器中不會改變物件識別性。在 list 賦值 ``s[0] = " +"2) 將物件放入儲存物件參照的容器中不會改變物件識別性。在 list 賦值 ``s[0] = " "x`` 之後,保證 ``s[0] 是 x``。" #: ../../faq/programming.rst:1877 @@ -3926,7 +3925,7 @@ msgstr "" #: ../../faq/programming.rst:1945 msgid "" "How can a subclass control what data is stored in an immutable instance?" -msgstr "子類別如何控制不可變實例中存儲的資料?" +msgstr "子類別如何控制不可變實例中儲存的資料?" #: ../../faq/programming.rst:1947 #, fuzzy @@ -4026,7 +4025,7 @@ msgid "" "at the instance level and the latter at the class level." msgstr "" "快取方法的兩個主要工具是 func:`functools.cached_property` 和 :func:" -"`functools.lru_cache`。前者在實例級別存儲結果,後者在類別級別存儲結果。" +"`functools.lru_cache`。前者在實例級別儲存結果,後者在類別級別儲存結果。" #: ../../faq/programming.rst:2002 #, fuzzy @@ -4177,7 +4176,7 @@ msgid "" msgstr "" "無法建立 .pyc 檔案的原因之一是包含源檔案的目錄存在權限問題,這意味著無法建立 " "__pycache__ 子目錄。例如,如果你以一個使用者的身份開發但以另一個使用者的身份" -"運行,例如你正在使用 Web 服務器進行測試,就會發生這種情況。" +"運行,例如你正在使用 Web 伺服器進行測試,就會發生這種情況。" #: ../../faq/programming.rst:2093 #, fuzzy diff --git a/howto/sockets.po b/howto/sockets.po index 168504a99e..0d6717fa74 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -335,7 +335,7 @@ msgid "" "request, then reads a reply. That's it. The socket is discarded. This means " "that a client can detect the end of the reply by receiving 0 bytes." msgstr "" -"像 HTTP 這樣的協議只使用一個 socket 進行一次傳輸,用戶端發送一個請求,然後讀" +"像 HTTP 這樣的協定只使用一個 socket 進行一次傳輸,用戶端發送一個請求,然後讀" "取一個回覆。就這樣,然後這個 socket 就會被銷毀。這表示者用戶端可以通過接收" "「零位元組」來檢測回覆的結束。" @@ -441,7 +441,7 @@ msgid "" "of a following message. You'll need to put that aside and hold onto it, " "until it's needed." msgstr "" -"需要注意的一個複雜情況是,如果你的通訊協議允許連續發送多個訊息(沒有任何回" +"需要注意的一個複雜情況是,如果你的通訊協定允許連續發送多個訊息(沒有任何回" "應),並且你傳遞給 ``recv`` 函式一個任意的區塊大小,最後有可能讀取到下一條訊" "息的開頭。你需要將其放在一旁並保留下來,直到需要使用的時候。" @@ -594,7 +594,7 @@ msgid "" "the thread, your whole process is likely to be screwed up." msgstr "" "使用阻塞式 socket 最糟糕的地方可能是在另一端突然強制關閉(未執行 ``close``)" -"的情況下會發生什麼?你的 socket 很可能會處於阻塞狀態。TCP 是一種可靠的協議," +"的情況下會發生什麼?你的 socket 很可能會處於阻塞狀態。TCP 是一種可靠的協定," "它在放棄連線之前會等待很長很長的時間。如果你正在使用執行緒,整個執行緒基本上" "已經無法使用。在這方面,你無法做太多事情。只要你不做一些愚蠢的事情,比如在執" "行阻塞式讀取時持有一個鎖,那麼執行緒並不會消耗太多資源。*不要*\\ 試圖終止執行" diff --git a/howto/urllib2.po b/howto/urllib2.po index 5763984962..c712f8230a 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -63,7 +63,7 @@ msgid "" "These are provided by objects called handlers and openers." msgstr "" "**urllib.request** 是一個用來從 URLs (Uniform Resource Locators) 取得資料的" -"Python模組。它提供一個了非常簡單的介面能接受多種不同的協議,*urlopen* 函式。" +"Python模組。它提供一個了非常簡單的介面能接受多種不同的協定,*urlopen* 函式。" "也提供了較複雜的介面用於處理一些常見的狀況,例如:基本的 authentication、" "cookies、proxies 等等,這些都可以由 handler 或 opener 物件操作。" @@ -88,7 +88,7 @@ msgid "" "is supplementary to them." msgstr "" "一般情形下 *urlopen* 是非常容易使用的,但當你遇到錯誤或者較複雜的情況下,你可" -"能需要對超文本協議 HyperText Transfer Protocol 有一定的了解。最完整且具參考價" +"能需要對超文本協定 (HyperText Transfer Protocol) 有一定的了解。最完整且具參考價" "值的是 :rfc:`2616`,不過它是一份技術文件並不容易閱讀,以下的教學會提供足夠的 " "HTTP 知識來幫助你使用 *urllib*。這份教學並非要取代 :mod:`urllib.request` 這份" "文件,你還是會需要它。" diff --git a/library/__future__.po b/library/__future__.po index 6c9b5f80bd..a1267b3397 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -306,7 +306,7 @@ msgid "" "compiler_flag` attribute on :class:`_Feature` instances." msgstr "" "*CompilerFlag* 是(位元欄位 (bitfield))旗標,應在第四個引數中傳遞給內建函" -"式 :func:`compile` 以在動態編譯的程式碼中啟用該功能。此旗標存儲在 :class:" +"式 :func:`compile` 以在動態編譯的程式碼中啟用該功能。此旗標儲存在 :class:" "`_Feature` 實例上的 :attr:`_Feature.compiler_flag` 屬性中。" #: ../../library/__future__.rst:117 diff --git a/library/_thread.po b/library/_thread.po index 17e592407e..1f52f9ef12 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -173,7 +173,7 @@ msgstr "" #: ../../library/_thread.rst:123 ../../library/_thread.rst:148 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/_thread.rst:127 msgid "Added support for GNU/kFreeBSD." diff --git a/library/asyncio-api-index.po b/library/asyncio-api-index.po index dba5a76c2a..dee0c33f50 100644 --- a/library/asyncio-api-index.po +++ b/library/asyncio-api-index.po @@ -341,7 +341,7 @@ msgstr "傳送網路資料的高階 async/await 物件。" #: ../../library/asyncio-api-index.rst:170 msgid ":ref:`Example TCP client `." -msgstr ":ref:`TCP 客戶端範例 `。" +msgstr ":ref:`TCP 用戶端範例 `。" #: ../../library/asyncio-api-index.rst:172 msgid "See also the :ref:`streams APIs ` documentation." diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index e946d14bce..26091449c9 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -726,7 +726,7 @@ msgid "" "The protocol instance is coupled with the transport by calling its :meth:" "`~BaseProtocol.connection_made` method." msgstr "" -"通過呼叫其 :meth:`~BaseProtocol.connection_made` 方法,將協議實例與傳輸連線在" +"通過呼叫其 :meth:`~BaseProtocol.connection_made` 方法,將協定實例與傳輸連線在" "一起。" #: ../../library/asyncio-eventloop.rst:454 @@ -781,7 +781,7 @@ msgid "" "these should all be integers from the corresponding :mod:`socket` module " "constants." msgstr "" -"*family*、*proto*、*flags* 是可選的位址家族、協議和旗標,用於傳遞至 " +"*family*、*proto*、*flags* 是可選的位址家族、協定和旗標,用於傳遞至 " "getaddrinfo() 進行 *host* 解析。若有給定這些應該都是相應 :mod:`socket` 模組常" "數的整數。" @@ -917,7 +917,7 @@ msgid "" "visible delay and provides an algorithm." msgstr "" "Happy Eyeballs 演算法:雙協定堆疊主機 (Dual-Stack Hosts) 的成功。當伺服器的 " -"IPv4 路徑和協議運作正常,但伺服器的 IPv6 路徑和協議不運作時,雙棧用戶端應用程" +"IPv4 路徑和協定運作正常,但伺服器的 IPv6 路徑和協定不運作時,雙棧用戶端應用程" "式會比僅具 IPv4 的用戶端體驗到顯著的連線延遲。這是不希望的,因為這會導致雙棧" "用戶端的使用者體驗變差。本文件具體說明了減少此用戶可見延遲的演算法要求並提供" "了一種演算法。" @@ -1045,8 +1045,8 @@ msgid "" "See :ref:`UDP echo client protocol ` and :" "ref:`UDP echo server protocol ` examples." msgstr "" -"請參閱 :ref:`UDP 回應用戶端協議 ` 和 :ref:" -"`UDP 回應伺服器協議 ` 範例。" +"請參閱 :ref:`UDP 回應用戶端協定 ` 和 :ref:" +"`UDP 回應伺服器協定 ` 範例。" #: ../../library/asyncio-eventloop.rst:630 msgid "" @@ -1130,7 +1130,7 @@ msgstr "" #: ../../library/asyncio-eventloop.rst:1840 #: ../../library/asyncio-eventloop.rst:1847 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/asyncio-eventloop.rst:681 msgid "" @@ -1360,7 +1360,7 @@ msgstr "加入 *cleanup_socket* 參數。" #: ../../library/asyncio-eventloop.rst:856 msgid "Wrap an already accepted connection into a transport/protocol pair." -msgstr "將已接受的連線包裝成傳輸層/協議對。" +msgstr "將已接受的連線包裝成傳輸層/協定對。" #: ../../library/asyncio-eventloop.rst:858 msgid "" @@ -1462,7 +1462,7 @@ msgid "" "protocol and *protocol*-facing transport." msgstr "" "建立 TLS 編解碼器實例並在 *transport* 和 *protocol* 之間插入它。編解碼器既實" -"作了對於 *transport* 的協議,也實作了對於 *protocol* 的傳輸。" +"作了對於 *transport* 的協定,也實作了對於 *protocol* 的傳輸。" #: ../../library/asyncio-eventloop.rst:945 msgid "" @@ -1580,7 +1580,7 @@ msgid "" "socket` objects directly is more convenient." msgstr "" "一般情況下,使用基於傳輸的 API(如 :meth:`loop.create_connection` 和 :meth:" -"`loop.create_server`\\ )的協議實作比直接使用 socket 的實作更快。然而在某些情" +"`loop.create_server`)的協定實作比直接使用 socket 的實作更快。然而在某些情" "況下性能不是關鍵,直接使用 :class:`~socket.socket` 物件更方便。" #: ../../library/asyncio-eventloop.rst:1034 @@ -2568,7 +2568,7 @@ msgstr "" #: ../../library/asyncio-eventloop.rst:1712 msgid "Close all existing incoming client connections." -msgstr "關閉所有現有的傳入客戶端連線。" +msgstr "關閉所有現有的傳入用戶端連線。" #: ../../library/asyncio-eventloop.rst:1714 msgid "" @@ -2585,7 +2585,7 @@ msgstr "" msgid "" "Close all existing incoming client connections immediately, without waiting " "for pending operations to complete." -msgstr "立即關閉所有現有的傳入客戶端連線,而不等待待定操作完成。" +msgstr "立即關閉所有現有的傳入用戶端連線,而不等待待定操作完成。" #: ../../library/asyncio-eventloop.rst:1727 msgid "" @@ -2656,7 +2656,7 @@ msgid "" msgstr "" "async def client_connected(reader, writer):\n" " # 透過讀取器/寫入器串流\n" -" # 與客戶端溝通。例如:\n" +" # 與用戶端溝通。例如:\n" " await reader.readline()\n" "\n" "async def main(host, port):\n" diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index 53e8482029..22a41d34ec 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -571,7 +571,7 @@ msgid "" "Using ``loop.create_connection()`` to implement :ref:`an echo-client " "`." msgstr "" -"使用 ``loop.create_connection()`` 以實作\\ :ref:`一個 echo 客戶端 " +"使用 ``loop.create_connection()`` 以實作\\ :ref:`一個 echo 用戶端 " "`。" #: ../../library/asyncio-llapi-index.rst:278 diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 15228773f8..41fd70c5a6 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -161,7 +161,7 @@ msgstr "" #: ../../library/asyncio-policy.rst:131 ../../library/asyncio-policy.rst:139 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/asyncio-policy.rst:136 msgid "" diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index fea78a7148..e3597d945a 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -40,7 +40,7 @@ msgstr "" #: ../../library/asyncio-stream.rst:19 msgid "Here is an example of a TCP echo client written using asyncio streams::" -msgstr "這是一個使用 asyncio 串流編寫的 TCP echo 客戶端範例: ::" +msgstr "這是一個使用 asyncio 串流編寫的 TCP echo 用戶端範例: ::" #: ../../library/asyncio-stream.rst:22 ../../library/asyncio-stream.rst:437 msgid "" @@ -161,7 +161,7 @@ msgid "" "arguments, instances of the :class:`StreamReader` and :class:`StreamWriter` " "classes." msgstr "" -"當一個新的客戶端連線被建立時,回呼函式 *client_connected_cb* 就會被呼叫。該函" +"當一個新的用戶端連線被建立時,回呼函式 *client_connected_cb* 就會被呼叫。該函" "式會接收到一對引數 ``(reader, writer)``,分別為 :class:`StreamReader` 和 :" "class:`StreamWriter` 的實例。" @@ -213,7 +213,7 @@ msgstr "另請參閱 :meth:`loop.create_unix_connection` 文件。" #: ../../library/asyncio-stream.rst:158 ../../library/asyncio-stream.rst:193 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/asyncio-stream.rst:160 msgid "" @@ -559,11 +559,11 @@ msgstr "範例" #: ../../library/asyncio-stream.rst:433 msgid "TCP echo client using streams" -msgstr "使用串流的 TCP echo 客戶端" +msgstr "使用串流的 TCP echo 用戶端" #: ../../library/asyncio-stream.rst:435 msgid "TCP echo client using the :func:`asyncio.open_connection` function::" -msgstr "使用 :func:`asyncio.open_connection` 函式的 TCP echo 客戶端: ::" +msgstr "使用 :func:`asyncio.open_connection` 函式的 TCP echo 用戶端: ::" #: ../../library/asyncio-stream.rst:459 msgid "" @@ -571,7 +571,7 @@ msgid "" "` example uses the low-level :meth:" "`loop.create_connection` method." msgstr "" -"使用低階 :meth:`loop.create_connection` 方法的 :ref:`TCP echo 客戶端協定 " +"使用低階 :meth:`loop.create_connection` 方法的 :ref:`TCP echo 用戶端協定 " "`\\ 範例。" #: ../../library/asyncio-stream.rst:466 diff --git a/library/bdb.po b/library/bdb.po index 3dcb927100..c188b1f102 100644 --- a/library/bdb.po +++ b/library/bdb.po @@ -567,7 +567,7 @@ msgstr "" #: ../../library/bdb.rst:411 msgid "Finally, the module defines the following functions:" -msgstr "" +msgstr "最後,這個模組定義了以下函式:" #: ../../library/bdb.rst:415 msgid "" diff --git a/library/binascii.po b/library/binascii.po index 2aa9b51367..48302802ab 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -45,7 +45,7 @@ msgstr "" #: ../../library/binascii.rst:31 msgid "The :mod:`binascii` module defines the following functions:" -msgstr "" +msgstr ":mod:`binascii` 模組定義了以下函式:" #: ../../library/binascii.rst:36 msgid "" diff --git a/library/codecs.po b/library/codecs.po index c7f61788ff..1c6c9fcef5 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -43,7 +43,7 @@ msgstr "" msgid "" "The module defines the following functions for encoding and decoding with " "any codec:" -msgstr "" +msgstr "這個模組定義了以下函式,用於以任何編解碼器來編碼與解碼:" #: ../../library/codecs.rst:38 msgid "Encodes *obj* using the codec registered for *encoding*." @@ -2661,7 +2661,7 @@ msgstr "" #: ../../library/codecs.rst:1550 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/codecs.rst:1552 msgid "" diff --git a/library/compileall.po b/library/compileall.po index 6830bf371b..645f85c5df 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -37,7 +37,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index 63fc65b3ab..6fefd66842 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -52,7 +52,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/ctypes.po b/library/ctypes.po index 176c2ec266..7125493c1f 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -2643,7 +2643,7 @@ msgstr "" #: ../../library/ctypes.rst:2069 ../../library/ctypes.rst:2126 #: ../../library/ctypes.rst:2154 ../../library/ctypes.rst:2498 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/ctypes.rst:1407 msgid "" diff --git a/library/curses.panel.po b/library/curses.panel.po index 728c5cee24..4419591d4d 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -35,7 +35,7 @@ msgstr "函式" #: ../../library/curses.panel.rst:21 msgid "The module :mod:`curses.panel` defines the following functions:" -msgstr "" +msgstr ":mod:`curses.panel` 模組定義了以下函式:" #: ../../library/curses.panel.rst:26 msgid "Returns the bottom panel in the panel stack." diff --git a/library/curses.po b/library/curses.po index 669c6cc5dc..9bb373d7b3 100644 --- a/library/curses.po +++ b/library/curses.po @@ -42,7 +42,7 @@ msgstr "" #: ../../includes/wasm-mobile-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-mobile-notavail.rst:5 msgid "" @@ -108,7 +108,7 @@ msgstr "函式" #: ../../library/curses.rst:55 msgid "The module :mod:`curses` defines the following exception:" -msgstr "" +msgstr ":mod:`curses` 模組定義了以下例外:" #: ../../library/curses.rst:60 msgid "Exception raised when a curses library function returns an error." @@ -123,7 +123,7 @@ msgstr "" #: ../../library/curses.rst:68 msgid "The module :mod:`curses` defines the following functions:" -msgstr "" +msgstr ":mod:`curses` 模組定義了以下函式:" #: ../../library/curses.rst:73 msgid "" @@ -1468,7 +1468,7 @@ msgstr "" #: ../../library/curses.rst:1313 msgid "The :mod:`curses` module defines the following data members:" -msgstr "" +msgstr ":mod:`curses` 模組定義了以下資料成員:" #: ../../library/curses.rst:1318 msgid "" @@ -2373,7 +2373,7 @@ msgstr "" #: ../../library/curses.rst:1818 msgid "The module :mod:`curses.textpad` defines the following function:" -msgstr "" +msgstr ":mod:`curses.textpad` 模組定義了以下函式:" #: ../../library/curses.rst:1823 msgid "" diff --git a/library/dataclasses.po b/library/dataclasses.po index 2b181acb28..b1863227bc 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -1458,7 +1458,7 @@ msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" msgstr "" -"Python 將預設成員變數值存儲在類別屬性中。考慮這個例子,不使用資料類別: ::" +"Python 將預設成員變數值儲存在類別屬性中。考慮這個例子,不使用資料類別: ::" #: ../../library/dataclasses.rst:742 msgid "" diff --git a/library/dbm.po b/library/dbm.po index e6eb743921..70cf899c11 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -253,7 +253,7 @@ msgstr "" #: ../../includes/wasm-mobile-notavail.rst:3 ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/dis.po b/library/dis.po index e2b3b3abee..d6ce62924e 100644 --- a/library/dis.po +++ b/library/dis.po @@ -286,7 +286,7 @@ msgstr "" #: ../../library/dis.rst:196 msgid "Analysis functions" -msgstr "" +msgstr "分析函式" #: ../../library/dis.rst:198 msgid "" diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index 7d6b290f43..79898d5d74 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -73,7 +73,7 @@ msgstr "" #: ../../library/email.headerregistry.rst:48 msgid "This base class defines the following read-only properties:" -msgstr "" +msgstr "這個基底類別定義了以下唯讀屬性:" #: ../../library/email.headerregistry.rst:53 msgid "" @@ -535,7 +535,7 @@ msgstr "MessageIDHeader" #: ../../library/email.headerregistry.rst:345 msgid "``HeaderRegistry`` has the following methods:" -msgstr "" +msgstr "``HeaderRegistry`` 有以下方法:" #: ../../library/email.headerregistry.rst:350 msgid "" diff --git a/library/ensurepip.po b/library/ensurepip.po index a3793b5fd2..9055ad0aac 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -77,7 +77,7 @@ msgstr "此模組的最初設計理念與規範。" #: ../../includes/wasm-mobile-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-mobile-notavail.rst:5 msgid "" diff --git a/library/errno.po b/library/errno.po index 8da2253e03..53fcac01e5 100644 --- a/library/errno.po +++ b/library/errno.po @@ -693,7 +693,7 @@ msgstr "" #: ../../library/errno.rst:838 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/errno.rst:845 msgid "Operation canceled" diff --git a/library/fcntl.po b/library/fcntl.po index 69d45662a5..bf6a8ef814 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -32,7 +32,7 @@ msgstr "" #: ../../library/fcntl.rst:21 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/fcntl.rst:23 msgid "" @@ -110,7 +110,7 @@ msgstr "" #: ../../library/fcntl.rst:82 msgid "The module defines the following functions:" -msgstr "" +msgstr "這個模組定義了以下函式:" #: ../../library/fcntl.rst:87 msgid "" diff --git a/library/filecmp.po b/library/filecmp.po index 350f3717b1..03990f1fdc 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -35,7 +35,7 @@ msgstr "" #: ../../library/filecmp.rst:17 msgid "The :mod:`filecmp` module defines the following functions:" -msgstr "" +msgstr ":mod:`filecmp` 模組定義了以下函式:" #: ../../library/filecmp.rst:22 msgid "" diff --git a/library/fractions.po b/library/fractions.po index 19f4409273..92a898b867 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -135,7 +135,7 @@ msgstr "" msgid "" "The :class:`Fraction` constructor now accepts :class:`float` " "and :class:`decimal.Decimal` instances." -msgstr "" +msgstr ":class:`Fraction` 建構函式現在可接受 :class:`float` 和 :class:`decimal.Decimal` 實例。" #: ../../library/fractions.rst:88 msgid "" diff --git a/library/ftplib.po b/library/ftplib.po index ee1c0a319e..8c47a8eb7e 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -47,7 +47,7 @@ msgstr "預設編碼是 UTF-8,遵循 :rfc:`2640`。" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/gettext.po b/library/gettext.po index dd2bec9239..3c6b357a30 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -44,7 +44,7 @@ msgstr "" #: ../../library/gettext.rst:26 msgid "GNU :program:`gettext` API" -msgstr "" +msgstr "GNU :program:`gettext` API" #: ../../library/gettext.rst:28 msgid "" diff --git a/library/glob.po b/library/glob.po index 610ddefb58..0bdd842e89 100644 --- a/library/glob.po +++ b/library/glob.po @@ -62,7 +62,7 @@ msgstr "" #: ../../library/glob.rst:37 msgid "The :mod:`glob` module defines the following functions:" -msgstr "" +msgstr ":mod:`glob` 模組定義了以下函式:" #: ../../library/glob.rst:43 msgid "" @@ -162,7 +162,7 @@ msgid "" "Return an :term:`iterator` which yields the same values as :func:`glob` " "without actually storing them all simultaneously." msgstr "" -"回傳一個會產生與 :func:`glob` 相同的值的 :term:`iterator` ,而不是同時存儲全" +"回傳一個會產生與 :func:`glob` 相同的值的 :term:`iterator` ,而不是同時儲存全" "部的值。" #: ../../library/glob.rst:117 diff --git a/library/hashlib.po b/library/hashlib.po index f2b02c5096..358886b433 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -1034,9 +1034,9 @@ msgid "" "force the application to make the hash inputs the same. Personalizing each " "hash function used in the protocol summarily stops this type of attack." msgstr "" -"我們建議所有應用程式設計者認真考慮這樣做;我們已經看到許多協議,其中在協議的" +"我們建議所有應用程式設計者認真考慮這樣做;我們已經看到許多協定,其中在協定的" "一個部分中計算的雜湊可以在完全不同的部分中使用,因為兩次雜湊計算是在相似或相" -"關的資料上完成的,並且攻擊者可以強制應用程式將雜湊輸入設為相同的。對協議中使" +"關的資料上完成的,並且攻擊者可以強制應用程式將雜湊輸入設為相同的。對協定中使" "用的每個雜湊函式進行個人化可以立即阻止此類攻擊。" #: ../../library/hashlib.rst:706 diff --git a/library/http.client.po b/library/http.client.po index e8becdcaee..c3e3da13b6 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -46,7 +46,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/http.po b/library/http.po index f1803bc12b..72639c5787 100644 --- a/library/http.po +++ b/library/http.po @@ -40,7 +40,7 @@ msgid "" ":mod:`http.client` is a low-level HTTP protocol client; for high-level URL " "opening use :mod:`urllib.request`" msgstr "" -":mod:`http.client` 是一個低階的 HTTP 協定客戶端;對於高階的 URL 存取請使" +":mod:`http.client` 是一個低階的 HTTP 協定用戶端;對於高階的 URL 存取請使" "用 :mod:`urllib.request`" #: ../../library/http.rst:20 diff --git a/library/http.server.po b/library/http.server.po index eee3322781..63505924a4 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -37,7 +37,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" @@ -110,7 +110,7 @@ msgstr "" #: ../../library/http.server.rst:73 msgid ":class:`BaseHTTPRequestHandler` has the following instance variables:" -msgstr "" +msgstr ":class:`BaseHTTPRequestHandler` 有以下實例變數:" #: ../../library/http.server.rst:77 msgid "" @@ -240,7 +240,7 @@ msgstr "" #: ../../library/http.server.rst:184 msgid "A :class:`BaseHTTPRequestHandler` instance has the following methods:" -msgstr "" +msgstr ":class:`BaseHTTPRequestHandler` 實例擁有以下方法:" #: ../../library/http.server.rst:188 msgid "" @@ -443,7 +443,7 @@ msgstr "" #: ../../library/http.server.rst:359 msgid "" "The :class:`SimpleHTTPRequestHandler` class defines the following methods:" -msgstr "" +msgstr ":class:`SimpleHTTPRequestHandler` 類別定義了以下方法:" #: ../../library/http.server.rst:363 msgid "" @@ -571,7 +571,7 @@ msgstr "" #: ../../library/http.server.rst:443 msgid "The :class:`CGIHTTPRequestHandler` defines the following data member:" -msgstr "" +msgstr ":class:`CGIHTTPRequestHandler` 類別定義了以下資料成員:" #: ../../library/http.server.rst:447 msgid "" @@ -581,7 +581,7 @@ msgstr "" #: ../../library/http.server.rst:450 msgid "The :class:`CGIHTTPRequestHandler` defines the following method:" -msgstr "" +msgstr ":class:`CGIHTTPRequestHandler` 類別定義了以下方法:" #: ../../library/http.server.rst:454 msgid "" diff --git a/library/imaplib.po b/library/imaplib.po index 353026d0e6..2cdc167ac7 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -19,7 +19,7 @@ msgstr "" #: ../../library/imaplib.rst:2 msgid ":mod:`!imaplib` --- IMAP4 protocol client" -msgstr ":mod:`!imaplib` --- IMAP4 協定客戶端" +msgstr ":mod:`!imaplib` --- IMAP4 協定用戶端" #: ../../library/imaplib.rst:14 msgid "**Source code:** :source:`Lib/imaplib.py`" @@ -36,7 +36,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" @@ -261,7 +261,7 @@ msgstr "" #: ../../library/imaplib.rst:202 msgid "An :class:`IMAP4` instance has the following methods:" -msgstr "" +msgstr ":class:`IMAP4` 實例擁有以下方法:" #: ../../library/imaplib.rst:207 msgid "Append *message* to named mailbox." diff --git a/library/importlib.po b/library/importlib.po index 4c36d9ea83..5b13da4ec6 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -1540,7 +1540,7 @@ msgstr "" #: ../../library/importlib.rst:1288 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/importlib.rst:1296 msgid "Path to the ``.fwork`` file for the extension module." diff --git a/library/mimetypes.po b/library/mimetypes.po index ca3ae2b140..ecad681467 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -354,7 +354,7 @@ msgstr "" #: ../../library/mimetypes.rst:292 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/mimetypes.rst:11 ../../library/mimetypes.rst:31 #: ../../library/mimetypes.rst:64 diff --git a/library/mmap.po b/library/mmap.po index eed8ccc429..59781f63a9 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -23,7 +23,7 @@ msgstr ":mod:`!mmap` --- 記憶體對映檔案的支援" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 48c18f3e30..65fc4b1be7 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -27,7 +27,7 @@ msgstr "**原始碼:**\\ :source:`Lib/multiprocessing/`" #: ../../includes/wasm-mobile-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-mobile-notavail.rst:5 msgid "" diff --git a/library/nntplib.po b/library/nntplib.po index e90544691c..908464fbce 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -18,7 +18,7 @@ msgstr "" #: ../../library/nntplib.rst:2 msgid ":mod:`!nntplib` --- NNTP protocol client" -msgstr ":mod:`!nntplib` --- NNTP 協定客戶端" +msgstr ":mod:`!nntplib` --- NNTP 協定用戶端" #: ../../library/nntplib.rst:10 msgid "" diff --git a/library/os.path.po b/library/os.path.po index 12a8476e27..dd776816d6 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -39,7 +39,7 @@ msgid "" msgstr "" "該模組實現了一些有用的路徑名操作函式。若要讀取或寫入檔案,請參閱 :func:" "`open` 函式,要存取檔案系統,請參閱 :mod:`os` 模組。路徑參數可以以字串、位元" -"組或任何依照 :class:`os.PathLike` 協議實作的物件傳遞。" +"組或任何依照 :class:`os.PathLike` 協定實作的物件傳遞。" #: ../../library/os.path.rst:19 msgid "" @@ -456,7 +456,7 @@ msgstr "" #: ../../library/os.path.rst:348 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/os.path.rst:355 msgid "" diff --git a/library/os.po b/library/os.po index 2b236a1956..09e8c4943f 100644 --- a/library/os.po +++ b/library/os.po @@ -397,7 +397,7 @@ msgstr "" #: ../../library/os.rst:5532 ../../library/os.rst:5559 #: ../../library/os.rst:5568 ../../library/os.rst:5691 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/os.rst:186 msgid "" @@ -3092,7 +3092,7 @@ msgstr "" msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" -msgstr "" +msgstr ":func:`scandir` 疊代器支援 :term:`context manager` 協定,並具有以下方法:" #: ../../library/os.rst:2799 msgid "Close the iterator and free acquired resources." diff --git a/library/plistlib.po b/library/plistlib.po index be0ef2cf37..3884d2ca08 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -137,7 +137,7 @@ msgstr "" #: ../../library/plistlib.rst:85 ../../library/plistlib.rst:130 msgid "The keyword-only parameter *aware_datetime* has been added." -msgstr "" +msgstr "新增僅限關鍵字參數 *aware_datetime*。" #: ../../library/plistlib.rst:91 msgid "" @@ -147,7 +147,7 @@ msgstr "" #: ../../library/plistlib.rst:96 msgid "*data* can be a string when *fmt* equals :data:`FMT_XML`." -msgstr "" +msgstr "*data* 在 *fmt* 等於 :data:`FMT_XML` 時可以是一個字串。" #: ../../library/plistlib.rst:101 msgid "" @@ -223,7 +223,7 @@ msgstr "" #: ../../library/plistlib.rst:157 msgid "The following constants are available:" -msgstr "" +msgstr "以下常數可供使用:" #: ../../library/plistlib.rst:161 msgid "The XML format for plist files." @@ -235,11 +235,11 @@ msgstr "" #: ../../library/plistlib.rst:173 msgid "The module defines the following exceptions:" -msgstr "" +msgstr "這個模組定義了以下例外:" #: ../../library/plistlib.rst:177 msgid "Raised when a file cannot be parsed." -msgstr "" +msgstr "當檔案無法被剖析時引發。" #: ../../library/plistlib.rst:183 msgid "Examples" diff --git a/library/poplib.po b/library/poplib.po index 8777e9766c..d4e44ecb17 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -53,7 +53,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" @@ -171,7 +171,7 @@ msgstr "" #: ../../library/poplib.rst:118 msgid "A :class:`POP3` instance has the following methods:" -msgstr "" +msgstr ":class:`POP3` 實例擁有以下方法:" #: ../../library/poplib.rst:123 msgid "" diff --git a/library/posix.po b/library/posix.po index b80eda94d9..b9f4d10965 100644 --- a/library/posix.po +++ b/library/posix.po @@ -34,7 +34,7 @@ msgstr "" #: ../../library/posix.rst:14 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/posix.rst:18 msgid "" diff --git a/library/pty.po b/library/pty.po index e6e9a6bb7f..95d91da398 100644 --- a/library/pty.po +++ b/library/pty.po @@ -34,7 +34,7 @@ msgstr "" #: ../../library/pty.rst:19 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/pty.rst:21 msgid "" @@ -45,7 +45,7 @@ msgstr "" #: ../../library/pty.rst:25 msgid "The :mod:`pty` module defines the following functions:" -msgstr "" +msgstr ":mod:`pty` 模組定義了以下函式:" #: ../../library/pty.rst:30 msgid "" diff --git a/library/pwd.po b/library/pwd.po index 4f4a5acc84..598dfe3ff8 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -32,7 +32,7 @@ msgstr "" #: ../../library/pwd.rst:13 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/pwd.rst:15 msgid "" @@ -159,7 +159,7 @@ msgid "" msgstr "" "在傳統的 Unix 中,``pw_passwd`` 欄位通常包含一個使用 DES 衍生演算法加密的密" "碼。然而,大多數現代 Unix 是使用所謂的 *shadow password* 系統。在那些 Unix " -"上,*pw_passwd* 欄位僅包含一個星號 (``'*'``) 或字母 ``'x'``,其中加密密碼存儲" +"上,*pw_passwd* 欄位僅包含一個星號 (``'*'``) 或字母 ``'x'``,其中加密密碼儲存" "在非全域可讀的 (not world readable) :file:`/etc/shadow` 檔案中。*pw_passwd* " "欄位是否包含任何有用的內容取決於系統。" diff --git a/library/pydoc.po b/library/pydoc.po index 8e39b85b7c..6e5f41efd4 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -150,7 +150,7 @@ msgstr "新增 ``-b`` 選項。" #: ../../library/pydoc.rst:101 msgid "The ``-g`` command line option was removed." -msgstr "" +msgstr "移除 ``-g`` 命令列選項。" #: ../../library/pydoc.rst:104 msgid "" diff --git a/library/pyexpat.po b/library/pyexpat.po index e9a5a8b571..9fea398e75 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -786,7 +786,7 @@ msgstr "" #: ../../library/pyexpat.rst:703 msgid "The ``errors`` module has the following attributes:" -msgstr "" +msgstr "``errors`` 模組有以下屬性:" #: ../../library/pyexpat.rst:707 msgid "A dictionary mapping string descriptions to their error codes." diff --git a/library/readline.po b/library/readline.po index 48dea32849..d27a830994 100644 --- a/library/readline.po +++ b/library/readline.po @@ -45,7 +45,7 @@ msgstr "" #: ../../includes/wasm-mobile-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-mobile-notavail.rst:5 msgid "" diff --git a/library/resource.po b/library/resource.po index 52adbd9db0..4bbf3d4a18 100644 --- a/library/resource.po +++ b/library/resource.po @@ -34,7 +34,7 @@ msgstr "" #: ../../library/resource.rst:239 ../../library/resource.rst:252 #: ../../library/resource.rst:260 ../../library/resource.rst:268 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/resource.rst:18 msgid "" diff --git a/library/secrets.po b/library/secrets.po index 4fd800964c..3677d7f231 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -242,7 +242,7 @@ msgid "" "<257>`, whether plain text or encrypted. They should be salted and hashed " "using a cryptographically strong one-way (irreversible) hash function." msgstr "" -"應用程式不能\\ :cwe:`以可復原的格式存儲密碼 <257>`,無論是用純文本還是經過加" +"應用程式不能\\ :cwe:`以可復原的格式儲存密碼 <257>`,無論是用純文本還是經過加" "密。 它們應當先加鹽(salt),再使用高加密強度的單向(不可逆)雜湊函式來產生雜" "湊值。" diff --git a/library/select.po b/library/select.po index e5c6383d40..4936cc5b8e 100644 --- a/library/select.po +++ b/library/select.po @@ -43,7 +43,7 @@ msgstr "" #: ../../library/select.rst:177 ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/selectors.po b/library/selectors.po index e231d00893..bb86594fdb 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -71,7 +71,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/shlex.po b/library/shlex.po index d1c7a7333d..2ba7f9fb43 100644 --- a/library/shlex.po +++ b/library/shlex.po @@ -36,7 +36,7 @@ msgstr "" #: ../../library/shlex.rst:21 msgid "The :mod:`shlex` module defines the following functions:" -msgstr "" +msgstr ":mod:`shlex` 模組定義了以下函式:" #: ../../library/shlex.rst:26 msgid "" @@ -105,7 +105,7 @@ msgstr "" #: ../../library/shlex.rst:101 msgid "The :mod:`shlex` module defines the following class:" -msgstr "" +msgstr ":mod:`shlex` 模組定義了以下類別:" #: ../../library/shlex.rst:106 msgid "" @@ -153,7 +153,7 @@ msgstr "shlex 物件" #: ../../library/shlex.rst:145 msgid "A :class:`~shlex.shlex` instance has the following methods:" -msgstr "" +msgstr ":class:`~shlex.shlex` 實例有以下方法:" #: ../../library/shlex.rst:150 msgid "" diff --git a/library/shutil.po b/library/shutil.po index 145efa74ff..75d187b484 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -549,7 +549,7 @@ msgstr "" #: ../../library/shutil.rst:426 ../../library/shutil.rst:440 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/shutil.rst:431 msgid "Change owner *user* and/or *group* of the given *path*." diff --git a/library/signal.po b/library/signal.po index 4eb34bd770..5ac672a65d 100644 --- a/library/signal.po +++ b/library/signal.po @@ -202,7 +202,7 @@ msgstr "" #: ../../library/signal.rst:605 ../../library/signal.rst:620 #: ../../library/signal.rst:646 ../../library/signal.rst:666 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/signal.rst:105 ../../library/signal.rst:473 msgid "" diff --git a/library/smtplib.po b/library/smtplib.po index 921c053924..6dba7d27ec 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -36,7 +36,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" @@ -273,7 +273,7 @@ msgstr "SMTP 物件" #: ../../library/smtplib.rst:214 msgid "An :class:`SMTP` instance has the following methods:" -msgstr "" +msgstr ":class:`SMTP` 實例擁有以下方法:" #: ../../library/smtplib.rst:219 msgid "" diff --git a/library/socket.po b/library/socket.po index 8578ad1a93..c99925f319 100644 --- a/library/socket.po +++ b/library/socket.po @@ -71,7 +71,7 @@ msgstr "由於是呼叫作業系統的 socket API,某些行為可能會因平 #: ../../library/socket.rst:2000 ../../library/socket.rst:2010 #: ../../library/socket.rst:2022 ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/socketserver.po b/library/socketserver.po index e3c9cf6c81..a2fdff816e 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -33,7 +33,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/sqlite3.po b/library/sqlite3.po index 2b9942a219..3e0270c411 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -848,7 +848,7 @@ msgstr "" #: ../../library/sqlite3.rst:626 msgid "An SQLite database connection has the following attributes and methods:" -msgstr "" +msgstr "一個 SQLite 資料庫連線具有以下屬性和方法:" #: ../../library/sqlite3.rst:630 msgid "" @@ -1880,7 +1880,7 @@ msgstr "" #: ../../library/sqlite3.rst:1491 msgid "A :class:`Cursor` instance has the following attributes and methods." -msgstr "" +msgstr ":class:`Cursor` 實例具有以下屬性和方法。" #: ../../library/sqlite3.rst:1498 msgid "" diff --git a/library/ssl.po b/library/ssl.po index 8a3cf24926..50fa4bb537 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -35,7 +35,7 @@ msgid "" "and probably additional platforms, as long as OpenSSL is installed on that " "platform." msgstr "" -"這個模組向客戶端及伺服器端提供了對於網路 socket 的傳輸層安全性協定(或稱為" +"這個模組向用戶端及伺服器端提供了對於網路 socket 的傳輸層安全性協定(或稱為" "「安全通訊協定 (Secure Sockets Layer)」)加密及身分驗證功能。這個模組使用 " "OpenSSL 套件,它可以在所有的 Unix 系統、Windows、macOS、以及其他任何可能的平" "台上使用,只要事先在該平台上安裝 OpenSSL。" @@ -62,7 +62,7 @@ msgstr "" #: ../../library/ssl.rst:454 ../../library/ssl.rst:469 #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" @@ -154,7 +154,7 @@ msgstr "" #: ../../library/ssl.rst:84 msgid "Client socket example with default context and IPv4/IPv6 dual stack::" -msgstr "使用預設語境及 IPv4/IPv6 雙協定堆疊的客戶端 socket 範例: ::" +msgstr "使用預設語境及 IPv4/IPv6 雙協定堆疊的用戶端 socket 範例: ::" #: ../../library/ssl.rst:86 msgid "" @@ -180,7 +180,7 @@ msgstr "" #: ../../library/ssl.rst:97 msgid "Client socket example with custom context and IPv4::" -msgstr "使用自訂語境及 IPv4 的客戶端 socket範例: ::" +msgstr "使用自訂語境及 IPv4 的用戶端 socket範例: ::" #: ../../library/ssl.rst:99 msgid "" @@ -319,7 +319,7 @@ msgid "" "en.wikipedia.org/wiki/POODLE>`_. If you still wish to continue to use this " "function but still allow SSL 3.0 connections you can re-enable them using::" msgstr "" -"如果你發現某些舊的客戶端或伺服器常適用此函式建立的 :class:`SSLContext` 連線" +"如果你發現某些舊的用戶端或伺服器常適用此函式建立的 :class:`SSLContext` 連線" "時,收到 \"Protocol or cipher suite mismatch\" 錯誤,這可能是因為他們的系統僅" "支援 SSL3.0,然而 SSL3.0 已被此函式用 :data:`OP_NO_SSLv3` 排除。目前廣泛認為 " "SSL3.0 已經\\ `被完全破解 `_。如果你仍" @@ -609,7 +609,7 @@ msgid "" msgstr "" "輸入使用 SSL 保護的伺服器的地址 ``addr``,輸入形式為一個 pair (*hostname*, " "*port-number*),取得該伺服器的憑證,並以 PEM 編碼字串的形式回傳。如果指定了 " -"``ssl_version``,則使用指定的 SSL 協議來嘗試與伺服器連線。如果指定 " +"``ssl_version``,則使用指定的 SSL 協定來嘗試與伺服器連線。如果指定 " "*ca_certs*,則它應該是一個包含根憑證列表的檔案,並" "與 :meth:`SSLContext.load_verify_locations` 中的參數 *cafile* 所使用的格式相" "同。此呼叫將嘗試使用該組根憑證對伺服器憑證進行驗證,如果驗證失敗,呼叫將失" @@ -766,7 +766,7 @@ msgid "" "handshake." msgstr "" ":attr:`SSLContext.verify_mode` 可能的值。除了 :attr:`SSLContext.verify_mode` " -"外,這是預設的模式。對於客戶端的 sockets,幾乎任何憑證都能被允許。驗證錯誤," +"外,這是預設的模式。對於用戶端的 sockets,幾乎任何憑證都能被允許。驗證錯誤," "像是不被信任或是過期的憑證,會被忽略並不會中止 TLS/SSL 握手。" #: ../../library/ssl.rst:489 @@ -774,7 +774,7 @@ msgid "" "In server mode, no certificate is requested from the client, so the client " "does not send any for client cert authentication." msgstr "" -"在伺服器模式下,不會從客戶端請求任何憑證,所以客戶端不用發送任何用於客戶端憑" +"在伺服器模式下,不會從用戶端請求任何憑證,所以用戶端不用發送任何用於用戶端憑" "證身分驗證的憑證。" #: ../../library/ssl.rst:492 ../../library/ssl.rst:2400 @@ -788,7 +788,7 @@ msgid "" "It is recommended to use :const:`CERT_REQUIRED` for client-side sockets " "instead." msgstr "" -":attr:`SSLContext.verify_mode` 可能的值。在客戶端模式" +":attr:`SSLContext.verify_mode` 可能的值。在用戶端模式" "下,:const:`CERT_OPTIONAL` 具有與 :const:`CERT_REQUIRED` 相同的含意。對於客戶" "端 sockets 推薦改用 :const:`CERT_REQUIRED`。" @@ -800,8 +800,8 @@ msgid "" "certificate, it is verified. Any verification error immediately aborts the " "TLS handshake." msgstr "" -"在伺服器模式下,客戶憑證請求會被發送給客戶端。客戶端可以選擇忽略請求或是選擇" -"發送憑證來執行 TLS 客戶端憑證身分驗證。如果客戶端選擇發送憑證,則會對其進行驗" +"在伺服器模式下,客戶憑證請求會被發送給用戶端。用戶端可以選擇忽略請求或是選擇" +"發送憑證來執行 TLS 用戶端憑證身分驗證。如果用戶端選擇發送憑證,則會對其進行驗" "證。任何驗證錯誤都會立刻終止 TLS 握手。" #: ../../library/ssl.rst:507 ../../library/ssl.rst:526 @@ -826,7 +826,7 @@ msgid "" msgstr "" ":attr:`SSLContext.verify_mode` 可能的值。在這個模式下,需要從 socket 連線的另" "一端取得憑證;如果未提供憑證或是驗證失敗,則將會導致 :class:`SSLError`。此模" -"式\\ **不能**\\ 在客戶端模式下對憑證進行驗證,因為它無法去配對主機名" +"式\\ **不能**\\ 在用戶端模式下對憑證進行驗證,因為它無法去配對主機名" "稱。:attr:`~SSLContext.check_hostname` 也必須被開起來來驗證憑證的真實" "性。:const:`PROTOCOL_TLS_CLIENT` 會使用 :const:`CERT_REQUIRED` 並預設開" "啟 :attr:`~SSLContext.check_hostname`。" @@ -837,8 +837,8 @@ msgid "" "authentication. A client certificate request is sent to the client and the " "client must provide a valid and trusted certificate." msgstr "" -"對於 socket 伺服器,此模式會提供強制的 TLS 客戶端憑證驗證。客戶端憑證請求會被" -"發送給客戶端並且客戶端必須提供有效且被信任的憑證。" +"對於 socket 伺服器,此模式會提供強制的 TLS 用戶端憑證驗證。用戶端憑證請求會被" +"發送給用戶端並且用戶端必須提供有效且被信任的憑證。" #: ../../library/ssl.rst:531 msgid ":class:`enum.IntEnum` collection of CERT_* constants." @@ -905,7 +905,7 @@ msgid "" "possible to trust certificates issued by an intermediate CA without having " "to trust its ancestor root CA." msgstr "" -":attr:`SSLContext.verify_flags` 可能的值。它指示 OpenSSL 接受信任存儲中的中" +":attr:`SSLContext.verify_flags` 可能的值。它指示 OpenSSL 接受信任儲存中的中" "間 CAs 作為信任錨,就像自簽名的根 CA 憑證。這樣就能去信任中間 CA 所頒發的憑" "證,而不一定非要去信任其祖先的根 CA。" @@ -919,7 +919,7 @@ msgid "" "support. Despite the name, this option can select both \"SSL\" and \"TLS\" " "protocols." msgstr "" -"選擇客戶端及伺服器均可以支援最高協定版本。儘管名稱只有 「TLS」,但實際上" +"選擇用戶端及伺服器均可以支援最高協定版本。儘管名稱只有 「TLS」,但實際上" "「SSL」和「TLS」均可以選擇。" #: ../../library/ssl.rst:608 @@ -928,7 +928,7 @@ msgid "" "communication. The generic TLS protocol constant is deprecated in favor " "of :data:`PROTOCOL_TLS_CLIENT` and :data:`PROTOCOL_TLS_SERVER`." msgstr "" -"TLS 的客戶端及伺服器端需要不同的預設值來實現安全通訊。通用的 TLS 協定常數已被" +"TLS 的用戶端及伺服器端需要不同的預設值來實現安全通訊。通用的 TLS 協定常數已被" "廢除,並改用 :data:`PROTOCOL_TLS_CLIENT` 和 :data:`PROTOCOL_TLS_SERVER`。" #: ../../library/ssl.rst:614 @@ -938,14 +938,14 @@ msgid "" "enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by " "default." msgstr "" -"自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。該協定預設" +"自動協商用戶端和伺服器服務器都支援的最高協定版本,並配置用戶端語境連線。該協定預設" "啟用 :data:`CERT_REQUIRED` 和 :attr:`~SSLContext.check_hostname`。" #: ../../library/ssl.rst:623 msgid "" "Auto-negotiate the highest protocol version that both the client and server " "support, and configure the context server-side connections." -msgstr "自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。" +msgstr "自動協商用戶端和伺服器都支援的最高協定版本,並配置用戶端語境連線。" #: ../../library/ssl.rst:630 msgid "Alias for :data:`PROTOCOL_TLS`." @@ -963,7 +963,7 @@ msgstr "選擇第三版的 SSL 做為通道加密協定。" msgid "" "This protocol is not available if OpenSSL is compiled with the ``no-ssl3`` " "option." -msgstr "如果 OpenSSL 是用 ``no-ssl3`` 編譯的,則此項協議無法使用。" +msgstr "如果 OpenSSL 是用 ``no-ssl3`` 編譯的,則此項協定無法使用。" #: ../../library/ssl.rst:645 msgid "SSL version 3 is insecure. Its use is highly discouraged." @@ -1118,8 +1118,8 @@ msgid "" "Use the server's cipher ordering preference, rather than the client's. This " "option has no effect on client sockets and SSLv2 server sockets." msgstr "" -"使用伺服器的加密方法名稱字串排序優先順序,而不是客戶端的。此選項並不會影響到" -"客戶端及 SSLv2 伺服器的 sockets。" +"使用伺服器的加密方法名稱字串排序優先順序,而不是用戶端的。此選項並不會影響到" +"用戶端及 SSLv2 伺服器的 sockets。" #: ../../library/ssl.rst:784 msgid "" @@ -1164,7 +1164,7 @@ msgstr ":class:`enum.IntFlag` 為 OP_* 常數中的一個集合。" #: ../../library/ssl.rst:820 msgid "Prevent client side from requesting a session ticket." -msgstr "防止客戶端請求會談票據。" +msgstr "防止用戶端請求會談票據。" #: ../../library/ssl.rst:826 msgid "Ignore unexpected shutdown of TLS connections." @@ -1775,7 +1775,7 @@ msgstr "" msgid "" "for a client SSL socket, the server will always provide a certificate, " "regardless of whether validation was required;" -msgstr "對於客戶端 SSL socket,伺服器將永遠提供證書,無論是否需要進行驗證;" +msgstr "對於用戶端 SSL socket,伺服器將永遠提供證書,無論是否需要進行驗證;" #: ../../library/ssl.rst:1222 msgid "" @@ -1784,7 +1784,7 @@ msgid "" "return :const:`None` if you used :const:`CERT_NONE` (rather " "than :const:`CERT_OPTIONAL` or :const:`CERT_REQUIRED`)." msgstr "" -"對於伺服器 SSL socket,客戶端僅在伺服器要求時才會提供證書;因此,如果你使用的" +"對於伺服器 SSL socket,用戶端僅在伺服器要求時才會提供證書;因此,如果你使用的" "是 :const:`CERT_NONE` (而非 :const:`CERT_OPTIONAL` " "或 :const:`CERT_REQUIRED`),則 :meth:`getpeercert` 會回傳 :const:`None`。" diff --git a/library/stat.po b/library/stat.po index d919c8307e..dfd5016787 100644 --- a/library/stat.po +++ b/library/stat.po @@ -42,7 +42,7 @@ msgstr "" msgid "" "The :mod:`stat` module defines the following functions to test for specific " "file types:" -msgstr "" +msgstr ":mod:`stat` 模組定義了以下函式,用於測試特定檔案類型:" #: ../../library/stat.rst:28 msgid "Return non-zero if the mode is from a directory." @@ -430,7 +430,7 @@ msgstr "" #: ../../library/stat.rst:409 ../../library/stat.rst:417 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/stat.rst:415 msgid "All super-user read-only synthetic flags" diff --git a/library/struct.po b/library/struct.po index b24bc454b8..5cc4070b77 100644 --- a/library/struct.po +++ b/library/struct.po @@ -66,7 +66,7 @@ msgstr "函式與例外" #: ../../library/struct.rst:50 msgid "The module defines the following exception and functions:" -msgstr "" +msgstr "此模組定義了以下例外和函式:" #: ../../library/struct.rst:55 msgid "" @@ -1032,11 +1032,11 @@ msgstr "" #: ../../library/struct.rst:555 msgid "Classes" -msgstr "" +msgstr "類別" #: ../../library/struct.rst:557 msgid "The :mod:`struct` module also defines the following type:" -msgstr "" +msgstr ":mod:`struct` 模組也定義了以下型別:" #: ../../library/struct.rst:562 msgid "" diff --git a/library/subprocess.po b/library/subprocess.po index 8ee5e86cc5..4b58287591 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -56,7 +56,7 @@ msgstr ":pep:`324` -- 提議 subprocess 模組的 PEP" #: ../../library/subprocess.rst:1560 ../../library/subprocess.rst:1582 #: ../../includes/wasm-mobile-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-mobile-notavail.rst:5 msgid "" diff --git a/library/sys.po b/library/sys.po index 07e572cfeb..4a3bf4a219 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-03-27 00:14+0000\n" +"POT-Creation-Date: 2025-07-07 12:52+0000\n" "PO-Revision-Date: 2023-04-26 02:54+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -45,12 +45,12 @@ msgstr "" #: ../../library/sys.rst:25 ../../library/sys.rst:299 ../../library/sys.rst:369 #: ../../library/sys.rst:760 ../../library/sys.rst:778 -#: ../../library/sys.rst:1020 ../../library/sys.rst:1522 -#: ../../library/sys.rst:1763 ../../library/sys.rst:1778 -#: ../../library/sys.rst:1786 ../../library/sys.rst:1802 -#: ../../library/sys.rst:2046 +#: ../../library/sys.rst:1022 ../../library/sys.rst:1524 +#: ../../library/sys.rst:1765 ../../library/sys.rst:1780 +#: ../../library/sys.rst:1788 ../../library/sys.rst:1804 +#: ../../library/sys.rst:2048 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/sys.rst:30 msgid "" @@ -1178,20 +1178,20 @@ msgstr "" "引發一個附帶引數 ``depth`` 的\\ :ref:`稽核事件 ` ``sys." "_getframemodulename``。" -#: ../../library/sys.rst:925 +#: ../../library/sys.rst:927 msgid "" "This function only exists if CPython was built using the specialized " "configure option :option:`--with-trace-refs`. It is intended only for " "debugging garbage-collection issues." msgstr "" -#: ../../library/sys.rst:929 +#: ../../library/sys.rst:931 msgid "" "Return a list of up to *limit* dynamically allocated Python objects. If " "*type* is given, only objects of that exact type (not subtypes) are included." msgstr "" -#: ../../library/sys.rst:933 +#: ../../library/sys.rst:935 msgid "" "Objects from the list are not safe to use. Specifically, the result will " "include objects from all interpreters that share their object allocator " @@ -1201,25 +1201,25 @@ msgid "" "different interpreters may lead to crashes or other unexpected behavior." msgstr "" -#: ../../library/sys.rst:944 +#: ../../library/sys.rst:946 msgid "" "This function should be used for specialized purposes only. It is not " "guaranteed to exist in all implementations of Python." msgstr "" -#: ../../library/sys.rst:949 +#: ../../library/sys.rst:951 msgid "The result may include objects from other interpreters." msgstr "" -#: ../../library/sys.rst:958 +#: ../../library/sys.rst:960 msgid "Get the profiler function as set by :func:`setprofile`." msgstr "" -#: ../../library/sys.rst:967 +#: ../../library/sys.rst:969 msgid "Get the trace function as set by :func:`settrace`." msgstr "" -#: ../../library/sys.rst:971 +#: ../../library/sys.rst:973 msgid "" "The :func:`gettrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -1227,7 +1227,7 @@ msgid "" "thus may not be available in all Python implementations." msgstr "" -#: ../../library/sys.rst:979 +#: ../../library/sys.rst:981 msgid "" "Return a named tuple describing the Windows version currently running. The " "named elements are *major*, *minor*, *build*, *platform*, *service_pack*, " @@ -1239,54 +1239,54 @@ msgid "" "first 5 elements are retrievable by indexing." msgstr "" -#: ../../library/sys.rst:990 +#: ../../library/sys.rst:992 msgid "*platform* will be ``2`` (VER_PLATFORM_WIN32_NT)." msgstr "" -#: ../../library/sys.rst:992 +#: ../../library/sys.rst:994 msgid "*product_type* may be one of the following values:" msgstr "" -#: ../../library/sys.rst:995 +#: ../../library/sys.rst:997 msgid "Constant" msgstr "" -#: ../../library/sys.rst:995 +#: ../../library/sys.rst:997 msgid "Meaning" msgstr "含義" -#: ../../library/sys.rst:997 +#: ../../library/sys.rst:999 msgid "``1`` (VER_NT_WORKSTATION)" msgstr "``1`` (VER_NT_WORKSTATION)" -#: ../../library/sys.rst:997 +#: ../../library/sys.rst:999 msgid "The system is a workstation." msgstr "" -#: ../../library/sys.rst:999 +#: ../../library/sys.rst:1001 msgid "``2`` (VER_NT_DOMAIN_CONTROLLER)" msgstr "``2`` (VER_NT_DOMAIN_CONTROLLER)" -#: ../../library/sys.rst:999 +#: ../../library/sys.rst:1001 msgid "The system is a domain controller." msgstr "" -#: ../../library/sys.rst:1002 +#: ../../library/sys.rst:1004 msgid "``3`` (VER_NT_SERVER)" msgstr "``3`` (VER_NT_SERVER)" -#: ../../library/sys.rst:1002 +#: ../../library/sys.rst:1004 msgid "The system is a server, but not a domain controller." msgstr "" -#: ../../library/sys.rst:1006 +#: ../../library/sys.rst:1008 msgid "" "This function wraps the Win32 :c:func:`!GetVersionEx` function; see the " "Microsoft documentation on :c:func:`!OSVERSIONINFOEX` for more information " "about these fields." msgstr "" -#: ../../library/sys.rst:1010 +#: ../../library/sys.rst:1012 msgid "" "*platform_version* returns the major version, minor version and build number " "of the current operating system, rather than the version that is being " @@ -1294,24 +1294,24 @@ msgid "" "feature detection." msgstr "" -#: ../../library/sys.rst:1016 +#: ../../library/sys.rst:1018 msgid "" "*platform_version* derives the version from kernel32.dll which can be of a " "different version than the OS version. Please use :mod:`platform` module for " "achieving accurate OS version." msgstr "" -#: ../../library/sys.rst:1022 +#: ../../library/sys.rst:1024 msgid "" "Changed to a named tuple and added *service_pack_minor*, " "*service_pack_major*, *suite_mask*, and *product_type*." msgstr "" -#: ../../library/sys.rst:1026 +#: ../../library/sys.rst:1028 msgid "Added *platform_version*" msgstr "新增 *platform_version*" -#: ../../library/sys.rst:1032 +#: ../../library/sys.rst:1034 msgid "" "Returns an *asyncgen_hooks* object, which is similar to a :class:" "`~collections.namedtuple` of the form ``(firstiter, finalizer)``, where " @@ -1321,71 +1321,71 @@ msgid "" "loop." msgstr "" -#: ../../library/sys.rst:1039 +#: ../../library/sys.rst:1041 msgid "See :pep:`525` for more details." msgstr "更多細節請見 :pep:`525`。" -#: ../../library/sys.rst:1043 ../../library/sys.rst:1734 +#: ../../library/sys.rst:1045 ../../library/sys.rst:1736 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.)" msgstr "" -#: ../../library/sys.rst:1049 +#: ../../library/sys.rst:1051 msgid "" "Get the current coroutine origin tracking depth, as set by :func:" "`set_coroutine_origin_tracking_depth`." msgstr "" -#: ../../library/sys.rst:1055 ../../library/sys.rst:1755 +#: ../../library/sys.rst:1057 ../../library/sys.rst:1757 msgid "" "This function has been added on a provisional basis (see :pep:`411` for " "details.) Use it only for debugging purposes." msgstr "" -#: ../../library/sys.rst:1061 +#: ../../library/sys.rst:1063 msgid "" "A :term:`named tuple` giving parameters of the numeric hash implementation. " "For more details about hashing of numeric types, see :ref:`numeric-hash`." msgstr "" -#: ../../library/sys.rst:1067 +#: ../../library/sys.rst:1069 msgid "The width in bits used for hash values" msgstr "" -#: ../../library/sys.rst:1071 +#: ../../library/sys.rst:1073 msgid "The prime modulus P used for numeric hash scheme" msgstr "" -#: ../../library/sys.rst:1075 +#: ../../library/sys.rst:1077 msgid "The hash value returned for a positive infinity" msgstr "" -#: ../../library/sys.rst:1079 +#: ../../library/sys.rst:1081 msgid "(This attribute is no longer used)" msgstr "" -#: ../../library/sys.rst:1083 +#: ../../library/sys.rst:1085 msgid "The multiplier used for the imaginary part of a complex number" msgstr "" -#: ../../library/sys.rst:1087 +#: ../../library/sys.rst:1089 msgid "The name of the algorithm for hashing of str, bytes, and memoryview" msgstr "" -#: ../../library/sys.rst:1091 +#: ../../library/sys.rst:1093 msgid "The internal output size of the hash algorithm" msgstr "" -#: ../../library/sys.rst:1095 +#: ../../library/sys.rst:1097 msgid "The size of the seed key of the hash algorithm" msgstr "" -#: ../../library/sys.rst:1099 +#: ../../library/sys.rst:1101 msgid "Added *algorithm*, *hash_bits* and *seed_bits*" msgstr "新增 *algorithm*、*hash_bits* 與 *seed_bits*" -#: ../../library/sys.rst:1105 +#: ../../library/sys.rst:1107 msgid "" "The version number encoded as a single integer. This is guaranteed to " "increase with each version, including proper support for non-production " @@ -1393,7 +1393,7 @@ msgid "" "version 1.5.2, use::" msgstr "" -#: ../../library/sys.rst:1109 +#: ../../library/sys.rst:1111 msgid "" "if sys.hexversion >= 0x010502F0:\n" " # use some advanced feature\n" @@ -1403,7 +1403,7 @@ msgid "" " ..." msgstr "" -#: ../../library/sys.rst:1116 +#: ../../library/sys.rst:1118 msgid "" "This is called ``hexversion`` since it only really looks meaningful when " "viewed as the result of passing it to the built-in :func:`hex` function. " @@ -1411,25 +1411,25 @@ msgid "" "human-friendly encoding of the same information." msgstr "" -#: ../../library/sys.rst:1121 +#: ../../library/sys.rst:1123 msgid "More details of ``hexversion`` can be found at :ref:`apiabiversion`." msgstr "" -#: ../../library/sys.rst:1126 +#: ../../library/sys.rst:1128 msgid "" "An object containing information about the implementation of the currently " "running Python interpreter. The following attributes are required to exist " "in all Python implementations." msgstr "" -#: ../../library/sys.rst:1130 +#: ../../library/sys.rst:1132 msgid "" "*name* is the implementation's identifier, e.g. ``'cpython'``. The actual " "string is defined by the Python implementation, but it is guaranteed to be " "lower case." msgstr "" -#: ../../library/sys.rst:1134 +#: ../../library/sys.rst:1136 msgid "" "*version* is a named tuple, in the same format as :data:`sys.version_info`. " "It represents the version of the Python *implementation*. This has a " @@ -1441,13 +1441,13 @@ msgid "" "the same value, since it is the reference implementation." msgstr "" -#: ../../library/sys.rst:1144 +#: ../../library/sys.rst:1146 msgid "" "*hexversion* is the implementation version in hexadecimal format, like :data:" "`sys.hexversion`." msgstr "" -#: ../../library/sys.rst:1147 +#: ../../library/sys.rst:1149 msgid "" "*cache_tag* is the tag used by the import machinery in the filenames of " "cached modules. By convention, it would be a composite of the " @@ -1456,7 +1456,7 @@ msgid "" "set to ``None``, it indicates that module caching should be disabled." msgstr "" -#: ../../library/sys.rst:1154 +#: ../../library/sys.rst:1156 msgid "" ":data:`sys.implementation` may contain additional attributes specific to the " "Python implementation. These non-standard attributes must start with an " @@ -1466,41 +1466,41 @@ msgid "" "versions, however.) See :pep:`421` for more information." msgstr "" -#: ../../library/sys.rst:1165 +#: ../../library/sys.rst:1167 msgid "" "The addition of new required attributes must go through the normal PEP " "process. See :pep:`421` for more information." msgstr "" -#: ../../library/sys.rst:1170 +#: ../../library/sys.rst:1172 msgid "" "A :term:`named tuple` that holds information about Python's internal " "representation of integers. The attributes are read only." msgstr "" -#: ../../library/sys.rst:1175 +#: ../../library/sys.rst:1177 msgid "" "The number of bits held in each digit. Python integers are stored internally " "in base ``2**int_info.bits_per_digit``." msgstr "" -#: ../../library/sys.rst:1180 +#: ../../library/sys.rst:1182 msgid "The size in bytes of the C type used to represent a digit." msgstr "" -#: ../../library/sys.rst:1184 +#: ../../library/sys.rst:1186 msgid "" "The default value for :func:`sys.get_int_max_str_digits` when it is not " "otherwise explicitly configured." msgstr "" -#: ../../library/sys.rst:1189 +#: ../../library/sys.rst:1191 msgid "" "The minimum non-zero value for :func:`sys.set_int_max_str_digits`, :envvar:" "`PYTHONINTMAXSTRDIGITS`, or :option:`-X int_max_str_digits <-X>`." msgstr "" -#: ../../library/sys.rst:1196 +#: ../../library/sys.rst:1198 msgid "" "Added :attr:`~int_info.default_max_str_digits` and :attr:`~int_info." "str_digits_check_threshold`." @@ -1508,7 +1508,7 @@ msgstr "" "新增 :attr:`~int_info.default_max_str_digits` 和 :attr:`~int_info." "str_digits_check_threshold`。" -#: ../../library/sys.rst:1202 +#: ../../library/sys.rst:1204 msgid "" "When this attribute exists, its value is automatically called (with no " "arguments) when the interpreter is launched in :ref:`interactive mode `." msgstr "" -#: ../../library/sys.rst:1208 ../../library/sys.rst:1210 +#: ../../library/sys.rst:1210 ../../library/sys.rst:1212 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_interactivehook`` " "with the hook object as the argument when the hook is called on startup." msgstr "" -#: ../../library/sys.rst:1219 +#: ../../library/sys.rst:1221 msgid "" "Enter *string* in the table of \"interned\" strings and return the interned " "string -- which is *string* itself or a copy. Interning strings is useful to " @@ -1535,33 +1535,33 @@ msgid "" "attributes have interned keys." msgstr "" -#: ../../library/sys.rst:1227 +#: ../../library/sys.rst:1229 msgid "" "Interned strings are not :term:`immortal`; you must keep a reference to the " "return value of :func:`intern` around to benefit from it." msgstr "" -#: ../../library/sys.rst:1233 +#: ../../library/sys.rst:1235 msgid "" "Return :const:`True` if the :term:`GIL` is enabled and :const:`False` if it " "is disabled." msgstr "" -#: ../../library/sys.rst:1240 ../../library/sys.rst:1272 +#: ../../library/sys.rst:1242 ../../library/sys.rst:1274 msgid "It is not guaranteed to exist in all implementations of Python." msgstr "" -#: ../../library/sys.rst:1244 +#: ../../library/sys.rst:1246 msgid "" "Return :const:`True` if the main Python interpreter is :term:`shutting down " "`. Return :const:`False` otherwise." msgstr "" -#: ../../library/sys.rst:1247 +#: ../../library/sys.rst:1249 msgid "See also the :exc:`PythonFinalizationError` exception." msgstr "另請參閱 :exc:`PythonFinalizationError` 例外。" -#: ../../library/sys.rst:1253 +#: ../../library/sys.rst:1255 msgid "" "This variable is not always defined; it is set to the exception instance " "when an exception is not handled and the interpreter prints an error message " @@ -1572,40 +1572,40 @@ msgid "" "more information.)" msgstr "" -#: ../../library/sys.rst:1265 +#: ../../library/sys.rst:1267 msgid "" "Return :const:`True` if the given string is \"interned\", :const:`False` " "otherwise." msgstr "" -#: ../../library/sys.rst:1279 +#: ../../library/sys.rst:1281 msgid "" "These three variables are deprecated; use :data:`sys.last_exc` instead. They " "hold the legacy representation of ``sys.last_exc``, as returned from :func:" "`exc_info` above." msgstr "" -#: ../../library/sys.rst:1285 +#: ../../library/sys.rst:1287 msgid "" "An integer giving the maximum value a variable of type :c:type:`Py_ssize_t` " "can take. It's usually ``2**31 - 1`` on a 32-bit platform and ``2**63 - 1`` " "on a 64-bit platform." msgstr "" -#: ../../library/sys.rst:1292 +#: ../../library/sys.rst:1294 msgid "" "An integer giving the value of the largest Unicode code point, i.e. " "``1114111`` (``0x10FFFF`` in hexadecimal)." msgstr "" -#: ../../library/sys.rst:1295 +#: ../../library/sys.rst:1297 msgid "" "Before :pep:`393`, ``sys.maxunicode`` used to be either ``0xFFFF`` or " "``0x10FFFF``, depending on the configuration option that specified whether " "Unicode characters were stored as UCS-2 or UCS-4." msgstr "" -#: ../../library/sys.rst:1303 +#: ../../library/sys.rst:1305 msgid "" "A list of :term:`meta path finder` objects that have their :meth:`~importlib." "abc.MetaPathFinder.find_spec` methods called to see if one of the objects " @@ -1618,40 +1618,40 @@ msgid "" "``None`` if the module cannot be found." msgstr "" -#: ../../library/sys.rst:1316 +#: ../../library/sys.rst:1318 msgid ":class:`importlib.abc.MetaPathFinder`" msgstr ":class:`importlib.abc.MetaPathFinder`" -#: ../../library/sys.rst:1317 +#: ../../library/sys.rst:1319 msgid "" "The abstract base class defining the interface of finder objects on :data:" "`meta_path`." msgstr "" -#: ../../library/sys.rst:1319 +#: ../../library/sys.rst:1321 msgid ":class:`importlib.machinery.ModuleSpec`" msgstr ":class:`importlib.machinery.ModuleSpec`" -#: ../../library/sys.rst:1320 +#: ../../library/sys.rst:1322 msgid "" "The concrete class which :meth:`~importlib.abc.MetaPathFinder.find_spec` " "should return instances of." msgstr "" -#: ../../library/sys.rst:1326 +#: ../../library/sys.rst:1328 msgid "" ":term:`Module specs ` were introduced in Python 3.4, by :pep:" "`451`." msgstr "" -#: ../../library/sys.rst:1331 +#: ../../library/sys.rst:1333 msgid "" "Removed the fallback that looked for a :meth:`!find_module` method if a :" "data:`meta_path` entry didn't have a :meth:`~importlib.abc.MetaPathFinder." "find_spec` method." msgstr "" -#: ../../library/sys.rst:1337 +#: ../../library/sys.rst:1339 msgid "" "This is a dictionary that maps module names to modules which have already " "been loaded. This can be manipulated to force reloading of modules and " @@ -1663,13 +1663,13 @@ msgid "" "other threads." msgstr "" -#: ../../library/sys.rst:1349 +#: ../../library/sys.rst:1351 msgid "" "The list of the original command line arguments passed to the Python " "executable." msgstr "" -#: ../../library/sys.rst:1352 +#: ../../library/sys.rst:1354 msgid "" "The elements of :data:`sys.orig_argv` are the arguments to the Python " "interpreter, while the elements of :data:`sys.argv` are the arguments to the " @@ -1677,68 +1677,68 @@ msgid "" "in :data:`sys.orig_argv` and missing from :data:`sys.argv`." msgstr "" -#: ../../library/sys.rst:1364 +#: ../../library/sys.rst:1366 msgid "" "A list of strings that specifies the search path for modules. Initialized " "from the environment variable :envvar:`PYTHONPATH`, plus an installation-" "dependent default." msgstr "" -#: ../../library/sys.rst:1368 +#: ../../library/sys.rst:1370 msgid "" "By default, as initialized upon program startup, a potentially unsafe path " "is prepended to :data:`sys.path` (*before* the entries inserted as a result " "of :envvar:`PYTHONPATH`):" msgstr "" -#: ../../library/sys.rst:1372 +#: ../../library/sys.rst:1374 msgid "" "``python -m module`` command line: prepend the current working directory." msgstr "" -#: ../../library/sys.rst:1374 +#: ../../library/sys.rst:1376 msgid "" "``python script.py`` command line: prepend the script's directory. If it's a " "symbolic link, resolve symbolic links." msgstr "" -#: ../../library/sys.rst:1376 +#: ../../library/sys.rst:1378 msgid "" "``python -c code`` and ``python`` (REPL) command lines: prepend an empty " "string, which means the current working directory." msgstr "" -#: ../../library/sys.rst:1379 +#: ../../library/sys.rst:1381 msgid "" "To not prepend this potentially unsafe path, use the :option:`-P` command " "line option or the :envvar:`PYTHONSAFEPATH` environment variable." msgstr "" -#: ../../library/sys.rst:1382 +#: ../../library/sys.rst:1384 msgid "" "A program is free to modify this list for its own purposes. Only strings " "should be added to :data:`sys.path`; all other data types are ignored during " "import." msgstr "" -#: ../../library/sys.rst:1388 +#: ../../library/sys.rst:1390 msgid "" "Module :mod:`site` This describes how to use .pth files to extend :data:`sys." "path`." msgstr "" -#: ../../library/sys.rst:1393 +#: ../../library/sys.rst:1395 msgid "" "A list of callables that take a path argument to try to create a :term:" "`finder` for the path. If a finder can be created, it is to be returned by " "the callable, else raise :exc:`ImportError`." msgstr "" -#: ../../library/sys.rst:1397 ../../library/sys.rst:1408 +#: ../../library/sys.rst:1399 ../../library/sys.rst:1410 msgid "Originally specified in :pep:`302`." msgstr "" -#: ../../library/sys.rst:1402 +#: ../../library/sys.rst:1404 msgid "" "A dictionary acting as a cache for :term:`finder` objects. The keys are " "paths that have been passed to :data:`sys.path_hooks` and the values are the " @@ -1746,91 +1746,91 @@ msgid "" "is found on :data:`sys.path_hooks` then ``None`` is stored." msgstr "" -#: ../../library/sys.rst:1413 +#: ../../library/sys.rst:1415 msgid "A string containing a platform identifier. Known values are:" msgstr "" -#: ../../library/sys.rst:1416 +#: ../../library/sys.rst:1418 msgid "System" msgstr "" -#: ../../library/sys.rst:1416 +#: ../../library/sys.rst:1418 msgid "``platform`` value" msgstr "" -#: ../../library/sys.rst:1418 +#: ../../library/sys.rst:1420 msgid "AIX" msgstr "AIX" -#: ../../library/sys.rst:1418 +#: ../../library/sys.rst:1420 msgid "``'aix'``" msgstr "``'aix'``" -#: ../../library/sys.rst:1419 +#: ../../library/sys.rst:1421 msgid "Android" msgstr "Android" -#: ../../library/sys.rst:1419 +#: ../../library/sys.rst:1421 msgid "``'android'``" msgstr "``'android'``" -#: ../../library/sys.rst:1420 +#: ../../library/sys.rst:1422 msgid "Emscripten" msgstr "Emscripten" -#: ../../library/sys.rst:1420 +#: ../../library/sys.rst:1422 msgid "``'emscripten'``" msgstr "``'emscripten'``" -#: ../../library/sys.rst:1421 +#: ../../library/sys.rst:1423 msgid "iOS" msgstr "iOS" -#: ../../library/sys.rst:1421 +#: ../../library/sys.rst:1423 msgid "``'ios'``" msgstr "``'ios'``" -#: ../../library/sys.rst:1422 +#: ../../library/sys.rst:1424 msgid "Linux" msgstr "Linux" -#: ../../library/sys.rst:1422 +#: ../../library/sys.rst:1424 msgid "``'linux'``" msgstr "``'linux'``" -#: ../../library/sys.rst:1423 +#: ../../library/sys.rst:1425 msgid "macOS" msgstr "macOS" -#: ../../library/sys.rst:1423 +#: ../../library/sys.rst:1425 msgid "``'darwin'``" msgstr "``'darwin'``" -#: ../../library/sys.rst:1424 +#: ../../library/sys.rst:1426 msgid "Windows" msgstr "Windows" -#: ../../library/sys.rst:1424 +#: ../../library/sys.rst:1426 msgid "``'win32'``" msgstr "``'win32'``" -#: ../../library/sys.rst:1425 +#: ../../library/sys.rst:1427 msgid "Windows/Cygwin" msgstr "Windows/Cygwin" -#: ../../library/sys.rst:1425 +#: ../../library/sys.rst:1427 msgid "``'cygwin'``" msgstr "``'cygwin'``" -#: ../../library/sys.rst:1426 +#: ../../library/sys.rst:1428 msgid "WASI" msgstr "WASI" -#: ../../library/sys.rst:1426 +#: ../../library/sys.rst:1428 msgid "``'wasi'``" msgstr "``'wasi'``" -#: ../../library/sys.rst:1429 +#: ../../library/sys.rst:1431 msgid "" "On Unix systems not listed in the table, the value is the lowercased OS name " "as returned by ``uname -s``, with the first part of the version as returned " @@ -1839,81 +1839,81 @@ msgid "" "version, it is therefore recommended to use the following idiom::" msgstr "" -#: ../../library/sys.rst:1435 +#: ../../library/sys.rst:1437 msgid "" "if sys.platform.startswith('freebsd'):\n" " # FreeBSD-specific code here..." msgstr "" -#: ../../library/sys.rst:1438 +#: ../../library/sys.rst:1440 msgid "" "On Linux, :data:`sys.platform` doesn't contain the major version anymore. It " "is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``." msgstr "" -#: ../../library/sys.rst:1442 +#: ../../library/sys.rst:1444 msgid "" "On AIX, :data:`sys.platform` doesn't contain the major version anymore. It " "is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'``." msgstr "" -#: ../../library/sys.rst:1446 +#: ../../library/sys.rst:1448 msgid "" "On Android, :data:`sys.platform` now returns ``'android'`` rather than " "``'linux'``." msgstr "" -#: ../../library/sys.rst:1452 +#: ../../library/sys.rst:1454 msgid "" ":data:`os.name` has a coarser granularity. :func:`os.uname` gives system-" "dependent version information." msgstr "" -#: ../../library/sys.rst:1455 +#: ../../library/sys.rst:1457 msgid "" "The :mod:`platform` module provides detailed checks for the system's " "identity." msgstr "" -#: ../../library/sys.rst:1461 +#: ../../library/sys.rst:1463 msgid "" "Name of the platform-specific library directory. It is used to build the " "path of standard library and the paths of installed extension modules." msgstr "" -#: ../../library/sys.rst:1464 +#: ../../library/sys.rst:1466 msgid "" "It is equal to ``\"lib\"`` on most platforms. On Fedora and SuSE, it is " "equal to ``\"lib64\"`` on 64-bit platforms which gives the following ``sys." "path`` paths (where ``X.Y`` is the Python ``major.minor`` version):" msgstr "" -#: ../../library/sys.rst:1468 +#: ../../library/sys.rst:1470 msgid "" "``/usr/lib64/pythonX.Y/``: Standard library (like ``os.py`` of the :mod:`os` " "module)" msgstr "" -#: ../../library/sys.rst:1470 +#: ../../library/sys.rst:1472 msgid "" "``/usr/lib64/pythonX.Y/lib-dynload/``: C extension modules of the standard " "library (like the :mod:`errno` module, the exact filename is platform " "specific)" msgstr "" -#: ../../library/sys.rst:1473 +#: ../../library/sys.rst:1475 msgid "" "``/usr/lib/pythonX.Y/site-packages/`` (always use ``lib``, not :data:`sys." "platlibdir`): Third-party modules" msgstr "" -#: ../../library/sys.rst:1475 +#: ../../library/sys.rst:1477 msgid "" "``/usr/lib64/pythonX.Y/site-packages/``: C extension modules of third-party " "packages" msgstr "" -#: ../../library/sys.rst:1483 +#: ../../library/sys.rst:1485 msgid "" "A string giving the site-specific directory prefix where the platform " "independent Python files are installed; on Unix, the default is :file:`/usr/" @@ -1922,14 +1922,14 @@ msgid "" "derived paths." msgstr "" -#: ../../library/sys.rst:1489 +#: ../../library/sys.rst:1491 msgid "" "If a :ref:`virtual environment ` is in effect, this value will be " "changed in ``site.py`` to point to the virtual environment. The value for " "the Python installation will still be available, via :data:`base_prefix`." msgstr "" -#: ../../library/sys.rst:1504 +#: ../../library/sys.rst:1506 msgid "" "Strings specifying the primary and secondary prompt of the interpreter. " "These are only defined if the interpreter is in interactive mode. Their " @@ -1939,7 +1939,7 @@ msgid "" "used to implement a dynamic prompt." msgstr "" -#: ../../library/sys.rst:1514 +#: ../../library/sys.rst:1516 msgid "" "Set the flags used by the interpreter for :c:func:`dlopen` calls, such as " "when the interpreter loads extension modules. Among other things, this will " @@ -1950,14 +1950,14 @@ msgid "" "g. :const:`os.RTLD_LAZY`)." msgstr "" -#: ../../library/sys.rst:1526 +#: ../../library/sys.rst:1528 msgid "" "Set the :ref:`integer string conversion length limitation " "` used by this interpreter. See also :func:" "`get_int_max_str_digits`." msgstr "" -#: ../../library/sys.rst:1538 +#: ../../library/sys.rst:1540 msgid "" "Set the system's profile function, which allows you to implement a Python " "source code profiler in Python. See chapter :ref:`profile` for more " @@ -1972,14 +1972,14 @@ msgid "" "in the profile function will cause itself unset." msgstr "" -#: ../../library/sys.rst:1550 +#: ../../library/sys.rst:1552 msgid "" "The same tracing mechanism is used for :func:`!setprofile` as :func:" "`settrace`. To trace calls with :func:`!setprofile` inside a tracing " "function (e.g. in a debugger breakpoint), see :func:`call_tracing`." msgstr "" -#: ../../library/sys.rst:1554 +#: ../../library/sys.rst:1556 msgid "" "Profile functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -1987,71 +1987,71 @@ msgid "" "depends on the event type." msgstr "" -#: ../../library/sys.rst:1559 ../../library/sys.rst:1646 +#: ../../library/sys.rst:1561 ../../library/sys.rst:1648 msgid "The events have the following meaning:" msgstr "" -#: ../../library/sys.rst:1561 ../../library/sys.rst:1648 +#: ../../library/sys.rst:1563 ../../library/sys.rst:1650 msgid "``'call'``" msgstr "``'call'``" -#: ../../library/sys.rst:1562 +#: ../../library/sys.rst:1564 msgid "" "A function is called (or some other code block entered). The profile " "function is called; *arg* is ``None``." msgstr "" -#: ../../library/sys.rst:1565 ../../library/sys.rst:1663 +#: ../../library/sys.rst:1567 ../../library/sys.rst:1665 msgid "``'return'``" msgstr "``'return'``" -#: ../../library/sys.rst:1566 +#: ../../library/sys.rst:1568 msgid "" "A function (or other code block) is about to return. The profile function " "is called; *arg* is the value that will be returned, or ``None`` if the " "event is caused by an exception being raised." msgstr "" -#: ../../library/sys.rst:1570 +#: ../../library/sys.rst:1572 msgid "``'c_call'``" msgstr "``'c_call'``" -#: ../../library/sys.rst:1571 +#: ../../library/sys.rst:1573 msgid "" "A C function is about to be called. This may be an extension function or a " "built-in. *arg* is the C function object." msgstr "" -#: ../../library/sys.rst:1574 +#: ../../library/sys.rst:1576 msgid "``'c_return'``" msgstr "``'c_return'``" -#: ../../library/sys.rst:1575 +#: ../../library/sys.rst:1577 msgid "A C function has returned. *arg* is the C function object." msgstr "" -#: ../../library/sys.rst:1577 +#: ../../library/sys.rst:1579 msgid "``'c_exception'``" msgstr "``'c_exception'``" -#: ../../library/sys.rst:1578 +#: ../../library/sys.rst:1580 msgid "A C function has raised an exception. *arg* is the C function object." msgstr "" -#: ../../library/sys.rst:1580 +#: ../../library/sys.rst:1582 msgid "" "Raises an :ref:`auditing event ` ``sys.setprofile`` with no " "arguments." msgstr "引發一個不附帶引數的\\ :ref:`稽核事件 ` ``sys.setprofile``。" -#: ../../library/sys.rst:1585 +#: ../../library/sys.rst:1587 msgid "" "Set the maximum depth of the Python interpreter stack to *limit*. This " "limit prevents infinite recursion from causing an overflow of the C stack " "and crashing Python." msgstr "" -#: ../../library/sys.rst:1589 +#: ../../library/sys.rst:1591 msgid "" "The highest possible limit is platform-dependent. A user may need to set " "the limit higher when they have a program that requires deep recursion and a " @@ -2059,19 +2059,19 @@ msgid "" "because a too-high limit can lead to a crash." msgstr "" -#: ../../library/sys.rst:1594 +#: ../../library/sys.rst:1596 msgid "" "If the new limit is too low at the current recursion depth, a :exc:" "`RecursionError` exception is raised." msgstr "" -#: ../../library/sys.rst:1597 +#: ../../library/sys.rst:1599 msgid "" "A :exc:`RecursionError` exception is now raised if the new limit is too low " "at the current recursion depth." msgstr "" -#: ../../library/sys.rst:1604 +#: ../../library/sys.rst:1606 msgid "" "Set the interpreter's thread switch interval (in seconds). This floating-" "point value determines the ideal duration of the \"timeslices\" allocated to " @@ -2082,7 +2082,7 @@ msgid "" "scheduler." msgstr "" -#: ../../library/sys.rst:1621 +#: ../../library/sys.rst:1623 msgid "" "Set the system's trace function, which allows you to implement a Python " "source code debugger in Python. The function is thread-specific; for a " @@ -2091,7 +2091,7 @@ msgid "" "`threading.settrace`." msgstr "" -#: ../../library/sys.rst:1626 +#: ../../library/sys.rst:1628 msgid "" "Trace functions should have three arguments: *frame*, *event*, and *arg*. " "*frame* is the current stack frame. *event* is a string: ``'call'``, " @@ -2099,7 +2099,7 @@ msgid "" "the event type." msgstr "" -#: ../../library/sys.rst:1631 +#: ../../library/sys.rst:1633 msgid "" "The trace function is invoked (with *event* set to ``'call'``) whenever a " "new local scope is entered; it should return a reference to a local trace " @@ -2107,36 +2107,36 @@ msgid "" "traced." msgstr "" -#: ../../library/sys.rst:1636 +#: ../../library/sys.rst:1638 msgid "" "The local trace function should return a reference to itself, or to another " "function which would then be used as the local trace function for the scope." msgstr "" -#: ../../library/sys.rst:1639 +#: ../../library/sys.rst:1641 msgid "" "If there is any error occurred in the trace function, it will be unset, just " "like ``settrace(None)`` is called." msgstr "" -#: ../../library/sys.rst:1643 +#: ../../library/sys.rst:1645 msgid "" "Tracing is disabled while calling the trace function (e.g. a function set " "by :func:`!settrace`). For recursive tracing see :func:`call_tracing`." msgstr "" -#: ../../library/sys.rst:1649 +#: ../../library/sys.rst:1651 msgid "" "A function is called (or some other code block entered). The global trace " "function is called; *arg* is ``None``; the return value specifies the local " "trace function." msgstr "" -#: ../../library/sys.rst:1653 +#: ../../library/sys.rst:1655 msgid "``'line'``" msgstr "``'line'``" -#: ../../library/sys.rst:1654 +#: ../../library/sys.rst:1656 msgid "" "The interpreter is about to execute a new line of code or re-execute the " "condition of a loop. The local trace function is called; *arg* is ``None``; " @@ -2146,7 +2146,7 @@ msgid "" "to :const:`False` on that :ref:`frame `." msgstr "" -#: ../../library/sys.rst:1664 +#: ../../library/sys.rst:1666 msgid "" "A function (or other code block) is about to return. The local trace " "function is called; *arg* is the value that will be returned, or ``None`` if " @@ -2154,22 +2154,22 @@ msgid "" "return value is ignored." msgstr "" -#: ../../library/sys.rst:1669 +#: ../../library/sys.rst:1671 msgid "``'exception'``" msgstr "``'exception'``" -#: ../../library/sys.rst:1670 +#: ../../library/sys.rst:1672 msgid "" "An exception has occurred. The local trace function is called; *arg* is a " "tuple ``(exception, value, traceback)``; the return value specifies the new " "local trace function." msgstr "" -#: ../../library/sys.rst:1674 +#: ../../library/sys.rst:1676 msgid "``'opcode'``" msgstr "``'opcode'``" -#: ../../library/sys.rst:1675 +#: ../../library/sys.rst:1677 msgid "" "The interpreter is about to execute a new opcode (see :mod:`dis` for opcode " "details). The local trace function is called; *arg* is ``None``; the return " @@ -2179,13 +2179,13 @@ msgid "" "objects>`." msgstr "" -#: ../../library/sys.rst:1682 +#: ../../library/sys.rst:1684 msgid "" "Note that as an exception is propagated down the chain of callers, an " "``'exception'`` event is generated at each level." msgstr "" -#: ../../library/sys.rst:1685 +#: ../../library/sys.rst:1687 msgid "" "For more fine-grained usage, it's possible to set a trace function by " "assigning ``frame.f_trace = tracefunc`` explicitly, rather than relying on " @@ -2199,17 +2199,17 @@ msgid "" "on each frame)." msgstr "" -#: ../../library/sys.rst:1696 +#: ../../library/sys.rst:1698 msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" -#: ../../library/sys.rst:1698 +#: ../../library/sys.rst:1700 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." msgstr "引發一個不附帶引數的\\ :ref:`稽核事件 ` ``sys.settrace``。" -#: ../../library/sys.rst:1702 +#: ../../library/sys.rst:1704 msgid "" "The :func:`settrace` function is intended only for implementing debuggers, " "profilers, coverage tools and the like. Its behavior is part of the " @@ -2217,13 +2217,13 @@ msgid "" "thus may not be available in all Python implementations." msgstr "" -#: ../../library/sys.rst:1709 +#: ../../library/sys.rst:1711 msgid "" "``'opcode'`` event type added; :attr:`~frame.f_trace_lines` and :attr:" "`~frame.f_trace_opcodes` attributes added to frames" msgstr "" -#: ../../library/sys.rst:1714 +#: ../../library/sys.rst:1716 msgid "" "Accepts two optional keyword arguments which are callables that accept an :" "term:`asynchronous generator iterator` as an argument. The *firstiter* " @@ -2232,7 +2232,7 @@ msgid "" "about to be garbage collected." msgstr "" -#: ../../library/sys.rst:1720 +#: ../../library/sys.rst:1722 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_firstiter`` with no arguments." @@ -2240,7 +2240,7 @@ msgstr "" "引發一個不附帶引數的\\ :ref:`稽核事件 ` ``sys." "set_asyncgen_hooks_firstiter``。" -#: ../../library/sys.rst:1722 +#: ../../library/sys.rst:1724 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_finalizer`` with no arguments." @@ -2248,20 +2248,20 @@ msgstr "" "引發一個不附帶引數的\\ :ref:`稽核事件 ` ``sys." "set_asyncgen_hooks_finalizer``。" -#: ../../library/sys.rst:1724 +#: ../../library/sys.rst:1726 msgid "" "Two auditing events are raised because the underlying API consists of two " "calls, each of which must raise its own event." msgstr "" -#: ../../library/sys.rst:1727 +#: ../../library/sys.rst:1729 msgid "" "See :pep:`525` for more details, and for a reference example of a " "*finalizer* method see the implementation of ``asyncio.Loop." "shutdown_asyncgens`` in :source:`Lib/asyncio/base_events.py`" msgstr "" -#: ../../library/sys.rst:1739 +#: ../../library/sys.rst:1741 msgid "" "Allows enabling or disabling coroutine origin tracking. When enabled, the " "``cr_origin`` attribute on coroutine objects will contain a tuple of " @@ -2270,111 +2270,111 @@ msgid "" "disabled, ``cr_origin`` will be ``None``." msgstr "" -#: ../../library/sys.rst:1746 +#: ../../library/sys.rst:1748 msgid "" "To enable, pass a *depth* value greater than zero; this sets the number of " "frames whose information will be captured. To disable, pass set *depth* to " "zero." msgstr "" -#: ../../library/sys.rst:1750 +#: ../../library/sys.rst:1752 msgid "This setting is thread-specific." msgstr "" -#: ../../library/sys.rst:1760 +#: ../../library/sys.rst:1762 msgid "" "Activate the stack profiler trampoline *backend*. The only supported backend " "is ``\"perf\"``." msgstr "" -#: ../../library/sys.rst:1769 +#: ../../library/sys.rst:1771 msgid ":ref:`perf_profiling`" msgstr ":ref:`perf_profiling`" -#: ../../library/sys.rst:1770 +#: ../../library/sys.rst:1772 msgid "https://perf.wiki.kernel.org" msgstr "https://perf.wiki.kernel.org" -#: ../../library/sys.rst:1774 +#: ../../library/sys.rst:1776 msgid "Deactivate the current stack profiler trampoline backend." msgstr "" -#: ../../library/sys.rst:1776 +#: ../../library/sys.rst:1778 msgid "If no stack profiler is activated, this function has no effect." msgstr "" -#: ../../library/sys.rst:1784 +#: ../../library/sys.rst:1786 msgid "Return ``True`` if a stack profiler trampoline is active." msgstr "" -#: ../../library/sys.rst:1792 +#: ../../library/sys.rst:1794 msgid "" "Changes the :term:`filesystem encoding and error handler` to 'mbcs' and " "'replace' respectively, for consistency with versions of Python prior to 3.6." msgstr "" -#: ../../library/sys.rst:1796 +#: ../../library/sys.rst:1798 msgid "" "This is equivalent to defining the :envvar:`PYTHONLEGACYWINDOWSFSENCODING` " "environment variable before launching Python." msgstr "" -#: ../../library/sys.rst:1799 +#: ../../library/sys.rst:1801 msgid "" "See also :func:`sys.getfilesystemencoding` and :func:`sys." "getfilesystemencodeerrors`." msgstr "" -#: ../../library/sys.rst:1805 +#: ../../library/sys.rst:1807 msgid "" "Changing the filesystem encoding after Python startup is risky because the " "old fsencoding or paths encoded by the old fsencoding may be cached " "somewhere. Use :envvar:`PYTHONLEGACYWINDOWSFSENCODING` instead." msgstr "" -#: ../../library/sys.rst:1809 +#: ../../library/sys.rst:1811 msgid "See :pep:`529` for more details." msgstr "更多細節請見 :pep:`529`。" -#: ../../library/sys.rst:1812 +#: ../../library/sys.rst:1814 msgid "Use :envvar:`PYTHONLEGACYWINDOWSFSENCODING` instead." msgstr "" -#: ../../library/sys.rst:1819 +#: ../../library/sys.rst:1821 msgid "" ":term:`File objects ` used by the interpreter for standard " "input, output and errors:" msgstr "" -#: ../../library/sys.rst:1822 +#: ../../library/sys.rst:1824 msgid "" "``stdin`` is used for all interactive input (including calls to :func:" "`input`);" msgstr "" -#: ../../library/sys.rst:1824 +#: ../../library/sys.rst:1826 msgid "" "``stdout`` is used for the output of :func:`print` and :term:`expression` " "statements and for the prompts of :func:`input`;" msgstr "" -#: ../../library/sys.rst:1826 +#: ../../library/sys.rst:1828 msgid "The interpreter's own prompts and its error messages go to ``stderr``." msgstr "" -#: ../../library/sys.rst:1828 +#: ../../library/sys.rst:1830 msgid "" "These streams are regular :term:`text files ` like those returned " "by the :func:`open` function. Their parameters are chosen as follows:" msgstr "" -#: ../../library/sys.rst:1832 +#: ../../library/sys.rst:1834 msgid "" "The encoding and error handling are is initialized from :c:member:`PyConfig." "stdio_encoding` and :c:member:`PyConfig.stdio_errors`." msgstr "" -#: ../../library/sys.rst:1835 +#: ../../library/sys.rst:1837 msgid "" "On Windows, UTF-8 is used for the console device. Non-character devices " "such as disk files and pipes use the system locale encoding (i.e. the ANSI " @@ -2385,14 +2385,14 @@ msgid "" "initially attached to a console." msgstr "" -#: ../../library/sys.rst:1844 +#: ../../library/sys.rst:1846 msgid "" "The special behaviour of the console can be overridden by setting the " "environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In " "that case, the console codepages are used as for any other character device." msgstr "" -#: ../../library/sys.rst:1849 +#: ../../library/sys.rst:1851 msgid "" "Under all platforms, you can override the character encoding by setting the :" "envvar:`PYTHONIOENCODING` environment variable before starting Python or by " @@ -2401,7 +2401,7 @@ msgid "" "only applies when :envvar:`PYTHONLEGACYWINDOWSSTDIO` is also set." msgstr "" -#: ../../library/sys.rst:1856 +#: ../../library/sys.rst:1858 msgid "" "When interactive, the ``stdout`` stream is line-buffered. Otherwise, it is " "block-buffered like regular text files. The ``stderr`` stream is line-" @@ -2410,19 +2410,19 @@ msgid "" "`PYTHONUNBUFFERED` environment variable." msgstr "" -#: ../../library/sys.rst:1862 +#: ../../library/sys.rst:1864 msgid "" "Non-interactive ``stderr`` is now line-buffered instead of fully buffered." msgstr "" -#: ../../library/sys.rst:1868 +#: ../../library/sys.rst:1870 msgid "" "To write or read binary data from/to the standard streams, use the " "underlying binary :data:`~io.TextIOBase.buffer` object. For example, to " "write bytes to :data:`stdout`, use ``sys.stdout.buffer.write(b'abc')``." msgstr "" -#: ../../library/sys.rst:1872 +#: ../../library/sys.rst:1874 msgid "" "However, if you are writing a library (and do not control in which context " "its code will be executed), be aware that the standard streams may be " @@ -2430,7 +2430,7 @@ msgid "" "support the :attr:`!buffer` attribute." msgstr "" -#: ../../library/sys.rst:1882 +#: ../../library/sys.rst:1884 msgid "" "These objects contain the original values of ``stdin``, ``stderr`` and " "``stdout`` at the start of the program. They are used during finalization, " @@ -2438,7 +2438,7 @@ msgid "" "``sys.std*`` object has been redirected." msgstr "" -#: ../../library/sys.rst:1887 +#: ../../library/sys.rst:1889 msgid "" "It can also be used to restore the actual files to known working file " "objects in case they have been overwritten with a broken object. However, " @@ -2446,7 +2446,7 @@ msgid "" "before replacing it, and restore the saved object." msgstr "" -#: ../../library/sys.rst:1893 +#: ../../library/sys.rst:1895 msgid "" "Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the " "original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be " @@ -2454,12 +2454,12 @@ msgid "" "to a console and Python apps started with :program:`pythonw`." msgstr "" -#: ../../library/sys.rst:1901 +#: ../../library/sys.rst:1903 msgid "" "A frozenset of strings containing the names of standard library modules." msgstr "" -#: ../../library/sys.rst:1903 +#: ../../library/sys.rst:1905 msgid "" "It is the same on all platforms. Modules which are not available on some " "platforms and modules disabled at Python build are also listed. All module " @@ -2467,7 +2467,7 @@ msgid "" "modules are excluded." msgstr "" -#: ../../library/sys.rst:1908 +#: ../../library/sys.rst:1910 msgid "" "For packages, only the main package is listed: sub-packages and sub-modules " "are not listed. For example, the ``email`` package is listed, but the " @@ -2475,60 +2475,60 @@ msgid "" "listed." msgstr "" -#: ../../library/sys.rst:1913 +#: ../../library/sys.rst:1915 msgid "See also the :data:`sys.builtin_module_names` list." msgstr "另請參閱 :attr:`sys.builtin_module_names` 清單。" -#: ../../library/sys.rst:1920 +#: ../../library/sys.rst:1922 msgid "" "A :term:`named tuple` holding information about the thread implementation." msgstr "" -#: ../../library/sys.rst:1925 +#: ../../library/sys.rst:1927 msgid "The name of the thread implementation:" msgstr "" -#: ../../library/sys.rst:1927 +#: ../../library/sys.rst:1929 msgid "``\"nt\"``: Windows threads" msgstr "``\"nt\"``: Windows 執行緒" -#: ../../library/sys.rst:1928 +#: ../../library/sys.rst:1930 msgid "``\"pthread\"``: POSIX threads" msgstr "``\"pthread\"``: POSIX 執行緒" -#: ../../library/sys.rst:1929 +#: ../../library/sys.rst:1931 msgid "" "``\"pthread-stubs\"``: stub POSIX threads (on WebAssembly platforms without " "threading support)" msgstr "" -#: ../../library/sys.rst:1931 +#: ../../library/sys.rst:1933 msgid "``\"solaris\"``: Solaris threads" msgstr "" -#: ../../library/sys.rst:1935 +#: ../../library/sys.rst:1937 msgid "The name of the lock implementation:" msgstr "" -#: ../../library/sys.rst:1937 +#: ../../library/sys.rst:1939 msgid "``\"semaphore\"``: a lock uses a semaphore" msgstr "" -#: ../../library/sys.rst:1938 +#: ../../library/sys.rst:1940 msgid "``\"mutex+cond\"``: a lock uses a mutex and a condition variable" msgstr "" -#: ../../library/sys.rst:1939 +#: ../../library/sys.rst:1941 msgid "``None`` if this information is unknown" msgstr "為 ``None`` 表示此資訊未知" -#: ../../library/sys.rst:1943 +#: ../../library/sys.rst:1945 msgid "" "The name and version of the thread library. It is a string, or ``None`` if " "this information is unknown." msgstr "" -#: ../../library/sys.rst:1951 +#: ../../library/sys.rst:1953 msgid "" "When this variable is set to an integer value, it determines the maximum " "number of levels of traceback information printed when an unhandled " @@ -2537,73 +2537,73 @@ msgid "" "are printed." msgstr "" -#: ../../library/sys.rst:1959 +#: ../../library/sys.rst:1961 msgid "Handle an unraisable exception." msgstr "處理一個不可被引發的例外。" -#: ../../library/sys.rst:1961 +#: ../../library/sys.rst:1963 msgid "" "Called when an exception has occurred but there is no way for Python to " "handle it. For example, when a destructor raises an exception or during " "garbage collection (:func:`gc.collect`)." msgstr "" -#: ../../library/sys.rst:1965 +#: ../../library/sys.rst:1967 msgid "The *unraisable* argument has the following attributes:" -msgstr "" +msgstr "*unraisable* 引數具有以下屬性:" -#: ../../library/sys.rst:1967 +#: ../../library/sys.rst:1969 msgid ":attr:`!exc_type`: Exception type." msgstr ":attr:`!exc_type`: 例外型別。" -#: ../../library/sys.rst:1968 +#: ../../library/sys.rst:1970 msgid ":attr:`!exc_value`: Exception value, can be ``None``." msgstr ":attr:`!exc_value`: 例外值,可以為 ``None``。" -#: ../../library/sys.rst:1969 +#: ../../library/sys.rst:1971 msgid ":attr:`!exc_traceback`: Exception traceback, can be ``None``." msgstr ":attr:`!exc_traceback`: 例外追蹤,可以為 ``None``。" -#: ../../library/sys.rst:1970 +#: ../../library/sys.rst:1972 msgid ":attr:`!err_msg`: Error message, can be ``None``." msgstr ":attr:`!err_msg`: 錯誤訊息,可以為 ``None``。" -#: ../../library/sys.rst:1971 +#: ../../library/sys.rst:1973 msgid ":attr:`!object`: Object causing the exception, can be ``None``." msgstr ":attr:`!object`: 導致例外的物件,可以為 ``None``。" -#: ../../library/sys.rst:1973 +#: ../../library/sys.rst:1975 msgid "" "The default hook formats :attr:`!err_msg` and :attr:`!object` as: " "``f'{err_msg}: {object!r}'``; use \"Exception ignored in\" error message if :" "attr:`!err_msg` is ``None``." msgstr "" -#: ../../library/sys.rst:1977 +#: ../../library/sys.rst:1979 msgid "" ":func:`sys.unraisablehook` can be overridden to control how unraisable " "exceptions are handled." msgstr "" -#: ../../library/sys.rst:1982 +#: ../../library/sys.rst:1984 msgid ":func:`excepthook` which handles uncaught exceptions." msgstr "處理未被捕捉到例外的 :func:`excepthook`。" -#: ../../library/sys.rst:1986 +#: ../../library/sys.rst:1988 msgid "" "Storing :attr:`!exc_value` using a custom hook can create a reference cycle. " "It should be cleared explicitly to break the reference cycle when the " "exception is no longer needed." msgstr "" -#: ../../library/sys.rst:1990 +#: ../../library/sys.rst:1992 msgid "" "Storing :attr:`!object` using a custom hook can resurrect it if it is set to " "an object which is being finalized. Avoid storing :attr:`!object` after the " "custom hook completes to avoid resurrecting objects." msgstr "" -#: ../../library/sys.rst:1994 ../../library/sys.rst:1996 +#: ../../library/sys.rst:1996 ../../library/sys.rst:1998 msgid "" "Raise an auditing event ``sys.unraisablehook`` with arguments *hook*, " "*unraisable* when an exception that cannot be handled occurs. The " @@ -2611,7 +2611,7 @@ msgid "" "hook has been set, *hook* may be ``None``." msgstr "" -#: ../../library/sys.rst:2005 +#: ../../library/sys.rst:2007 msgid "" "A string containing the version number of the Python interpreter plus " "additional information on the build number and compiler used. This string " @@ -2620,13 +2620,13 @@ msgid "" "functions provided by the :mod:`platform` module." msgstr "" -#: ../../library/sys.rst:2014 +#: ../../library/sys.rst:2016 msgid "" "The C API version for this interpreter. Programmers may find this useful " "when debugging version conflicts between Python and extension modules." msgstr "" -#: ../../library/sys.rst:2020 +#: ../../library/sys.rst:2022 msgid "" "A tuple containing the five components of the version number: *major*, " "*minor*, *micro*, *releaselevel*, and *serial*. All values except " @@ -2637,18 +2637,18 @@ msgid "" "version_info.major`` and so on." msgstr "" -#: ../../library/sys.rst:2028 +#: ../../library/sys.rst:2030 msgid "Added named component attributes." msgstr "新增了附名的元件屬性。" -#: ../../library/sys.rst:2033 +#: ../../library/sys.rst:2035 msgid "" "This is an implementation detail of the warnings framework; do not modify " "this value. Refer to the :mod:`warnings` module for more information on the " "warnings framework." msgstr "" -#: ../../library/sys.rst:2040 +#: ../../library/sys.rst:2042 msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " @@ -2657,20 +2657,20 @@ msgid "" "has no effect on the registry keys used by Python." msgstr "" -#: ../../library/sys.rst:2052 +#: ../../library/sys.rst:2054 msgid "" "Namespace containing functions and constants for register callbacks and " "controlling monitoring events. See :mod:`sys.monitoring` for details." msgstr "" -#: ../../library/sys.rst:2058 +#: ../../library/sys.rst:2060 msgid "" "A dictionary of the various implementation-specific flags passed through " "the :option:`-X` command-line option. Option names are either mapped to " "their values, if given explicitly, or to :const:`True`. Example:" msgstr "" -#: ../../library/sys.rst:2062 +#: ../../library/sys.rst:2064 msgid "" "$ ./python -Xa=b -Xc\n" "Python 3.2a3+ (py3k, Oct 16 2010, 20:14:50)\n" @@ -2690,18 +2690,18 @@ msgstr "" ">>> sys._xoptions\n" "{'a': 'b', 'c': True}" -#: ../../library/sys.rst:2074 +#: ../../library/sys.rst:2076 msgid "" "This is a CPython-specific way of accessing options passed through :option:`-" "X`. Other implementations may export them through other means, or not at " "all." msgstr "" -#: ../../library/sys.rst:2082 +#: ../../library/sys.rst:2084 msgid "Citations" msgstr "引用" -#: ../../library/sys.rst:2083 +#: ../../library/sys.rst:2085 msgid "" "ISO/IEC 9899:1999. \"Programming languages -- C.\" A public draft of this " "standard is available at https://www.open-std.org/jtc1/sc22/wg14/www/docs/" @@ -2722,50 +2722,50 @@ msgstr "object(物件)" msgid "traceback" msgstr "traceback" -#: ../../library/sys.rst:954 ../../library/sys.rst:1534 +#: ../../library/sys.rst:956 ../../library/sys.rst:1536 msgid "profile function" msgstr "" -#: ../../library/sys.rst:954 ../../library/sys.rst:1534 +#: ../../library/sys.rst:956 ../../library/sys.rst:1536 msgid "profiler" msgstr "" -#: ../../library/sys.rst:963 ../../library/sys.rst:1617 +#: ../../library/sys.rst:965 ../../library/sys.rst:1619 msgid "trace function" msgstr "" -#: ../../library/sys.rst:963 ../../library/sys.rst:1617 +#: ../../library/sys.rst:965 ../../library/sys.rst:1619 msgid "debugger" msgstr "debugger(除錯器)" -#: ../../library/sys.rst:1362 +#: ../../library/sys.rst:1364 msgid "module" msgstr "module(模組)" -#: ../../library/sys.rst:1362 +#: ../../library/sys.rst:1364 msgid "search" msgstr "search(搜尋)" -#: ../../library/sys.rst:1362 +#: ../../library/sys.rst:1364 msgid "path" msgstr "path(路徑)" -#: ../../library/sys.rst:1498 +#: ../../library/sys.rst:1500 msgid "interpreter prompts" msgstr "interpreter prompts(直譯器提示)" -#: ../../library/sys.rst:1498 +#: ../../library/sys.rst:1500 msgid "prompts, interpreter" msgstr "prompts, interpreter(提示、直譯器)" -#: ../../library/sys.rst:1498 +#: ../../library/sys.rst:1500 msgid ">>>" msgstr ">>>" -#: ../../library/sys.rst:1498 +#: ../../library/sys.rst:1500 msgid "interpreter prompt" msgstr "interpreter prompt(直譯器提示)" -#: ../../library/sys.rst:1498 +#: ../../library/sys.rst:1500 msgid "..." msgstr "..." diff --git a/library/syslog.po b/library/syslog.po index 80f33bd74f..903b926241 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -31,7 +31,7 @@ msgstr "" #: ../../library/syslog.rst:14 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/syslog.rst:16 msgid "" @@ -163,7 +163,7 @@ msgstr "" #: ../../library/syslog.rst:108 msgid "The module defines the following constants:" -msgstr "" +msgstr "這個模組定義了以下常數:" #: ../../library/syslog.rst:120 msgid "Priority levels (high to low)." diff --git a/library/tarfile.po b/library/tarfile.po index 8d4ea43807..5ea736c950 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -373,15 +373,15 @@ msgstr "" #: ../../library/tarfile.rst:181 msgid "Support for file and file-like objects." -msgstr "" +msgstr "對檔案和類檔案物件的支援。" #: ../../library/tarfile.rst:185 msgid "The :mod:`tarfile` module defines the following exceptions:" -msgstr "" +msgstr ":mod:`tarfile` 模組定義了以下例外:" #: ../../library/tarfile.rst:190 msgid "Base class for all :mod:`tarfile` exceptions." -msgstr "" +msgstr "所有 :mod:`tarfile` 例外的基底類別。" #: ../../library/tarfile.rst:195 msgid "" @@ -1045,7 +1045,7 @@ msgstr "" #: ../../library/tarfile.rst:756 msgid "A ``TarInfo`` object has the following public data attributes:" -msgstr "" +msgstr "一個 ``TarInfo`` 物件具有以下公開資料屬性:" #: ../../library/tarfile.rst:762 msgid "Name of the archive member." diff --git a/library/telnetlib.po b/library/telnetlib.po index cd0b4c26d3..0888e99945 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -18,7 +18,7 @@ msgstr "" #: ../../library/telnetlib.rst:2 msgid ":mod:`!telnetlib` --- Telnet client" -msgstr ":mod:`!telnetlib` --- Telnet 客戶端" +msgstr ":mod:`!telnetlib` --- Telnet 用戶端" #: ../../library/telnetlib.rst:10 msgid "" diff --git a/library/termios.po b/library/termios.po index 20ce680561..8d743a5164 100644 --- a/library/termios.po +++ b/library/termios.po @@ -32,7 +32,7 @@ msgstr "" #: ../../library/termios.rst:19 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/termios.rst:21 msgid "" @@ -51,7 +51,7 @@ msgstr "" #: ../../library/termios.rst:30 msgid "The module defines the following functions:" -msgstr "" +msgstr "此模組定義了以下函式:" #: ../../library/termios.rst:35 msgid "" diff --git a/library/threading.po b/library/threading.po index 56ffbbf335..24de59c26d 100644 --- a/library/threading.po +++ b/library/threading.po @@ -34,7 +34,7 @@ msgstr "" #: ../../library/threading.rst:194 ../../library/threading.rst:293 #: ../../library/threading.rst:641 ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" @@ -367,7 +367,7 @@ msgstr "" #: ../../library/threading.rst:298 msgid "This module also defines the following constant:" -msgstr "" +msgstr "此模組也定義了以下常數:" #: ../../library/threading.rst:302 msgid "" diff --git a/library/time.po b/library/time.po index d777bdc307..dfd10d6f86 100644 --- a/library/time.po +++ b/library/time.po @@ -273,7 +273,7 @@ msgstr "" #: ../../library/time.rst:971 ../../library/time.rst:980 #: ../../library/time.rst:993 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/time.rst:155 msgid "" diff --git a/library/traceback.po b/library/traceback.po index 6337736158..39b3558948 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -926,6 +926,3 @@ msgstr "^ (插入符號)" #: ../../library/traceback.rst:87 msgid "marker" msgstr "marker(標記)" - -#~ msgid "The module defines the following functions:" -#~ msgstr "此模組定義了以下函式:" diff --git a/library/urllib.request.po b/library/urllib.request.po index 45e42e0699..4bae8ca900 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -55,7 +55,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/webbrowser.po b/library/webbrowser.po index 8e2062bdf8..cd494e9334 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -115,7 +115,7 @@ msgstr "python -m webbrowser -t \"https://www.python.org\"" #: ../../library/webbrowser.rst:63 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/webbrowser.rst:65 msgid "The following exception is defined:" diff --git a/library/wsgiref.po b/library/wsgiref.po index 02456816c1..a35424b61e 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -107,8 +107,8 @@ msgid "" "a request is received via SSL. So, this function returns \"https\" if such " "a value is found, and \"http\" otherwise." msgstr "" -"當建立一個包裝 CGI 或類似 FastCGI 的 CGI-like 協議閘道時,此函式非常有用。例" -"如 FastCGI,通常提供這類協議的伺服器在通過 SSL 接收到請求時會包含 \"1\"," +"當建立一個包裝 CGI 或類似 FastCGI 的 CGI-like 協定閘道時,此函式非常有用。例" +"如 FastCGI,通常提供這類協定的伺服器在通過 SSL 接收到請求時會包含 \"1\"," "\"yes\",或 \"on\" 的 ``HTTPS`` 變數,因此,如果找到這樣的值,此函式回傳 " "\"https\",否則回傳 \"http\"。" @@ -263,7 +263,7 @@ msgid "" "When :meth:`read` returns an empty bytestring, iteration is ended and is not " "resumable." msgstr "" -":class:`wsgiref.types.FileWrapper` 協議的具體實作,用於將類檔案物件轉換" +":class:`wsgiref.types.FileWrapper` 協定的具體實作,用於將類檔案物件轉換" "為 :term:`iterator`。產生的物件是 :term:`iterable`。當物件進行疊代時,將可選" "的 *blksize* 引數重複傳遞給 *filelike* 物件的 :meth:`read` 方法來獲得將產生" "(yield)的位元組字串。當 :meth:`read` 回傳一個空位元組字串,代表疊代已結束且" @@ -625,7 +625,7 @@ msgstr "" "當建立新的 WSGI 應用程式物件、框架、伺服器、或是中介軟體(middleware)時,使" "用 :mod:`wsgiref.validate` 來驗證新程式碼的符合性可能會很有用。這個模組提供一" "個函式用於建立 WSGI 應用程式物件,並用於驗證 WSGI 伺服器或是閘道與 WSGI 應用" -"程式物件之間的通訊,以檢查雙方協議的符合性。" +"程式物件之間的通訊,以檢查雙方協定的符合性。" #: ../../library/wsgiref.rst:399 msgid "" @@ -820,7 +820,7 @@ msgid "" msgstr "" "這個類別是專門為除了 HTTP \"origin servers\" 以外的軟體一起使用" "的 :class:`SimpleHandler` 的子類別。如果你正在撰寫一個使用 ``Status:`` 標頭來" -"發送 HTTP 狀態的閘道協議實作(例如 CGI、FastCGI、SCGI 等),你可能會想要子類" +"發送 HTTP 狀態的閘道協定實作(例如 CGI、FastCGI、SCGI 等),你可能會想要子類" "化這個類別來替代 :class:`SimpleHandler`。" #: ../../library/wsgiref.rst:522 @@ -1172,7 +1172,7 @@ msgid "" "special ``Status:`` header." msgstr "" "這個屬性應該被設置為 true 值,如果處理程式(handler)的 :meth:`_write` " -"和 :meth:`_flush` 被用於直接與用戶端通訊,而不是透過 CGI-like 的閘道協議希望 " +"和 :meth:`_flush` 被用於直接與用戶端通訊,而不是透過 CGI-like 的閘道協定希望 " "HTTP 狀態在特殊的 ``Status:`` 標頭中。" #: ../../library/wsgiref.rst:748 @@ -1268,7 +1268,7 @@ msgid "" msgstr "" "一個描述\\ :pep:`檔案包裝器 <3333#optional-platform-specific-file-" "handling>`\\ 的 :class:`typing.Protocol`。請參" -"閱 :class:`wsgiref.util.FileWrapper` 來瞭解此協議的具體實作。" +"閱 :class:`wsgiref.util.FileWrapper` 來瞭解此協定的具體實作。" #: ../../library/wsgiref.rst:822 msgid "Examples" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index c68ea2436e..11a0724cc9 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -19,7 +19,7 @@ msgstr "" #: ../../library/xmlrpc.client.rst:2 msgid ":mod:`!xmlrpc.client` --- XML-RPC client access" -msgstr ":mod:`!xmlrpc.client` --- XML-RPC 客戶端存取" +msgstr ":mod:`!xmlrpc.client` --- XML-RPC 用戶端存取" #: ../../library/xmlrpc.client.rst:10 msgid "**Source code:** :source:`Lib/xmlrpc/client.py`" @@ -49,7 +49,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 3db9476c5d..2f9746ce24 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -43,7 +43,7 @@ msgstr "" #: ../../includes/wasm-notavail.rst:3 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../includes/wasm-notavail.rst:5 msgid "" diff --git a/library/zlib.po b/library/zlib.po index ab476e6640..6f1742c7e5 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -476,7 +476,7 @@ msgid "" "`unconsumed_tail` is empty." msgstr "" "如果可選參數 *max_length* 不是零,則回傳值長度將不超過 *max_length*。這代表著" -"並不是所有的已壓縮輸入都可以被處理;未使用的資料將被存儲在屬性 :attr:" +"並不是所有的已壓縮輸入都可以被處理;未使用的資料將被儲存在屬性 :attr:" "`unconsumed_tail` 中。如果要繼續解壓縮,則必須將此位元組字串傳遞給後續對 :" "meth:`decompress` 的呼叫。如果 *max_length* 為零,則整個輸入會被解壓縮,並" "且 :attr:`unconsumed_tail` 為空。" diff --git a/sphinx.po b/sphinx.po index d7a2b6f202..df4d716271 100644 --- a/sphinx.po +++ b/sphinx.po @@ -211,7 +211,7 @@ msgstr "" #: ../../tools/templates/dummy.html:6 msgid "Availability" -msgstr "適用" +msgstr "可用性" #: ../../tools/templates/dummy.html:10 msgid "Part of the" diff --git a/tutorial/classes.po b/tutorial/classes.po index 388fa0b934..1a71fad46f 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -935,7 +935,7 @@ msgid "" "implementation details and control access to an object if necessary; this " "can be used by extensions to Python written in C.)" msgstr "" -"資料屬性可能被 method 或是被物件的一般使用者(「客戶端」)所參照。也就是說," +"資料屬性可能被 method 或是被物件的一般使用者(「用戶端」)所參照。也就是說," "class 不可用於實作純粹抽象的資料型別。事實上,在 Python 中沒有任何可能的方" "法,可強制隱藏資料——這都是基於慣例。(另一方面,以 C 編寫的 Python 實作可以完" "全隱藏實作細節並且在必要時控制物件的存取;這可以被以 C 編寫的 Python 擴充所使" @@ -949,8 +949,8 @@ msgid "" "without affecting the validity of the methods, as long as name conflicts are " "avoided --- again, a naming convention can save a lot of headaches here." msgstr "" -"客戶端應該小心使用資料屬性——客戶端可能會因為覆寫他們的資料屬性,而破壞了被 " -"method 維護的不變性。注意,客戶端可以增加他們自己的資料屬性到實例物件,但不影" +"用戶端應該小心使用資料屬性——用戶端可能會因為覆寫他們的資料屬性,而破壞了被 " +"method 維護的不變性。注意,用戶端可以增加他們自己的資料屬性到實例物件,但不影" "響 method 的有效性,只要避免名稱衝突即可——再一次提醒,命名慣例可以在這裡節省" "很多麻煩。" @@ -1180,7 +1180,7 @@ msgid "" msgstr "" "一個在 derived class 覆寫的 method 可能事實上是想要擴充而非單純取代 base " "class 中相同名稱的 method。要直接呼叫 base class 的 method 有一個簡單的方法:" -"只要呼叫 ``BaseClassName.methodname(self, arguments)``。這有時對客戶端也很有" +"只要呼叫 ``BaseClassName.methodname(self, arguments)``。這有時對用戶端也很有" "用。(請注意,只有在 base class 在全域作用域可以用 ``BaseClassName`` 被存取" "時,這方法才有效。)" diff --git a/using/cmdline.po b/using/cmdline.po index e2e5b79b5f..e7c7599538 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -1315,7 +1315,7 @@ msgstr "" #: ../../using/cmdline.rst:1036 ../../using/cmdline.rst:1050 #: ../../using/cmdline.rst:1101 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../using/cmdline.rst:1038 msgid "See :pep:`529` for more details." diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index a8999ecb85..f79b665bae 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -1597,7 +1597,7 @@ msgid "" "howto`. (Contributed by Larry Hastings in :issue:`43901`.)" msgstr "" "類別和模組物件現在會根據需求來延遲建立 (lazy-create) 空的註釋字典 " -"(annotations dicts)。註釋字典存儲在物件的 ``__dict__`` 中以達成向後相容性。這" +"(annotations dicts)。註釋字典儲存在物件的 ``__dict__`` 中以達成向後相容性。這" "改進了 ``__annotations__`` 使用方式的最佳實踐方法;有關更多資訊,請參閱 :ref:" "`annotations-howto`。(由 Larry Hastings 在 :issue:`43901` 中貢獻。)" @@ -2515,7 +2515,7 @@ msgid "" "(Contributed by Zackery Spytz in :issue:`34204`.)" msgstr "" "現在,:mod:`shelve` 模組在建立 shelve 時預設使用 :const:`pickle." -"DEFAULT_PROTOCOL`,而不是 :mod:`pickle` 的協議 ``3``。(由 Zackery Spytz 在 :" +"DEFAULT_PROTOCOL`,而不是 :mod:`pickle` 的協定 ``3``。(由 Zackery Spytz 在 :" "issue:`34204` 中貢獻。)" #: ../../whatsnew/3.10.rst:1332 @@ -2614,7 +2614,7 @@ msgid "" msgstr "" "ssl 模組現在具有更安全的預設設定。預設情況下禁用沒有前向保密或 SHA-1 MAC 的密" "碼。安全級別 2 禁止安全性低於 112 位元的弱 RSA、DH 和 ECC 密鑰。 :class:" -"`~ssl.SSLContext` 預設為最低協議版本 TLS 1.2。設定基於 Hynek Schlawack 的研" +"`~ssl.SSLContext` 預設為最低協定版本 TLS 1.2。設定基於 Hynek Schlawack 的研" "究。(由 Christian Heimes 在 :issue:`43998` 中貢獻。)" #: ../../whatsnew/3.10.rst:1384 @@ -2624,7 +2624,7 @@ msgid "" "build options, distro configurations, vendor patches, and cipher suites may " "prevent a successful handshake." msgstr "" -"不再正式支援已棄用的協議 SSL 3.0、TLS 1.0 和 TLS 1.1。 Python 不會主動阻止它" +"不再正式支援已棄用的協定 SSL 3.0、TLS 1.0 和 TLS 1.1。 Python 不會主動阻止它" "們。然而,OpenSSL 建置選項、發行版配置、發行商補丁和密碼套件可能會阻止交握的" "成功。" @@ -2843,7 +2843,7 @@ msgid "" msgstr "" "僅宣告了資料變數的 ``typing.Protocol`` 子類別現在在使用 ``isinstance`` 檢查時" "會引發 ``TypeError`` ,除非它們用 :func:`~typing.runtime_checkable` 裝飾。此" -"前,這些檢查都是悄無聲息地通過的。如果使用者需要執行環境協議 (runtime " +"前,這些檢查都是悄無聲息地通過的。如果使用者需要執行環境協定 (runtime " "protocol),則應該使用 :func:`!runtime_checkable` 裝飾器來裝飾其子類別。(由 " "Yurii Karabas 在 :issue:`38908` 中貢獻。)" @@ -3024,7 +3024,7 @@ msgid "" "define an annotated function by half. (Contributed by Yurii Karabas and " "Inada Naoki in :issue:`42202`.)" msgstr "" -"使用字串化註釋時,建立函式時不再建立函式的註釋字典。取而代之的是它們被存儲為" +"使用字串化註釋時,建立函式時不再建立函式的註釋字典。取而代之的是它們被儲存為" "字串元組,且函式物件會根據需求才將其延遲轉換 (lazily convert) 為註釋字典。此" "最佳化將定義帶有註釋的函式所需的 CPU 時間減少了一半。(由 Yurii Karabas 和 " "Inada Naoki 在 :issue:`42202` 中貢獻。)" diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 468df5d85e..270fd31027 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -740,9 +740,9 @@ msgid "" "supporting the :term:`asynchronous context manager` protocol. (Contributed " "by Serhiy Storchaka in :issue:`12022` and :issue:`44471`.)" msgstr "" -"現在在不支援 :term:`context manager` 協議的物件上使用 :keyword:`with` 陳述式" +"現在在不支援 :term:`context manager` 協定的物件上使用 :keyword:`with` 陳述式" "和 :meth:`contextlib.ExitStack.enter_context` 或在不支援 :term:`asynchronous " -"context manager` 協議的物件上使用 :keyword:`async with` 陳述式" +"context manager` 協定的物件上使用 :keyword:`async with` 陳述式" "和 :meth:`contextlib.AsyncExitStack.enter_async_context`,會引" "發 :exc:`TypeError` 而不是 :exc:`AttributeError`。(由 Serhiy Storchaka " "在 :issue:`12022` 和 :issue:`44471` 中貢獻。)" @@ -1385,7 +1385,7 @@ msgid "" "triggering dynamic lookup via the descriptor protocol. (Contributed by " "Weipeng Hong in :issue:`30533`.)" msgstr "" -"添加 :func:`~inspect.getmembers_static` 以回傳所有成員,而不會通過描述器協議 " +"添加 :func:`~inspect.getmembers_static` 以回傳所有成員,而不會通過描述器協定 " "(descriptor protocol) 觸發動態查找。(由 Weipeng Hong 在 :issue:`30533` 中貢" "獻。)" @@ -2227,7 +2227,7 @@ msgid "" "272 bytes (23% smaller) on 64-bit platforms. (Contributed by Inada Naoki " "in :issue:`46845`.)" msgstr "" -"當所有鍵都是 Unicode 物件時,字典不存儲雜湊值,減少了 :class:`dict` 的大小。" +"當所有鍵都是 Unicode 物件時,字典不儲存雜湊值,減少了 :class:`dict` 的大小。" "例如,``sys.getsizeof(dict.fromkeys(\"abcdefg\"))`` 在 64-bit 平台上從 352 位" "元組減少到 272 位元組(減少 23%)。(由 Inada Naoki 在 :issue:`46845` 中貢" "獻。)" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 88a9f991f4..10b8535db4 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -3118,7 +3118,7 @@ msgid "" "allowing an ``SMTP`` instance to be used in a ``with`` statement. " "(Contributed by Giampaolo Rodolà in :issue:`11289`.)" msgstr "" -":class:`~smtplib.SMTP` 現在支援情境管理協議,允許在 ``with`` 陳述式中使用 " +":class:`~smtplib.SMTP` 現在支援情境管理協定,允許在 ``with`` 陳述式中使用 " "``SMTP`` 實例。(由 Giampaolo Rodolà 在 :issue:`11289` 中貢獻。)" #: ../../whatsnew/3.3.rst:1872 @@ -3170,7 +3170,7 @@ msgid "" "Articles/253425)." msgstr "" ":class:`~socket.socket` 類別現在支援 Linux (https://lwn.net/Articles/253425) " -"上的 PF_CAN 協議系列 (https://en.wikipedia.org/wiki/Socketcan)。" +"上的 PF_CAN 協定系列 (https://en.wikipedia.org/wiki/Socketcan)。" #: ../../whatsnew/3.3.rst:1894 msgid "" @@ -3186,7 +3186,7 @@ msgid "" "oss.oracle.com/projects/rds `__)." msgstr "" -":class:`~socket.socket` 類別現在支援 PF_RDS 協議系列(https://" +":class:`~socket.socket` 類別現在支援 PF_RDS 協定系列(https://" "en.wikipedia.org/wiki/Reliable_Datagram_Sockets 和 `https://oss.oracle.com/" "projects/rds `__\\ )。" @@ -3196,7 +3196,7 @@ msgid "" "The :class:`~socket.socket` class now supports the ``PF_SYSTEM`` protocol " "family on OS X. (Contributed by Michael Goderbauer in :issue:`13777`.)" msgstr "" -":class:`~socket.socket` 類別現在支援 OS X 上的 ``PF_SYSTEM`` 協議系列。(由 " +":class:`~socket.socket` 類別現在支援 OS X 上的 ``PF_SYSTEM`` 協定系列。(由 " "Michael Goderbauer 在 :issue:`13777` 中貢獻。)" #: ../../whatsnew/3.3.rst:1903 diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 539167e103..fe25245c63 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -3117,7 +3117,7 @@ msgstr "unittest.mock" #: ../../whatsnew/3.5.rst:2006 msgid "The :class:`~unittest.mock.Mock` class has the following improvements:" -msgstr "" +msgstr ":class:`~unittest.mock.Mock` 類別有以下改進:" #: ../../whatsnew/3.5.rst:2008 msgid "" diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 1597fc5373..caa8a48d91 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -2439,7 +2439,7 @@ msgstr "unittest.mock" #: ../../whatsnew/3.6.rst:1658 msgid "The :class:`~unittest.mock.Mock` class has the following improvements:" -msgstr "" +msgstr ":class:`~unittest.mock.Mock` 類別有以下改進:" #: ../../whatsnew/3.6.rst:1660 msgid "" @@ -2886,7 +2886,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:1939 msgid "Deprecated Python behavior" -msgstr "" +msgstr "已棄用的 Python 行為" #: ../../whatsnew/3.6.rst:1941 msgid "" @@ -2922,7 +2922,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:1963 msgid "Deprecated Python modules, functions and methods" -msgstr "" +msgstr "已棄用的 Python 模組、函式和方法" #: ../../whatsnew/3.6.rst:1966 msgid "asynchat" @@ -3058,7 +3058,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:2080 msgid "Deprecated functions and types of the C API" -msgstr "" +msgstr "C API 的已棄用函式和型別" #: ../../whatsnew/3.6.rst:2082 msgid "" @@ -3070,7 +3070,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:2089 msgid "Deprecated Build Options" -msgstr "" +msgstr "已棄用的建置選項" #: ../../whatsnew/3.6.rst:2091 msgid "" @@ -3113,6 +3113,10 @@ msgid "" "the :mod:`traceback` module. They were undocumented methods deprecated since " "Python 3.2 and equivalent functionality is available from private methods." msgstr "" +":mod:`traceback` 模組中的 ``traceback.Ignore`` 類別和 ``traceback.usage``、" +"``traceback.modname``、``traceback.fullmodname``、``traceback.find_lines_from_code``、" +"``traceback.find_lines``、``traceback.find_strings`` 和 ``traceback.find_executable_lines`` " +"方法已被移除。它們是自 Python 3.2 以來已棄用的未記錄方法,等效的功能現在可從私有方法獲得。" #: ../../whatsnew/3.6.rst:2121 msgid "" @@ -3142,7 +3146,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:2138 msgid "The deprecated ``asynchat.fifo`` class has been removed." -msgstr "" +msgstr "已棄用的 ``asynchat.fifo`` 類別已移除。" #: ../../whatsnew/3.6.rst:2142 msgid "Porting to Python 3.6" @@ -3156,7 +3160,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:2148 msgid "Changes in 'python' Command Behavior" -msgstr "" +msgstr "'python' 命令的行為變更" #: ../../whatsnew/3.6.rst:2150 msgid "" @@ -3306,6 +3310,10 @@ msgid "" "are now :ref:`keyword-only `. (Contributed by Serhiy " "Storchaka in :issue:`18726`.)" msgstr "" +"在 :mod:`json` 模組中,:func:`~json.dump`、:func:`~json.dumps`、:func:`~json.load` " +"和 :func:`~json.loads` 函式以及 :class:`~json.JSONEncoder` 和 :class:`~json.JSONDecoder` " +"類別建構函式的所有可選引數現在都是\\ :ref:`僅限關鍵字 `\\ 引數。" +"(由 Serhiy Storchaka 在 :issue:`18726` 中貢獻。)" #: ../../whatsnew/3.6.rst:2250 msgid "" @@ -3520,7 +3528,7 @@ msgstr "Python 3.6.2 中顯著的變更" #: ../../whatsnew/3.6.rst:2398 msgid "New ``make regen-all`` build target" -msgstr "" +msgstr "新增 ``make regen-all`` 建置目標" #: ../../whatsnew/3.6.rst:2400 msgid "" @@ -3549,7 +3557,7 @@ msgstr "(由 Victor Stinner 於 :issue:`23404` 中貢獻。)" #: ../../whatsnew/3.6.rst:2418 msgid "Removal of ``make touch`` build target" -msgstr "" +msgstr "移除 ``make touch`` 建置目標" #: ../../whatsnew/3.6.rst:2420 msgid "" @@ -3560,7 +3568,7 @@ msgstr "" #: ../../whatsnew/3.6.rst:2423 msgid "It has been replaced by the new ``make regen-all`` target." -msgstr "" +msgstr "它已被新的 ``make regen-all`` 目標取代。" #: ../../whatsnew/3.6.rst:2431 msgid "Notable changes in Python 3.6.4" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy