From 8f476fd94d6e76a33fcec93b896293a04943f95e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 22 Jan 2026 16:57:18 +0000 Subject: [PATCH 1/2] sync with cpython fbc81558 --- c-api/bytes.po | 5 +- c-api/typeobj.po | 82 ++++++-------- howto/annotations.po | 4 +- howto/curses.po | 4 +- howto/ipaddress.po | 30 +++--- howto/isolating-extensions.po | 4 +- howto/regex.po | 4 +- howto/sockets.po | 4 +- howto/urllib2.po | 6 +- library/argparse.po | 4 +- library/asyncio.po | 4 +- library/codecs.po | 8 +- library/datetime.po | 60 +++++------ library/dialog.po | 16 +-- library/enum.po | 9 +- library/functions.po | 184 ++++++++++++++++---------------- library/logging.config.po | 9 +- library/logging.handlers.po | 9 +- library/logging.po | 9 +- library/stdtypes.po | 11 +- library/tkinter.font.po | 26 ++--- library/turtle.po | 194 +++++++++++++++++----------------- library/xml.sax.handler.po | 24 ++--- reference/executionmodel.po | 18 ++-- using/configure.po | 6 +- using/windows.po | 14 +-- whatsnew/3.11.po | 71 ++++++------- whatsnew/3.7.po | 4 +- 28 files changed, 400 insertions(+), 423 deletions(-) diff --git a/c-api/bytes.po b/c-api/bytes.po index 86da7979be..c931a1c3d1 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 14:04+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -159,7 +159,8 @@ msgid "``%zd``" msgstr "``%zd``" #: ../../c-api/bytes.rst:84 -msgid ":c:type:` Py_ssize_t`" +#, fuzzy +msgid ":c:type:`\\ Py_ssize_t`" msgstr ":c:type:` Py_ssize_t`" #: ../../c-api/bytes.rst:84 diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 927b3d0ae6..e18b0c311b 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-15 00:15+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 14:33+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -93,8 +93,8 @@ msgstr "I" msgid " :c:member:`~PyTypeObject.tp_name`" msgstr " :c:member:`~PyTypeObject.tp_name`" -#: ../../c-api/typeobj.rst:44 ../../c-api/typeobj.rst:86 -#: ../../c-api/typeobj.rst:372 ../../c-api/typeobj.rst:377 +#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:44 +#: ../../c-api/typeobj.rst:86 msgid "const char *" msgstr "const char *" @@ -125,11 +125,10 @@ msgstr "X" msgid ":c:member:`~PyTypeObject.tp_basicsize`" msgstr ":c:member:`~PyTypeObject.tp_basicsize`" -#: ../../c-api/typeobj.rst:46 ../../c-api/typeobj.rst:48 -#: ../../c-api/typeobj.rst:52 ../../c-api/typeobj.rst:99 -#: ../../c-api/typeobj.rst:120 ../../c-api/typeobj.rst:343 -#: ../../c-api/typeobj.rst:417 ../../c-api/typeobj.rst:448 -#: ../../c-api/typeobj.rst:453 +#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:46 +#: ../../c-api/typeobj.rst:48 ../../c-api/typeobj.rst:52 +#: ../../c-api/typeobj.rst:99 ../../c-api/typeobj.rst:120 +#: ../../c-api/typeobj.rst:417 msgid ":c:type:`Py_ssize_t`" msgstr ":c:type:`Py_ssize_t`" @@ -403,8 +402,7 @@ msgstr ":c:type:`PyGetSetDef` []" msgid ":c:member:`~PyTypeObject.tp_base`" msgstr ":c:member:`~PyTypeObject.tp_base`" -#: ../../c-api/typeobj.rst:111 ../../c-api/typeobj.rst:342 -#: ../../c-api/typeobj.rst:357 +#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:111 msgid ":c:type:`PyTypeObject` *" msgstr ":c:type:`PyTypeObject` *" @@ -416,32 +414,18 @@ msgstr "__base__" msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr ":c:member:`~PyTypeObject.tp_dict`" -#: ../../c-api/typeobj.rst:113 ../../c-api/typeobj.rst:132 -#: ../../c-api/typeobj.rst:134 ../../c-api/typeobj.rst:136 -#: ../../c-api/typeobj.rst:140 ../../c-api/typeobj.rst:342 -#: ../../c-api/typeobj.rst:347 ../../c-api/typeobj.rst:351 -#: ../../c-api/typeobj.rst:357 ../../c-api/typeobj.rst:358 -#: ../../c-api/typeobj.rst:359 ../../c-api/typeobj.rst:363 -#: ../../c-api/typeobj.rst:364 ../../c-api/typeobj.rst:365 -#: ../../c-api/typeobj.rst:369 ../../c-api/typeobj.rst:371 -#: ../../c-api/typeobj.rst:376 ../../c-api/typeobj.rst:378 -#: ../../c-api/typeobj.rst:382 ../../c-api/typeobj.rst:383 -#: ../../c-api/typeobj.rst:387 ../../c-api/typeobj.rst:388 -#: ../../c-api/typeobj.rst:389 ../../c-api/typeobj.rst:393 -#: ../../c-api/typeobj.rst:394 ../../c-api/typeobj.rst:395 -#: ../../c-api/typeobj.rst:399 ../../c-api/typeobj.rst:400 -#: ../../c-api/typeobj.rst:401 ../../c-api/typeobj.rst:405 -#: ../../c-api/typeobj.rst:407 ../../c-api/typeobj.rst:408 -#: ../../c-api/typeobj.rst:413 ../../c-api/typeobj.rst:415 -#: ../../c-api/typeobj.rst:417 ../../c-api/typeobj.rst:419 -#: ../../c-api/typeobj.rst:425 ../../c-api/typeobj.rst:430 -#: ../../c-api/typeobj.rst:432 ../../c-api/typeobj.rst:436 -#: ../../c-api/typeobj.rst:437 ../../c-api/typeobj.rst:441 -#: ../../c-api/typeobj.rst:442 ../../c-api/typeobj.rst:443 -#: ../../c-api/typeobj.rst:447 ../../c-api/typeobj.rst:452 -#: ../../c-api/typeobj.rst:454 ../../c-api/typeobj.rst:458 -#: ../../c-api/typeobj.rst:459 ../../c-api/typeobj.rst:463 -#: ../../c-api/typeobj.rst:464 ../../c-api/typeobj.rst:465 +#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:113 +#: ../../c-api/typeobj.rst:132 ../../c-api/typeobj.rst:134 +#: ../../c-api/typeobj.rst:136 ../../c-api/typeobj.rst:140 +#: ../../c-api/typeobj.rst:342 ../../c-api/typeobj.rst:347 +#: ../../c-api/typeobj.rst:357 ../../c-api/typeobj.rst:369 +#: ../../c-api/typeobj.rst:371 ../../c-api/typeobj.rst:382 +#: ../../c-api/typeobj.rst:393 ../../c-api/typeobj.rst:405 +#: ../../c-api/typeobj.rst:407 ../../c-api/typeobj.rst:413 +#: ../../c-api/typeobj.rst:415 ../../c-api/typeobj.rst:417 +#: ../../c-api/typeobj.rst:430 ../../c-api/typeobj.rst:432 +#: ../../c-api/typeobj.rst:436 ../../c-api/typeobj.rst:441 +#: ../../c-api/typeobj.rst:447 msgid ":c:type:`PyObject` *" msgstr ":c:type:`PyObject` *" @@ -549,8 +533,8 @@ msgstr "[:c:member:`~PyTypeObject.tp_cache`]" msgid "[:c:member:`~PyTypeObject.tp_subclasses`]" msgstr "[:c:member:`~PyTypeObject.tp_subclasses`]" -#: ../../c-api/typeobj.rst:138 ../../c-api/typeobj.rst:279 -#: ../../c-api/typeobj.rst:349 ../../c-api/typeobj.rst:353 +#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:138 +#: ../../c-api/typeobj.rst:279 ../../c-api/typeobj.rst:349 msgid "void *" msgstr "void *" @@ -1133,7 +1117,8 @@ msgid ":c:func:`releasebufferproc`" msgstr ":c:func:`releasebufferproc`" #: ../../c-api/typeobj.rst:330 -msgid "__release_ buffer\\__" +#, fuzzy +msgid "__release_\\ buffer\\__" msgstr "__release_ buffer\\__" #: ../../c-api/typeobj.rst:337 @@ -1157,16 +1142,16 @@ msgstr "" msgid "void" msgstr "void" -#: ../../c-api/typeobj.rst:352 +#: ../../c-api/typeobj.rst:0 msgid ":c:type:`visitproc`" msgstr ":c:type:`visitproc`" -#: ../../c-api/typeobj.rst:351 ../../c-api/typeobj.rst:363 -#: ../../c-api/typeobj.rst:376 ../../c-api/typeobj.rst:387 -#: ../../c-api/typeobj.rst:399 ../../c-api/typeobj.rst:409 -#: ../../c-api/typeobj.rst:419 ../../c-api/typeobj.rst:421 -#: ../../c-api/typeobj.rst:430 ../../c-api/typeobj.rst:452 -#: ../../c-api/typeobj.rst:458 ../../c-api/typeobj.rst:463 +#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:351 +#: ../../c-api/typeobj.rst:363 ../../c-api/typeobj.rst:376 +#: ../../c-api/typeobj.rst:387 ../../c-api/typeobj.rst:399 +#: ../../c-api/typeobj.rst:419 ../../c-api/typeobj.rst:430 +#: ../../c-api/typeobj.rst:452 ../../c-api/typeobj.rst:458 +#: ../../c-api/typeobj.rst:463 msgid "int" msgstr "int" @@ -1178,7 +1163,7 @@ msgstr "Py_hash_t" msgid ":c:type:`getbufferproc`" msgstr ":c:type:`getbufferproc`" -#: ../../c-api/typeobj.rst:420 ../../c-api/typeobj.rst:426 +#: ../../c-api/typeobj.rst:0 msgid ":c:type:`Py_buffer` *" msgstr ":c:type:`Py_buffer` *" @@ -2444,7 +2429,8 @@ msgid "" "Renamed to the current name, without the leading underscore. The old " "provisional name is :term:`soft deprecated`." msgstr "" -"重新命名為目前的名稱,沒有前導底線。舊的臨時名稱已被 :term:`軟性棄用 `。" +"重新命名為目前的名稱,沒有前導底線。舊的臨時名稱已被 :term:`軟性棄用 `。" #: ../../c-api/typeobj.rst:1384 msgid "" diff --git a/howto/annotations.po b/howto/annotations.po index f6a5b8f4ca..bef59517aa 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2023-11-08 23:11+0800\n" "Last-Translator: rockleon \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -29,7 +29,7 @@ msgstr "作者" msgid "Larry Hastings" msgstr "Larry Hastings" -#: ../../howto/annotations.rst:9 +#: ../../howto/annotations.rst:-1 msgid "Abstract" msgstr "摘要" diff --git a/howto/curses.po b/howto/curses.po index 38eb0c2a5e..5809cd8c95 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 14:36+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -37,7 +37,7 @@ msgstr "發佈版本" msgid "2.04" msgstr "2.04" -#: ../../howto/curses.rst:13 +#: ../../howto/curses.rst:-1 msgid "Abstract" msgstr "摘要" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 060f61e22a..08ee8de730 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2025-12-26 10:42-0500\n" "Last-Translator: Chih-Chao Chang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -35,7 +35,7 @@ msgstr "Peter Moody" msgid "Nick Coghlan" msgstr "Nick Coghlan" -#: ../../howto/ipaddress.rst:14 +#: ../../howto/ipaddress.rst:-1 msgid "Overview" msgstr "總攬" @@ -200,9 +200,9 @@ msgid "" "commonly used to describe network interfaces of a computer on a given " "network and are described further in the next section." msgstr "" -"網路物件不能設定任何主機位元。這樣做的實際效果是 ``192.0.2.1/24`` 並不描述一個網" -"路。這類定義被稱為介面物件,因為 ip-on-a-network 標記法通常用於描述電腦在給定" -"網路上的網路介面,並將在下一節中進一步說明。" +"網路物件不能設定任何主機位元。這樣做的實際效果是 ``192.0.2.1/24`` 並不描述一" +"個網路。這類定義被稱為介面物件,因為 ip-on-a-network 標記法通常用於描述電腦在" +"給定網路上的網路介面,並將在下一節中進一步說明。" #: ../../howto/ipaddress.rst:107 msgid "" @@ -279,9 +279,9 @@ msgid "" msgstr "" "如上所述,如果你需要描述特定網路上的位址,位址類別和網路類別都不足以滿足需" "求。像 ``192.0.2.1/24`` 這樣的標記法通常被網路工程師以及編寫防火牆和路由器工" -"具的人用作「網路 ``192.0.2.0/24`` 上的主機 ``192.0.2.1``」的簡寫。因" -"此,:mod:`ipaddress` 提供了一組混合類別,將位址與特定網路關聯起來。建立介面的" -"方式與定義網路物件相同,只是位址部分不受限於必須是網路位址。" +"具的人用作「網路 ``192.0.2.0/24`` 上的主機 ``192.0.2.1``」的簡寫。因此,:mod:" +"`ipaddress` 提供了一組混合類別,將位址與特定網路關聯起來。建立介面的方式與定" +"義網路物件相同,只是位址部分不受限於必須是網路位址。" #: ../../howto/ipaddress.rst:152 msgid "" @@ -565,10 +565,10 @@ msgid "" "because it's necessary to know whether the value is *supposed* to be IPv4 or " "IPv6 in order to provide more detail on why it has been rejected." msgstr "" -"當使用版本無關的工廠函式建立位址/網路/介面物件時,任何錯誤都會" -"以 :exc:`ValueError` 回報,並附帶一個通用的錯誤訊息,簡單地說明傳入的值未被識" -"別為該類型的物件。缺乏具體錯誤的原因是,為了提供更多關於為何被拒絕的細節,需" -"要知道該值應該是 IPv4 還是 IPv6。" +"當使用版本無關的工廠函式建立位址/網路/介面物件時,任何錯誤都會以 :exc:" +"`ValueError` 回報,並附帶一個通用的錯誤訊息,簡單地說明傳入的值未被識別為該類" +"型的物件。缺乏具體錯誤的原因是,為了提供更多關於為何被拒絕的細節,需要知道該" +"值應該是 IPv4 還是 IPv6。" #: ../../howto/ipaddress.rst:305 msgid "" @@ -578,9 +578,9 @@ msgid "" "`ipaddress.NetmaskValueError` to indicate exactly which part of the " "definition failed to parse correctly." msgstr "" -"為了支援需要存取這些額外細節的使用情境,個別類別建構子實際上會引" -"發 :exc:`ValueError` 的子類別 :exc:`ipaddress.AddressValueError` " -"和 :exc:`ipaddress.NetmaskValueError`,以明確指出定義的哪個部分無法正確解析。" +"為了支援需要存取這些額外細節的使用情境,個別類別建構子實際上會引發 :exc:" +"`ValueError` 的子類別 :exc:`ipaddress.AddressValueError` 和 :exc:`ipaddress." +"NetmaskValueError`,以明確指出定義的哪個部分無法正確解析。" #: ../../howto/ipaddress.rst:311 msgid "" diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index 2c5f99df61..c4a4f7501f 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -21,7 +21,7 @@ msgstr "" msgid "Isolating Extension Modules" msgstr "隔離擴充模組" -#: ../../howto/isolating-extensions.rst:9 +#: ../../howto/isolating-extensions.rst:-1 msgid "Abstract" msgstr "摘要" diff --git a/howto/regex.po b/howto/regex.po index 02a25aaf4d..4840ea5412 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 14:37+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -31,7 +31,7 @@ msgstr "作者" msgid "A.M. Kuchling " msgstr "A.M. Kuchling " -#: ../../howto/regex.rst:16 +#: ../../howto/regex.rst:-1 msgid "Abstract" msgstr "摘要" diff --git a/howto/sockets.po b/howto/sockets.po index 11ec58c7e6..c7e63d526f 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2023-08-12 15:16+0800\n" "Last-Translator: Jay \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -30,7 +30,7 @@ msgstr "作者" msgid "Gordon McMillan" msgstr "Gordon McMillan" -#: ../../howto/sockets.rst:10 +#: ../../howto/sockets.rst:-1 msgid "Abstract" msgstr "摘要" diff --git a/howto/urllib2.po b/howto/urllib2.po index 540848cedb..2838843ae7 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2022-06-27 09:36+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -35,10 +35,6 @@ msgstr "`Michael Foord `_" msgid "Introduction" msgstr "簡介" -#: ../../howto/urllib2.rst:13 -msgid "Related Articles" -msgstr "" - #: ../../howto/urllib2.rst:15 msgid "" "You may also find useful the following article on fetching web resources " diff --git a/library/argparse.po b/library/argparse.po index f31276b955..8d4b762a77 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-07 00:14+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 14:38+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -40,7 +40,7 @@ msgid "" "another defined option)." msgstr "" -#: ../../library/argparse.rst:28 +#: ../../library/argparse.rst:-1 msgid "Tutorial" msgstr "教學" diff --git a/library/asyncio.po b/library/asyncio.po index 79c9d8f5e1..8c267942ad 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2025-07-06 17:13+0800\n" "Last-Translator: Weilin Du\n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -37,7 +37,7 @@ msgstr "指南與教學" msgid ":mod:`!asyncio` --- Asynchronous I/O" msgstr ":mod:`!asyncio` --- 非同步 I/O" -#: ../../library/asyncio.rst:9 +#: ../../library/asyncio.rst:-1 msgid "Hello World!" msgstr "Hello World!" diff --git a/library/codecs.po b/library/codecs.po index 4d4aee110f..ab26604c3e 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 14:40+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1328,15 +1328,15 @@ msgid "" "charmap encoded file starts with these byte values (which would e.g. map to" msgstr "" -#: ../../library/codecs.rst:1049 +#: ../../library/codecs.rst:0 msgid "LATIN SMALL LETTER I WITH DIAERESIS" msgstr "" -#: ../../library/codecs.rst:1050 +#: ../../library/codecs.rst:0 msgid "RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK" msgstr "" -#: ../../library/codecs.rst:1051 +#: ../../library/codecs.rst:0 msgid "INVERTED QUESTION MARK" msgstr "" diff --git a/library/datetime.po b/library/datetime.po index ae1b1b16c3..c5707f46d0 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-22 00:16+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2023-08-07 10:20+0800\n" "Last-Translator: Griiid \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1061,11 +1061,11 @@ msgstr "``timedelta = date1 - date2``" msgid "\\(3)" msgstr "\\(3)" -#: ../../library/datetime.rst:663 +#: ../../library/datetime.rst:0 msgid "``date1 == date2``" msgstr "``date1 == date2``" -#: ../../library/datetime.rst:664 +#: ../../library/datetime.rst:0 msgid "``date1 != date2``" msgstr "``date1 != date2``" @@ -1073,19 +1073,19 @@ msgstr "``date1 != date2``" msgid "Equality comparison. (4)" msgstr "" -#: ../../library/datetime.rst:666 +#: ../../library/datetime.rst:0 msgid "``date1 < date2``" msgstr "``date1 < date2``" -#: ../../library/datetime.rst:667 +#: ../../library/datetime.rst:0 msgid "``date1 > date2``" msgstr "``date1 > date2``" -#: ../../library/datetime.rst:668 +#: ../../library/datetime.rst:0 msgid "``date1 <= date2``" msgstr "``date1 <= date2``" -#: ../../library/datetime.rst:669 +#: ../../library/datetime.rst:0 msgid "``date1 >= date2``" msgstr "``date1 >= date2``" @@ -1899,27 +1899,27 @@ msgstr "\\(2)" msgid "``timedelta = datetime1 - datetime2``" msgstr "``timedelta = datetime1 - datetime2``" -#: ../../library/datetime.rst:1259 +#: ../../library/datetime.rst:0 msgid "``datetime1 == datetime2``" msgstr "``datetime1 == datetime2``" -#: ../../library/datetime.rst:1260 +#: ../../library/datetime.rst:0 msgid "``datetime1 != datetime2``" msgstr "``datetime1 != datetime2``" -#: ../../library/datetime.rst:1262 +#: ../../library/datetime.rst:0 msgid "``datetime1 < datetime2``" msgstr "``datetime1 < datetime2``" -#: ../../library/datetime.rst:1263 +#: ../../library/datetime.rst:0 msgid "``datetime1 > datetime2``" msgstr "``datetime1 > datetime2``" -#: ../../library/datetime.rst:1264 +#: ../../library/datetime.rst:0 msgid "``datetime1 <= datetime2``" msgstr "``datetime1 <= datetime2``" -#: ../../library/datetime.rst:1265 +#: ../../library/datetime.rst:0 msgid "``datetime1 >= datetime2``" msgstr "``datetime1 >= datetime2``" @@ -3744,11 +3744,11 @@ msgstr "``%a``" msgid "Weekday as locale's abbreviated name." msgstr "" -#: ../../library/datetime.rst:2490 +#: ../../library/datetime.rst:0 msgid "Sun, Mon, ..., Sat (en_US);" msgstr "" -#: ../../library/datetime.rst:2492 +#: ../../library/datetime.rst:0 msgid "So, Mo, ..., Sa (de_DE)" msgstr "" @@ -3760,11 +3760,11 @@ msgstr "``%A``" msgid "Weekday as locale's full name." msgstr "" -#: ../../library/datetime.rst:2495 +#: ../../library/datetime.rst:0 msgid "Sunday, Monday, ..., Saturday (en_US);" msgstr "" -#: ../../library/datetime.rst:2497 +#: ../../library/datetime.rst:0 msgid "Sonntag, Montag, ..., Samstag (de_DE)" msgstr "" @@ -3807,11 +3807,11 @@ msgstr "``%b``" msgid "Month as locale's abbreviated name." msgstr "" -#: ../../library/datetime.rst:2507 +#: ../../library/datetime.rst:0 msgid "Jan, Feb, ..., Dec (en_US);" msgstr "" -#: ../../library/datetime.rst:2509 +#: ../../library/datetime.rst:0 msgid "Jan, Feb, ..., Dez (de_DE)" msgstr "" @@ -3823,11 +3823,11 @@ msgstr "``%B``" msgid "Month as locale's full name." msgstr "" -#: ../../library/datetime.rst:2512 +#: ../../library/datetime.rst:0 msgid "January, February, ..., December (en_US);" msgstr "" -#: ../../library/datetime.rst:2514 +#: ../../library/datetime.rst:0 msgid "Januar, Februar, ..., Dezember (de_DE)" msgstr "" @@ -3895,11 +3895,11 @@ msgstr "``%p``" msgid "Locale's equivalent of either AM or PM." msgstr "" -#: ../../library/datetime.rst:2532 +#: ../../library/datetime.rst:0 msgid "AM, PM (en_US);" msgstr "AM, PM (en_US);" -#: ../../library/datetime.rst:2533 +#: ../../library/datetime.rst:0 msgid "am, pm (de_DE)" msgstr "am, pm (de_DE)" @@ -4028,11 +4028,11 @@ msgstr "``%c``" msgid "Locale's appropriate date and time representation." msgstr "" -#: ../../library/datetime.rst:2572 +#: ../../library/datetime.rst:0 msgid "Tue Aug 16 21:30:00 1988 (en_US);" msgstr "" -#: ../../library/datetime.rst:2574 +#: ../../library/datetime.rst:0 msgid "Di 16 Aug 21:30:00 1988 (de_DE)" msgstr "" @@ -4044,15 +4044,15 @@ msgstr "``%x``" msgid "Locale's appropriate date representation." msgstr "" -#: ../../library/datetime.rst:2577 +#: ../../library/datetime.rst:0 msgid "08/16/88 (None);" msgstr "" -#: ../../library/datetime.rst:2578 +#: ../../library/datetime.rst:0 msgid "08/16/1988 (en_US);" msgstr "" -#: ../../library/datetime.rst:2579 +#: ../../library/datetime.rst:0 msgid "16.08.1988 (de_DE)" msgstr "" @@ -4064,11 +4064,11 @@ msgstr "``%X``" msgid "Locale's appropriate time representation." msgstr "" -#: ../../library/datetime.rst:2581 +#: ../../library/datetime.rst:0 msgid "21:30:00 (en_US);" msgstr "" -#: ../../library/datetime.rst:2582 +#: ../../library/datetime.rst:0 msgid "21:30:00 (de_DE)" msgstr "" diff --git a/library/dialog.po b/library/dialog.po index 7bc9c50cda..3ab19f244e 100644 --- a/library/dialog.po +++ b/library/dialog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -83,32 +83,32 @@ msgid "" "listed below:" msgstr "" -#: ../../library/dialog.rst:64 +#: ../../library/dialog.rst:0 msgid "*parent* - the window to place the dialog on top of" msgstr "" -#: ../../library/dialog.rst:66 +#: ../../library/dialog.rst:0 msgid "*title* - the title of the window" msgstr "" -#: ../../library/dialog.rst:68 +#: ../../library/dialog.rst:0 msgid "*initialdir* - the directory that the dialog starts in" msgstr "" -#: ../../library/dialog.rst:70 +#: ../../library/dialog.rst:0 msgid "*initialfile* - the file selected upon opening of the dialog" msgstr "" -#: ../../library/dialog.rst:72 +#: ../../library/dialog.rst:0 msgid "" "*filetypes* - a sequence of (label, pattern) tuples, '*' wildcard is allowed" msgstr "" -#: ../../library/dialog.rst:74 +#: ../../library/dialog.rst:0 msgid "*defaultextension* - default extension to append to file (save dialogs)" msgstr "" -#: ../../library/dialog.rst:76 +#: ../../library/dialog.rst:0 msgid "*multiple* - when true, selection of multiple items is allowed" msgstr "" diff --git a/library/enum.po b/library/enum.po index 0a45558139..c625a7a3b7 100644 --- a/library/enum.po +++ b/library/enum.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-12 12:22+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2024-12-21 13:50+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -25,10 +25,6 @@ msgstr ":mod:`!enum` --- 對列舉的支援" msgid "**Source code:** :source:`Lib/enum.py`" msgstr "**原始碼:**\\ :source:`Lib/enum.py`" -#: ../../library/enum.rst:16 -msgid "Important" -msgstr "重點資訊" - #: ../../library/enum.rst:18 msgid "" "This page contains the API reference information. For tutorial information " @@ -1908,3 +1904,6 @@ msgstr "" ">>> from enum import Enum, IntEnum\n" ">>> class MyIntEnum(IntEnum):\n" "... __str__ = Enum.__str__" + +#~ msgid "Important" +#~ msgstr "重點資訊" diff --git a/library/functions.po b/library/functions.po index 5465e746b0..544e51bc1e 100644 --- a/library/functions.po +++ b/library/functions.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-12 12:22+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2024-05-06 17:06+0800\n" "Last-Translator: KNChiu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -33,367 +33,367 @@ msgid "" msgstr "" "Python 直譯器有內建多個可隨時使用的函式和型別。以下按照英文字母排序列出。" -#: ../../library/functions.rst:13 +#: ../../library/functions.rst:0 msgid "**A**" msgstr "**A**" -#: ../../library/functions.rst:14 +#: ../../library/functions.rst:0 msgid ":func:`abs`" msgstr ":func:`abs`" -#: ../../library/functions.rst:15 +#: ../../library/functions.rst:0 msgid ":func:`aiter`" msgstr ":func:`aiter`" -#: ../../library/functions.rst:16 +#: ../../library/functions.rst:0 msgid ":func:`all`" msgstr ":func:`all`" -#: ../../library/functions.rst:17 +#: ../../library/functions.rst:0 msgid ":func:`anext`" msgstr ":func:`anext`" -#: ../../library/functions.rst:18 +#: ../../library/functions.rst:0 msgid ":func:`any`" msgstr ":func:`any`" -#: ../../library/functions.rst:19 +#: ../../library/functions.rst:0 msgid ":func:`ascii`" msgstr ":func:`ascii`" -#: ../../library/functions.rst:21 +#: ../../library/functions.rst:0 msgid "**B**" msgstr "**B**" -#: ../../library/functions.rst:22 +#: ../../library/functions.rst:0 msgid ":func:`bin`" msgstr ":func:`bin`" -#: ../../library/functions.rst:23 +#: ../../library/functions.rst:0 msgid ":func:`bool`" msgstr ":func:`bool`" -#: ../../library/functions.rst:24 +#: ../../library/functions.rst:0 msgid ":func:`breakpoint`" msgstr ":func:`breakpoint`" -#: ../../library/functions.rst:25 +#: ../../library/functions.rst:0 msgid "|func-bytearray|_" msgstr "|func-bytearray|_" -#: ../../library/functions.rst:26 +#: ../../library/functions.rst:0 msgid "|func-bytes|_" msgstr "|func-bytes|_" -#: ../../library/functions.rst:28 +#: ../../library/functions.rst:0 msgid "**C**" msgstr "**C**" -#: ../../library/functions.rst:29 +#: ../../library/functions.rst:0 msgid ":func:`callable`" msgstr ":func:`callable`" -#: ../../library/functions.rst:30 +#: ../../library/functions.rst:0 msgid ":func:`chr`" msgstr ":func:`chr`" -#: ../../library/functions.rst:31 +#: ../../library/functions.rst:0 msgid ":func:`classmethod`" msgstr ":func:`classmethod`" -#: ../../library/functions.rst:32 +#: ../../library/functions.rst:0 msgid ":func:`compile`" msgstr ":func:`compile`" -#: ../../library/functions.rst:33 +#: ../../library/functions.rst:0 msgid ":func:`complex`" msgstr ":func:`complex`" -#: ../../library/functions.rst:35 +#: ../../library/functions.rst:0 msgid "**D**" msgstr "**D**" -#: ../../library/functions.rst:36 +#: ../../library/functions.rst:0 msgid ":func:`delattr`" msgstr ":func:`delattr`" -#: ../../library/functions.rst:37 +#: ../../library/functions.rst:0 msgid "|func-dict|_" msgstr "|func-dict|_" -#: ../../library/functions.rst:38 +#: ../../library/functions.rst:0 msgid ":func:`dir`" msgstr ":func:`dir`" -#: ../../library/functions.rst:39 +#: ../../library/functions.rst:0 msgid ":func:`divmod`" msgstr ":func:`divmod`" -#: ../../library/functions.rst:13 +#: ../../library/functions.rst:0 msgid "**E**" msgstr "**E**" -#: ../../library/functions.rst:14 +#: ../../library/functions.rst:0 msgid ":func:`enumerate`" msgstr ":func:`enumerate`" -#: ../../library/functions.rst:15 +#: ../../library/functions.rst:0 msgid ":func:`eval`" msgstr ":func:`eval`" -#: ../../library/functions.rst:16 +#: ../../library/functions.rst:0 msgid ":func:`exec`" msgstr ":func:`exec`" -#: ../../library/functions.rst:18 +#: ../../library/functions.rst:0 msgid "**F**" msgstr "**F**" -#: ../../library/functions.rst:19 +#: ../../library/functions.rst:0 msgid ":func:`filter`" msgstr ":func:`filter`" -#: ../../library/functions.rst:20 +#: ../../library/functions.rst:0 msgid ":func:`float`" msgstr ":func:`float`" -#: ../../library/functions.rst:21 +#: ../../library/functions.rst:0 msgid ":func:`format`" msgstr ":func:`format`" -#: ../../library/functions.rst:22 +#: ../../library/functions.rst:0 msgid "|func-frozenset|_" msgstr "|func-frozenset|_" -#: ../../library/functions.rst:24 +#: ../../library/functions.rst:0 msgid "**G**" msgstr "**G**" -#: ../../library/functions.rst:25 +#: ../../library/functions.rst:0 msgid ":func:`getattr`" msgstr ":func:`getattr`" -#: ../../library/functions.rst:26 +#: ../../library/functions.rst:0 msgid ":func:`globals`" msgstr ":func:`globals`" -#: ../../library/functions.rst:28 +#: ../../library/functions.rst:0 msgid "**H**" msgstr "**H**" -#: ../../library/functions.rst:29 +#: ../../library/functions.rst:0 msgid ":func:`hasattr`" msgstr ":func:`hasattr`" -#: ../../library/functions.rst:30 +#: ../../library/functions.rst:0 msgid ":func:`hash`" msgstr ":func:`hash`" -#: ../../library/functions.rst:31 +#: ../../library/functions.rst:0 msgid ":func:`help`" msgstr ":func:`help`" -#: ../../library/functions.rst:32 +#: ../../library/functions.rst:0 msgid ":func:`hex`" msgstr ":func:`hex`" -#: ../../library/functions.rst:34 +#: ../../library/functions.rst:0 msgid "**I**" msgstr "**I**" -#: ../../library/functions.rst:35 +#: ../../library/functions.rst:0 msgid ":func:`id`" msgstr ":func:`id`" -#: ../../library/functions.rst:36 +#: ../../library/functions.rst:0 msgid ":func:`input`" msgstr ":func:`input`" -#: ../../library/functions.rst:37 +#: ../../library/functions.rst:0 msgid ":func:`int`" msgstr ":func:`int`" -#: ../../library/functions.rst:38 +#: ../../library/functions.rst:0 msgid ":func:`isinstance`" msgstr ":func:`isinstance`" -#: ../../library/functions.rst:39 +#: ../../library/functions.rst:0 msgid ":func:`issubclass`" msgstr ":func:`issubclass`" -#: ../../library/functions.rst:40 +#: ../../library/functions.rst:0 msgid ":func:`iter`" msgstr ":func:`iter`" -#: ../../library/functions.rst:13 +#: ../../library/functions.rst:0 msgid "**L**" msgstr "**L**" -#: ../../library/functions.rst:14 +#: ../../library/functions.rst:0 msgid ":func:`len`" msgstr ":func:`len`" -#: ../../library/functions.rst:15 +#: ../../library/functions.rst:0 msgid "|func-list|_" msgstr "|func-list|_" -#: ../../library/functions.rst:16 +#: ../../library/functions.rst:0 msgid ":func:`locals`" msgstr ":func:`locals`" -#: ../../library/functions.rst:18 +#: ../../library/functions.rst:0 msgid "**M**" msgstr "**M**" -#: ../../library/functions.rst:19 +#: ../../library/functions.rst:0 msgid ":func:`map`" msgstr ":func:`map`" -#: ../../library/functions.rst:20 +#: ../../library/functions.rst:0 msgid ":func:`max`" msgstr ":func:`max`" -#: ../../library/functions.rst:21 +#: ../../library/functions.rst:0 msgid "|func-memoryview|_" msgstr "|func-memoryview|_" -#: ../../library/functions.rst:22 +#: ../../library/functions.rst:0 msgid ":func:`min`" msgstr ":func:`min`" -#: ../../library/functions.rst:24 +#: ../../library/functions.rst:0 msgid "**N**" msgstr "**N**" -#: ../../library/functions.rst:25 +#: ../../library/functions.rst:0 msgid ":func:`next`" msgstr ":func:`next`" -#: ../../library/functions.rst:27 +#: ../../library/functions.rst:0 msgid "**O**" msgstr "**O**" -#: ../../library/functions.rst:28 +#: ../../library/functions.rst:0 msgid ":func:`object`" msgstr ":func:`object`" -#: ../../library/functions.rst:29 +#: ../../library/functions.rst:0 msgid ":func:`oct`" msgstr ":func:`oct`" -#: ../../library/functions.rst:30 +#: ../../library/functions.rst:0 msgid ":func:`open`" msgstr ":func:`open`" -#: ../../library/functions.rst:31 +#: ../../library/functions.rst:0 msgid ":func:`ord`" msgstr ":func:`ord`" -#: ../../library/functions.rst:33 +#: ../../library/functions.rst:0 msgid "**P**" msgstr "**P**" -#: ../../library/functions.rst:34 +#: ../../library/functions.rst:0 msgid ":func:`pow`" msgstr ":func:`pow`" -#: ../../library/functions.rst:35 +#: ../../library/functions.rst:0 msgid ":func:`print`" msgstr ":func:`print`" -#: ../../library/functions.rst:36 +#: ../../library/functions.rst:0 msgid ":func:`property`" msgstr ":func:`property`" -#: ../../library/functions.rst:13 +#: ../../library/functions.rst:0 msgid "**R**" msgstr "**R**" -#: ../../library/functions.rst:14 +#: ../../library/functions.rst:0 msgid "|func-range|_" msgstr "|func-range|_" -#: ../../library/functions.rst:15 +#: ../../library/functions.rst:0 msgid ":func:`repr`" msgstr ":func:`repr`" -#: ../../library/functions.rst:16 +#: ../../library/functions.rst:0 msgid ":func:`reversed`" msgstr ":func:`reversed`" -#: ../../library/functions.rst:17 +#: ../../library/functions.rst:0 msgid ":func:`round`" msgstr ":func:`round`" -#: ../../library/functions.rst:19 +#: ../../library/functions.rst:0 msgid "**S**" msgstr "**S**" -#: ../../library/functions.rst:20 +#: ../../library/functions.rst:0 msgid "|func-set|_" msgstr "|func-set|_" -#: ../../library/functions.rst:21 +#: ../../library/functions.rst:0 msgid ":func:`setattr`" msgstr ":func:`setattr`" -#: ../../library/functions.rst:22 +#: ../../library/functions.rst:0 msgid ":func:`slice`" msgstr ":func:`slice`" -#: ../../library/functions.rst:23 +#: ../../library/functions.rst:0 msgid ":func:`sorted`" msgstr ":func:`sorted`" -#: ../../library/functions.rst:24 +#: ../../library/functions.rst:0 msgid ":func:`staticmethod`" msgstr ":func:`staticmethod`" -#: ../../library/functions.rst:25 +#: ../../library/functions.rst:0 msgid "|func-str|_" msgstr "|func-str|_" -#: ../../library/functions.rst:26 +#: ../../library/functions.rst:0 msgid ":func:`sum`" msgstr ":func:`sum`" -#: ../../library/functions.rst:27 +#: ../../library/functions.rst:0 msgid ":func:`super`" msgstr ":func:`super`" -#: ../../library/functions.rst:29 +#: ../../library/functions.rst:0 msgid "**T**" msgstr "**T**" -#: ../../library/functions.rst:30 +#: ../../library/functions.rst:0 msgid "|func-tuple|_" msgstr "|func-tuple|_" -#: ../../library/functions.rst:31 +#: ../../library/functions.rst:0 msgid ":func:`type`" msgstr ":func:`type`" -#: ../../library/functions.rst:33 +#: ../../library/functions.rst:0 msgid "**V**" msgstr "**V**" -#: ../../library/functions.rst:34 +#: ../../library/functions.rst:0 msgid ":func:`vars`" msgstr ":func:`vars`" -#: ../../library/functions.rst:36 +#: ../../library/functions.rst:0 msgid "**Z**" msgstr "**Z**" -#: ../../library/functions.rst:37 +#: ../../library/functions.rst:0 msgid ":func:`zip`" msgstr ":func:`zip`" -#: ../../library/functions.rst:39 +#: ../../library/functions.rst:0 msgid "**_**" msgstr "**_**" -#: ../../library/functions.rst:40 +#: ../../library/functions.rst:0 msgid ":func:`__import__`" msgstr ":func:`__import__`" diff --git a/library/logging.config.po b/library/logging.config.po index 534425a49c..d0c5307537 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 16:05+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -25,10 +25,6 @@ msgstr ":mod:`!logging.config` --- 日誌記錄配置" msgid "**Source code:** :source:`Lib/logging/config.py`" msgstr "**原始碼:**\\ :source:`Lib/logging/config.py`" -#: ../../library/logging.config.rst:12 -msgid "Important" -msgstr "重點資訊" - #: ../../library/logging.config.rst:14 msgid "" "This page contains only reference information. For tutorials, please see" @@ -1513,3 +1509,6 @@ msgstr ":mod:`logging.handlers` 模組" #: ../../library/logging.config.rst:1000 msgid "Useful handlers included with the logging module." msgstr "" + +#~ msgid "Important" +#~ msgstr "重點資訊" diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 6c838f085b..0455bcb787 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 16:05+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -25,10 +25,6 @@ msgstr ":mod:`!logging.handlers` --- 日誌紀錄處理器" msgid "**Source code:** :source:`Lib/logging/handlers.py`" msgstr "**原始碼:**\\ :source:`Lib/logging/handlers.py`" -#: ../../library/logging.handlers.rst:12 -msgid "Important" -msgstr "重點資訊" - #: ../../library/logging.handlers.rst:14 msgid "" "This page contains only reference information. For tutorials, please see" @@ -1688,3 +1684,6 @@ msgstr ":mod:`logging.config` 模組" #: ../../library/logging.handlers.rst:1235 msgid "Configuration API for the logging module." msgstr "" + +#~ msgid "Important" +#~ msgstr "重點資訊" diff --git a/library/logging.po b/library/logging.po index b7ad8c2038..f13d09f62c 100644 --- a/library/logging.po +++ b/library/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-26 00:15+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2024-03-28 22:40+0800\n" "Last-Translator: RockLeon \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -27,10 +27,6 @@ msgstr ":mod:`!logging` --- Python 的日誌記錄工具" msgid "**Source code:** :source:`Lib/logging/__init__.py`" msgstr "**原始碼:**\\ :source:`Lib/logging/__init__.py`" -#: ../../library/logging.rst:14 -msgid "Important" -msgstr "重點資訊" - #: ../../library/logging.rst:16 msgid "" "This page contains the API reference information. For tutorial information " @@ -2349,3 +2345,6 @@ msgstr "Errors(錯誤)" #: ../../library/logging.rst:12 msgid "logging" msgstr "logging(日誌)" + +#~ msgid "Important" +#~ msgstr "重點資訊" diff --git a/library/stdtypes.po b/library/stdtypes.po index 4275be44cc..a710385440 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-20 00:15+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2022-06-12 15:22+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -697,7 +697,8 @@ msgstr "" "算:" #: ../../library/stdtypes.rst:376 -msgid ":func:`math.trunc( x) `" +#, fuzzy +msgid ":func:`math.trunc(\\ x) `" msgstr ":func:`math.trunc( x) `" #: ../../library/stdtypes.rst:376 @@ -715,7 +716,8 @@ msgid "" msgstr "*x* 進位至小數點後第 *n* 位,使用偶數捨入法。若省略 *n* ,則預設為 0。" #: ../../library/stdtypes.rst:383 -msgid ":func:`math.floor( x) `" +#, fuzzy +msgid ":func:`math.floor(\\ x) `" msgstr ":func:`math.floor( x) `" #: ../../library/stdtypes.rst:383 @@ -9418,7 +9420,8 @@ msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -"此限制僅適用於 :class:`int` 與 :class:`str` 或 :class:`bytes` 之間可能較慢的轉換:" +"此限制僅適用於 :class:`int` 與 :class:`str` 或 :class:`bytes` 之間可能較慢的" +"轉換:" #: ../../library/stdtypes.rst:6399 msgid "``int(string)`` with default base 10." diff --git a/library/tkinter.font.po b/library/tkinter.font.po index b2b3a10acc..7179e207b4 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2024-02-15 23:09+0800\n" "Last-Translator: RockLeon \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -52,15 +52,15 @@ msgstr "" msgid "arguments:" msgstr "引數:" -#: ../../library/tkinter.font.rst:32 +#: ../../library/tkinter.font.rst:0 msgid "*font* - font specifier tuple (family, size, options)" msgstr "*font* - 字型指定符號元組 (family, size, options)" -#: ../../library/tkinter.font.rst:33 +#: ../../library/tkinter.font.rst:0 msgid "*name* - unique font name" msgstr "*name* - 獨特字型名稱" -#: ../../library/tkinter.font.rst:34 +#: ../../library/tkinter.font.rst:0 msgid "*exists* - self points to existing named font if true" msgstr "*exists* - 如果存在的話,指向現有的已命名字型" @@ -68,39 +68,39 @@ msgstr "*exists* - 如果存在的話,指向現有的已命名字型" msgid "additional keyword options (ignored if *font* is specified):" msgstr "額外的關鍵字選項(若已指定 *font* 則會忽略):" -#: ../../library/tkinter.font.rst:38 +#: ../../library/tkinter.font.rst:0 msgid "*family* - font family i.e. Courier, Times" msgstr "*family* - 字型家族,例如:Courier、Times" -#: ../../library/tkinter.font.rst:39 +#: ../../library/tkinter.font.rst:0 msgid "*size* - font size" msgstr "*size* - 字級" -#: ../../library/tkinter.font.rst:40 +#: ../../library/tkinter.font.rst:0 msgid "If *size* is positive it is interpreted as size in points." msgstr "如果 *size* 是正數則會直譯成以點 (point) 為單位的字級。" -#: ../../library/tkinter.font.rst:41 +#: ../../library/tkinter.font.rst:0 msgid "If *size* is a negative number its absolute value is treated" msgstr "如果 *size* 是負數則會變成絕對值" -#: ../../library/tkinter.font.rst:42 +#: ../../library/tkinter.font.rst:0 msgid "as size in pixels." msgstr "以像素 (pixel) 為單位的字級。" -#: ../../library/tkinter.font.rst:43 +#: ../../library/tkinter.font.rst:0 msgid "*weight* - font emphasis (NORMAL, BOLD)" msgstr "*weight* - 強調字型,例如:NORMAL(標準體)、BOLD(粗體)" -#: ../../library/tkinter.font.rst:44 +#: ../../library/tkinter.font.rst:0 msgid "*slant* - ROMAN, ITALIC" msgstr "*slant* - 例如:ROMAN(正體)、ITALIC(斜體)" -#: ../../library/tkinter.font.rst:45 +#: ../../library/tkinter.font.rst:0 msgid "*underline* - font underlining (0 - none, 1 - underline)" msgstr "*underline* - 字型加上底線(0 - 無底線、 1 - 加上底線)" -#: ../../library/tkinter.font.rst:46 +#: ../../library/tkinter.font.rst:0 msgid "*overstrike* - font strikeout (0 - none, 1 - strikeout)" msgstr "*overstrike* - 字型加上刪除線(0 - 無刪除線、 1 - 加上刪除線)" diff --git a/library/turtle.po b/library/turtle.po index 4a251a317e..50b78f9895 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 16:13+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -61,10 +61,6 @@ msgid "" "degrees clockwise." msgstr "" -#: ../../library/turtle.rst:43 -msgid "Turtle star" -msgstr "" - #: ../../library/turtle.rst:45 msgid "" "Turtle can draw intricate shapes using programs that repeat simple moves." @@ -551,71 +547,71 @@ msgstr "" msgid "Move and draw" msgstr "" -#: ../../library/turtle.rst:336 +#: ../../library/turtle.rst:0 msgid ":func:`forward` | :func:`fd`" msgstr ":func:`forward` | :func:`fd`" -#: ../../library/turtle.rst:337 +#: ../../library/turtle.rst:0 msgid ":func:`backward` | :func:`bk` | :func:`back`" msgstr ":func:`backward` | :func:`bk` | :func:`back`" -#: ../../library/turtle.rst:338 +#: ../../library/turtle.rst:0 msgid ":func:`right` | :func:`rt`" msgstr ":func:`right` | :func:`rt`" -#: ../../library/turtle.rst:339 +#: ../../library/turtle.rst:0 msgid ":func:`left` | :func:`lt`" msgstr ":func:`left` | :func:`lt`" -#: ../../library/turtle.rst:340 +#: ../../library/turtle.rst:0 msgid ":func:`goto` | :func:`setpos` | :func:`setposition`" msgstr ":func:`goto` | :func:`setpos` | :func:`setposition`" -#: ../../library/turtle.rst:341 +#: ../../library/turtle.rst:0 msgid ":func:`teleport`" msgstr ":func:`teleport`" -#: ../../library/turtle.rst:342 +#: ../../library/turtle.rst:0 msgid ":func:`setx`" msgstr ":func:`setx`" -#: ../../library/turtle.rst:343 +#: ../../library/turtle.rst:0 msgid ":func:`sety`" msgstr ":func:`sety`" -#: ../../library/turtle.rst:344 +#: ../../library/turtle.rst:0 msgid ":func:`setheading` | :func:`seth`" msgstr ":func:`setheading` | :func:`seth`" -#: ../../library/turtle.rst:345 +#: ../../library/turtle.rst:0 msgid ":func:`home`" msgstr ":func:`home`" -#: ../../library/turtle.rst:346 ../../library/turtle.rst:2864 +#: ../../library/turtle.rst:0 ../../library/turtle.rst:2864 msgid ":func:`circle`" msgstr ":func:`circle`" -#: ../../library/turtle.rst:347 +#: ../../library/turtle.rst:0 msgid ":func:`dot`" msgstr ":func:`dot`" -#: ../../library/turtle.rst:348 ../../library/turtle.rst:2842 +#: ../../library/turtle.rst:0 ../../library/turtle.rst:2842 msgid ":func:`stamp`" msgstr ":func:`stamp`" -#: ../../library/turtle.rst:349 +#: ../../library/turtle.rst:0 msgid ":func:`clearstamp`" msgstr ":func:`clearstamp`" -#: ../../library/turtle.rst:350 +#: ../../library/turtle.rst:0 msgid ":func:`clearstamps`" msgstr ":func:`clearstamps`" -#: ../../library/turtle.rst:351 +#: ../../library/turtle.rst:0 msgid ":func:`undo`" msgstr ":func:`undo`" -#: ../../library/turtle.rst:352 +#: ../../library/turtle.rst:0 msgid ":func:`speed`" msgstr ":func:`speed`" @@ -623,27 +619,27 @@ msgstr ":func:`speed`" msgid "Tell Turtle's state" msgstr "" -#: ../../library/turtle.rst:355 +#: ../../library/turtle.rst:0 msgid ":func:`position` | :func:`pos`" msgstr ":func:`position` | :func:`pos`" -#: ../../library/turtle.rst:356 +#: ../../library/turtle.rst:0 msgid ":func:`towards`" msgstr ":func:`towards`" -#: ../../library/turtle.rst:357 +#: ../../library/turtle.rst:0 msgid ":func:`xcor`" msgstr ":func:`xcor`" -#: ../../library/turtle.rst:358 +#: ../../library/turtle.rst:0 msgid ":func:`ycor`" msgstr ":func:`ycor`" -#: ../../library/turtle.rst:359 +#: ../../library/turtle.rst:0 msgid ":func:`heading`" msgstr ":func:`heading`" -#: ../../library/turtle.rst:360 +#: ../../library/turtle.rst:0 msgid ":func:`distance`" msgstr ":func:`distance`" @@ -651,11 +647,11 @@ msgstr ":func:`distance`" msgid "Setting and measurement" msgstr "" -#: ../../library/turtle.rst:363 +#: ../../library/turtle.rst:0 msgid ":func:`degrees`" msgstr ":func:`degrees`" -#: ../../library/turtle.rst:364 +#: ../../library/turtle.rst:0 msgid ":func:`radians`" msgstr ":func:`radians`" @@ -663,23 +659,23 @@ msgstr ":func:`radians`" msgid "Drawing state" msgstr "" -#: ../../library/turtle.rst:368 +#: ../../library/turtle.rst:0 msgid ":func:`pendown` | :func:`pd` | :func:`down`" msgstr ":func:`pendown` | :func:`pd` | :func:`down`" -#: ../../library/turtle.rst:369 +#: ../../library/turtle.rst:0 msgid ":func:`penup` | :func:`pu` | :func:`up`" msgstr ":func:`penup` | :func:`pu` | :func:`up`" -#: ../../library/turtle.rst:370 +#: ../../library/turtle.rst:0 msgid ":func:`pensize` | :func:`width`" msgstr ":func:`pensize` | :func:`width`" -#: ../../library/turtle.rst:371 +#: ../../library/turtle.rst:0 msgid ":func:`pen`" msgstr ":func:`pen`" -#: ../../library/turtle.rst:372 +#: ../../library/turtle.rst:0 msgid ":func:`isdown`" msgstr ":func:`isdown`" @@ -687,15 +683,15 @@ msgstr ":func:`isdown`" msgid "Color control" msgstr "" -#: ../../library/turtle.rst:375 +#: ../../library/turtle.rst:0 msgid ":func:`color`" msgstr ":func:`color`" -#: ../../library/turtle.rst:376 +#: ../../library/turtle.rst:0 msgid ":func:`pencolor`" msgstr ":func:`pencolor`" -#: ../../library/turtle.rst:377 +#: ../../library/turtle.rst:0 msgid ":func:`fillcolor`" msgstr ":func:`fillcolor`" @@ -703,19 +699,19 @@ msgstr ":func:`fillcolor`" msgid "Filling" msgstr "" -#: ../../library/turtle.rst:380 +#: ../../library/turtle.rst:0 msgid ":func:`filling`" msgstr ":func:`filling`" -#: ../../library/turtle.rst:381 +#: ../../library/turtle.rst:0 msgid ":func:`fill`" msgstr ":func:`fill`" -#: ../../library/turtle.rst:382 +#: ../../library/turtle.rst:0 msgid ":func:`begin_fill`" msgstr ":func:`begin_fill`" -#: ../../library/turtle.rst:383 +#: ../../library/turtle.rst:0 msgid ":func:`end_fill`" msgstr ":func:`end_fill`" @@ -723,15 +719,15 @@ msgstr ":func:`end_fill`" msgid "More drawing control" msgstr "" -#: ../../library/turtle.rst:386 +#: ../../library/turtle.rst:0 msgid ":func:`reset`" msgstr ":func:`reset`" -#: ../../library/turtle.rst:387 +#: ../../library/turtle.rst:0 msgid ":func:`clear`" msgstr ":func:`clear`" -#: ../../library/turtle.rst:388 +#: ../../library/turtle.rst:0 msgid ":func:`write`" msgstr ":func:`write`" @@ -743,15 +739,15 @@ msgstr "" msgid "Visibility" msgstr "" -#: ../../library/turtle.rst:392 +#: ../../library/turtle.rst:0 msgid ":func:`showturtle` | :func:`st`" msgstr ":func:`showturtle` | :func:`st`" -#: ../../library/turtle.rst:393 +#: ../../library/turtle.rst:0 msgid ":func:`hideturtle` | :func:`ht`" msgstr ":func:`hideturtle` | :func:`ht`" -#: ../../library/turtle.rst:394 +#: ../../library/turtle.rst:0 msgid ":func:`isvisible`" msgstr ":func:`isvisible`" @@ -759,35 +755,35 @@ msgstr ":func:`isvisible`" msgid "Appearance" msgstr "" -#: ../../library/turtle.rst:397 +#: ../../library/turtle.rst:0 msgid ":func:`shape`" msgstr ":func:`shape`" -#: ../../library/turtle.rst:398 +#: ../../library/turtle.rst:0 msgid ":func:`resizemode`" msgstr ":func:`resizemode`" -#: ../../library/turtle.rst:399 +#: ../../library/turtle.rst:0 msgid ":func:`shapesize` | :func:`turtlesize`" msgstr ":func:`shapesize` | :func:`turtlesize`" -#: ../../library/turtle.rst:400 +#: ../../library/turtle.rst:0 msgid ":func:`shearfactor`" msgstr ":func:`shearfactor`" -#: ../../library/turtle.rst:401 +#: ../../library/turtle.rst:0 msgid ":func:`tiltangle`" msgstr ":func:`tiltangle`" -#: ../../library/turtle.rst:402 +#: ../../library/turtle.rst:0 msgid ":func:`tilt`" msgstr ":func:`tilt`" -#: ../../library/turtle.rst:403 +#: ../../library/turtle.rst:0 msgid ":func:`shapetransform`" msgstr ":func:`shapetransform`" -#: ../../library/turtle.rst:404 +#: ../../library/turtle.rst:0 msgid ":func:`get_shapepoly`" msgstr ":func:`get_shapepoly`" @@ -795,15 +791,15 @@ msgstr ":func:`get_shapepoly`" msgid "Using events" msgstr "" -#: ../../library/turtle.rst:407 ../../library/turtle.rst:2836 +#: ../../library/turtle.rst:0 ../../library/turtle.rst:2836 msgid ":func:`onclick`" msgstr ":func:`onclick`" -#: ../../library/turtle.rst:408 +#: ../../library/turtle.rst:0 msgid ":func:`onrelease`" msgstr ":func:`onrelease`" -#: ../../library/turtle.rst:409 ../../library/turtle.rst:2819 +#: ../../library/turtle.rst:0 ../../library/turtle.rst:2819 msgid ":func:`ondrag`" msgstr ":func:`ondrag`" @@ -811,39 +807,39 @@ msgstr ":func:`ondrag`" msgid "Special Turtle methods" msgstr "" -#: ../../library/turtle.rst:412 +#: ../../library/turtle.rst:0 msgid ":func:`poly`" msgstr ":func:`poly`" -#: ../../library/turtle.rst:413 +#: ../../library/turtle.rst:0 msgid ":func:`begin_poly`" msgstr ":func:`begin_poly`" -#: ../../library/turtle.rst:414 +#: ../../library/turtle.rst:0 msgid ":func:`end_poly`" msgstr ":func:`end_poly`" -#: ../../library/turtle.rst:415 +#: ../../library/turtle.rst:0 msgid ":func:`get_poly`" msgstr ":func:`get_poly`" -#: ../../library/turtle.rst:416 ../../library/turtle.rst:2858 +#: ../../library/turtle.rst:0 ../../library/turtle.rst:2858 msgid ":func:`clone`" msgstr ":func:`clone`" -#: ../../library/turtle.rst:417 +#: ../../library/turtle.rst:0 msgid ":func:`getturtle` | :func:`getpen`" msgstr ":func:`getturtle` | :func:`getpen`" -#: ../../library/turtle.rst:418 +#: ../../library/turtle.rst:0 msgid ":func:`getscreen`" msgstr ":func:`getscreen`" -#: ../../library/turtle.rst:419 +#: ../../library/turtle.rst:0 msgid ":func:`setundobuffer`" msgstr ":func:`setundobuffer`" -#: ../../library/turtle.rst:420 +#: ../../library/turtle.rst:0 msgid ":func:`undobufferentries`" msgstr ":func:`undobufferentries`" @@ -855,27 +851,27 @@ msgstr "" msgid "Window control" msgstr "" -#: ../../library/turtle.rst:427 +#: ../../library/turtle.rst:0 msgid ":func:`bgcolor`" msgstr ":func:`bgcolor`" -#: ../../library/turtle.rst:428 +#: ../../library/turtle.rst:0 msgid ":func:`bgpic`" msgstr ":func:`bgpic`" -#: ../../library/turtle.rst:429 +#: ../../library/turtle.rst:0 msgid ":func:`clearscreen`" msgstr ":func:`clearscreen`" -#: ../../library/turtle.rst:430 +#: ../../library/turtle.rst:0 msgid ":func:`resetscreen`" msgstr ":func:`resetscreen`" -#: ../../library/turtle.rst:431 +#: ../../library/turtle.rst:0 msgid ":func:`screensize`" msgstr ":func:`screensize`" -#: ../../library/turtle.rst:432 +#: ../../library/turtle.rst:0 msgid ":func:`setworldcoordinates`" msgstr ":func:`setworldcoordinates`" @@ -883,19 +879,19 @@ msgstr ":func:`setworldcoordinates`" msgid "Animation control" msgstr "" -#: ../../library/turtle.rst:435 +#: ../../library/turtle.rst:0 msgid ":func:`no_animation`" msgstr ":func:`no_animation`" -#: ../../library/turtle.rst:436 +#: ../../library/turtle.rst:0 msgid ":func:`delay`" msgstr ":func:`delay`" -#: ../../library/turtle.rst:437 +#: ../../library/turtle.rst:0 msgid ":func:`tracer`" msgstr ":func:`tracer`" -#: ../../library/turtle.rst:438 +#: ../../library/turtle.rst:0 msgid ":func:`update`" msgstr ":func:`update`" @@ -903,27 +899,27 @@ msgstr ":func:`update`" msgid "Using screen events" msgstr "" -#: ../../library/turtle.rst:441 +#: ../../library/turtle.rst:0 msgid ":func:`listen`" msgstr ":func:`listen`" -#: ../../library/turtle.rst:442 +#: ../../library/turtle.rst:0 msgid ":func:`onkey` | :func:`onkeyrelease`" msgstr ":func:`onkey` | :func:`onkeyrelease`" -#: ../../library/turtle.rst:443 +#: ../../library/turtle.rst:0 msgid ":func:`onkeypress`" msgstr ":func:`onkeypress`" -#: ../../library/turtle.rst:444 +#: ../../library/turtle.rst:0 msgid ":func:`onclick` | :func:`onscreenclick`" msgstr ":func:`onclick` | :func:`onscreenclick`" -#: ../../library/turtle.rst:445 +#: ../../library/turtle.rst:0 msgid ":func:`ontimer`" msgstr ":func:`ontimer`" -#: ../../library/turtle.rst:446 +#: ../../library/turtle.rst:0 msgid ":func:`mainloop` | :func:`done`" msgstr ":func:`mainloop` | :func:`done`" @@ -931,35 +927,35 @@ msgstr ":func:`mainloop` | :func:`done`" msgid "Settings and special methods" msgstr "" -#: ../../library/turtle.rst:449 +#: ../../library/turtle.rst:0 msgid ":func:`mode`" msgstr ":func:`mode`" -#: ../../library/turtle.rst:450 +#: ../../library/turtle.rst:0 msgid ":func:`colormode`" msgstr ":func:`colormode`" -#: ../../library/turtle.rst:451 +#: ../../library/turtle.rst:0 msgid ":func:`getcanvas`" msgstr ":func:`getcanvas`" -#: ../../library/turtle.rst:452 +#: ../../library/turtle.rst:0 msgid ":func:`getshapes`" msgstr ":func:`getshapes`" -#: ../../library/turtle.rst:453 +#: ../../library/turtle.rst:0 msgid ":func:`register_shape` | :func:`addshape`" msgstr ":func:`register_shape` | :func:`addshape`" -#: ../../library/turtle.rst:454 +#: ../../library/turtle.rst:0 msgid ":func:`turtles`" msgstr ":func:`turtles`" -#: ../../library/turtle.rst:455 +#: ../../library/turtle.rst:0 msgid ":func:`window_height`" msgstr ":func:`window_height`" -#: ../../library/turtle.rst:456 +#: ../../library/turtle.rst:0 msgid ":func:`window_width`" msgstr ":func:`window_width`" @@ -967,11 +963,11 @@ msgstr ":func:`window_width`" msgid "Input methods" msgstr "" -#: ../../library/turtle.rst:459 +#: ../../library/turtle.rst:0 msgid ":func:`textinput`" msgstr ":func:`textinput`" -#: ../../library/turtle.rst:460 +#: ../../library/turtle.rst:0 msgid ":func:`numinput`" msgstr ":func:`numinput`" @@ -979,23 +975,23 @@ msgstr ":func:`numinput`" msgid "Methods specific to Screen" msgstr "" -#: ../../library/turtle.rst:463 +#: ../../library/turtle.rst:0 msgid ":func:`bye`" msgstr ":func:`bye`" -#: ../../library/turtle.rst:464 +#: ../../library/turtle.rst:0 msgid ":func:`exitonclick`" msgstr ":func:`exitonclick`" -#: ../../library/turtle.rst:465 +#: ../../library/turtle.rst:0 msgid ":func:`save`" msgstr ":func:`save`" -#: ../../library/turtle.rst:466 +#: ../../library/turtle.rst:0 msgid ":func:`setup`" msgstr ":func:`setup`" -#: ../../library/turtle.rst:467 +#: ../../library/turtle.rst:0 msgid ":func:`title`" msgstr ":func:`title`" diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index 56431110ec..5cf0a00d3b 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2016-11-19 00:36+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -87,7 +87,7 @@ msgstr "" msgid "true: Perform Namespace processing." msgstr "" -#: ../../library/xml.sax.handler.rst:64 +#: ../../library/xml.sax.handler.rst:65 msgid "" "false: Optionally do not perform Namespace processing (implies namespace-" "prefixes; default)." @@ -104,13 +104,13 @@ msgstr "" msgid "value: ``\"http://xml.org/sax/features/namespace-prefixes\"``" msgstr "" -#: ../../library/xml.sax.handler.rst:72 +#: ../../library/xml.sax.handler.rst:73 msgid "" "true: Report the original prefixed names and attributes used for Namespace " "declarations." msgstr "" -#: ../../library/xml.sax.handler.rst:74 +#: ../../library/xml.sax.handler.rst:75 msgid "" "false: Do not report attributes used for Namespace declarations, and " "optionally do not report original prefixed names (default)." @@ -120,7 +120,7 @@ msgstr "" msgid "value: ``\"http://xml.org/sax/features/string-interning\"``" msgstr "" -#: ../../library/xml.sax.handler.rst:82 +#: ../../library/xml.sax.handler.rst:83 msgid "" "true: All element names, prefixes, attribute names, Namespace URIs, and " "local names are interned using the built-in intern function." @@ -135,7 +135,7 @@ msgstr "" msgid "value: ``\"http://xml.org/sax/features/validation\"``" msgstr "" -#: ../../library/xml.sax.handler.rst:91 +#: ../../library/xml.sax.handler.rst:92 msgid "" "true: Report all validation errors (implies external-general-entities and " "external-parameter-entities)." @@ -169,13 +169,13 @@ msgstr "" msgid "value: ``\"http://xml.org/sax/features/external-parameter-entities\"``" msgstr "" -#: ../../library/xml.sax.handler.rst:116 +#: ../../library/xml.sax.handler.rst:117 msgid "" "true: Include all external parameter entities, including the external DTD " "subset." msgstr "" -#: ../../library/xml.sax.handler.rst:118 +#: ../../library/xml.sax.handler.rst:119 msgid "" "false: Do not include any external parameter entities, even the external DTD " "subset." @@ -193,7 +193,7 @@ msgstr "" msgid "data type: xml.sax.handler.LexicalHandler (not supported in Python 2)" msgstr "" -#: ../../library/xml.sax.handler.rst:132 +#: ../../library/xml.sax.handler.rst:133 msgid "" "description: An optional extension handler for lexical events like comments." msgstr "" @@ -210,7 +210,7 @@ msgstr "" msgid "data type: xml.sax.sax2lib.DeclHandler (not supported in Python 2)" msgstr "" -#: ../../library/xml.sax.handler.rst:141 +#: ../../library/xml.sax.handler.rst:142 msgid "" "description: An optional extension handler for DTD-related events other than " "notations and unparsed entities." @@ -224,7 +224,7 @@ msgstr "" msgid "data type: org.w3c.dom.Node (not supported in Python 2)" msgstr "" -#: ../../library/xml.sax.handler.rst:150 +#: ../../library/xml.sax.handler.rst:151 msgid "" "description: When parsing, the current DOM node being visited if this is a " "DOM iterator; when not parsing, the root DOM node for iteration." @@ -238,7 +238,7 @@ msgstr "" msgid "data type: Bytes" msgstr "" -#: ../../library/xml.sax.handler.rst:159 +#: ../../library/xml.sax.handler.rst:160 msgid "" "description: The literal string of characters that was the source for the " "current event." diff --git a/reference/executionmodel.po b/reference/executionmodel.po index 036403c608..566bdb6d9b 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 16:17+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -591,17 +591,15 @@ msgid "" "how it runs on the host look something like this:" msgstr "" -#: ../../reference/executionmodel.rst:415 -#: ../../reference/executionmodel.rst:474 +#: ../../reference/executionmodel.rst:0 msgid "**host machine**" msgstr "" -#: ../../reference/executionmodel.rst:416 -#: ../../reference/executionmodel.rst:475 +#: ../../reference/executionmodel.rst:0 msgid "**process** (global resources)" msgstr "" -#: ../../reference/executionmodel.rst:417 +#: ../../reference/executionmodel.rst:0 msgid "**thread** (runs machine code)" msgstr "" @@ -683,19 +681,19 @@ msgid "" "data layers specific to Python:" msgstr "" -#: ../../reference/executionmodel.rst:476 +#: ../../reference/executionmodel.rst:0 msgid "Python global runtime (*state*)" msgstr "" -#: ../../reference/executionmodel.rst:477 +#: ../../reference/executionmodel.rst:0 msgid "Python interpreter (*state*)" msgstr "" -#: ../../reference/executionmodel.rst:478 +#: ../../reference/executionmodel.rst:0 msgid "**thread** (runs Python bytecode and \"C-API\")" msgstr "" -#: ../../reference/executionmodel.rst:479 +#: ../../reference/executionmodel.rst:0 msgid "Python thread *state*" msgstr "" diff --git a/using/configure.po b/using/configure.po index c01f0c9f01..a31ca6249d 100644 --- a/using/configure.po +++ b/using/configure.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -196,11 +196,11 @@ msgstr ":mod:`curses`" msgid "`OpenSSL `_" msgstr "`OpenSSL `_" -#: ../../using/configure.rst:97 +#: ../../using/configure.rst:0 msgid "3.0.18 recommended" msgstr "" -#: ../../using/configure.rst:98 +#: ../../using/configure.rst:0 msgid "(1.1.1 minimum)" msgstr "" diff --git a/using/windows.po b/using/windows.po index 67611d22c1..cdb1cc0ba1 100644 --- a/using/windows.po +++ b/using/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-22 00:16+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-05-23 16:19+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -2339,9 +2339,10 @@ msgid "The default installation directory for all-user installs" msgstr "" #: ../../using/windows.rst:1452 +#, fuzzy msgid "" -":file:`%ProgramFiles%\\\\ Python X.Y` or :file:` %ProgramFiles(x86)%\\\\ " -"Python X.Y`" +":file:`%ProgramFiles%\\\\\\ Python X.Y` or :file:`\\ %ProgramFiles(x86)%\\\\" +"\\ Python X.Y`" msgstr "" ":file:`%ProgramFiles%\\\\ Python X.Y` or :file:` %ProgramFiles(x86)%\\\\ " "Python X.Y`" @@ -2355,10 +2356,11 @@ msgid "The default install directory for just-for-me installs" msgstr "" #: ../../using/windows.rst:1457 +#, fuzzy msgid "" -":file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY` or :file:" -"`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-32` or :file:" -"`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-64`" +":file:`%LocalAppData%\\\\\\ Programs\\\\Python\\\\\\ PythonXY` or :file:" +"`%LocalAppData%\\\\\\ Programs\\\\Python\\\\\\ PythonXY-32` or :file:" +"`%LocalAppData%\\\\\\ Programs\\\\Python\\\\\\ PythonXY-64`" msgstr "" ":file:`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY` 或 :file:" "`%LocalAppData%\\\\ Programs\\\\Python\\\\ PythonXY-32` 或 :file:" diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index ef699f40c2..0fefe72458 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2023-05-28 18:21+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1852,9 +1852,9 @@ msgid "" msgstr "" "在 Unix 上,如果 ``sem_clockwait()`` 函式在 C 函式庫(glibc 2.30 與其更新的版" "本)中可被使用,則 :meth:`threading.Lock.acquire` 方法現在會使用單調時鐘 (:" -"const:`time.CLOCK_MONOTONIC`) 用於超時 (timeout),而不是使用系統時鐘 (:" -"const:`time.CLOCK_REALTIME`),以免受系統時鐘變化的影響。 由 Victor Stinner " -"在 :issue:`41710` 中貢獻。)" +"const:`time.CLOCK_MONOTONIC`) 用於超時 (timeout),而不是使用系統時鐘 (:const:" +"`time.CLOCK_REALTIME`),以免受系統時鐘變化的影響。 由 Victor Stinner 在 :" +"issue:`41710` 中貢獻。)" #: ../../whatsnew/3.11.rst:1093 msgid "time" @@ -2588,8 +2588,7 @@ msgid "" "Subscripting custom :meth:`~object.__getitem__` is also inlined similar to :" "ref:`inline-calls`." msgstr "" -"下標自訂 :meth:`~object.__getitem__` 也是行內的,類似於 :ref:`inline-" -"calls`。" +"下標自訂 :meth:`~object.__getitem__` 也是行內的,類似於 :ref:`inline-calls`。" #: ../../whatsnew/3.11.rst:1474 ../../whatsnew/3.11.rst:1481 msgid "10-25%" @@ -2981,11 +2980,11 @@ msgstr "新的操作碼" msgid "Notes" msgstr "註記" -#: ../../whatsnew/3.11.rst:1650 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!BINARY_*`" msgstr ":opcode:`!BINARY_*`" -#: ../../whatsnew/3.11.rst:1651 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!INPLACE_*`" msgstr ":opcode:`!INPLACE_*`" @@ -2997,31 +2996,31 @@ msgstr ":opcode:`BINARY_OP`" msgid "Replaced all numeric binary/in-place opcodes with a single opcode" msgstr "以單一一個操作碼來取代所有數值的、二進位/原位 (in-place) 操作碼" -#: ../../whatsnew/3.11.rst:1653 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!CALL_FUNCTION`" msgstr ":opcode:`!CALL_FUNCTION`" -#: ../../whatsnew/3.11.rst:1654 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!CALL_FUNCTION_KW`" msgstr ":opcode:`!CALL_FUNCTION_KW`" -#: ../../whatsnew/3.11.rst:1655 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!CALL_METHOD`" msgstr ":opcode:`!CALL_METHOD`" -#: ../../whatsnew/3.11.rst:1653 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`CALL`" msgstr ":opcode:`CALL`" -#: ../../whatsnew/3.11.rst:1654 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!KW_NAMES`" msgstr ":opcode:`!KW_NAMES`" -#: ../../whatsnew/3.11.rst:1655 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!PRECALL`" msgstr ":opcode:`!PRECALL`" -#: ../../whatsnew/3.11.rst:1656 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`PUSH_NULL`" msgstr ":opcode:`PUSH_NULL`" @@ -3033,35 +3032,35 @@ msgstr "" "將方法的引數搬移 (argument shifting) 與關鍵字引數的處理分離開來;允許更好的呼" "叫特化" -#: ../../whatsnew/3.11.rst:1658 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!DUP_TOP`" msgstr ":opcode:`!DUP_TOP`" -#: ../../whatsnew/3.11.rst:1659 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!DUP_TOP_TWO`" msgstr ":opcode:`!DUP_TOP_TWO`" -#: ../../whatsnew/3.11.rst:1660 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!ROT_TWO`" msgstr ":opcode:`!ROT_TWO`" -#: ../../whatsnew/3.11.rst:1661 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!ROT_THREE`" msgstr ":opcode:`!ROT_THREE`" -#: ../../whatsnew/3.11.rst:1662 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!ROT_FOUR`" msgstr ":opcode:`!ROT_FOUR`" -#: ../../whatsnew/3.11.rst:1663 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!ROT_N`" msgstr ":opcode:`!ROT_N`" -#: ../../whatsnew/3.11.rst:1658 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`COPY`" msgstr ":opcode:`COPY`" -#: ../../whatsnew/3.11.rst:1659 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`SWAP`" msgstr ":opcode:`SWAP`" @@ -3069,11 +3068,11 @@ msgstr ":opcode:`SWAP`" msgid "Stack manipulation instructions" msgstr "堆疊操作指示" -#: ../../whatsnew/3.11.rst:1665 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!JUMP_IF_NOT_EXC_MATCH`" msgstr ":opcode:`!JUMP_IF_NOT_EXC_MATCH`" -#: ../../whatsnew/3.11.rst:1665 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`CHECK_EXC_MATCH`" msgstr ":opcode:`CHECK_EXC_MATCH`" @@ -3081,27 +3080,27 @@ msgstr ":opcode:`CHECK_EXC_MATCH`" msgid "Now performs check but doesn't jump" msgstr "現在執行檢查但不跳位 (jump)" -#: ../../whatsnew/3.11.rst:1667 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!JUMP_ABSOLUTE`" msgstr ":opcode:`!JUMP_ABSOLUTE`" -#: ../../whatsnew/3.11.rst:1668 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!POP_JUMP_IF_FALSE`" msgstr ":opcode:`!POP_JUMP_IF_FALSE`" -#: ../../whatsnew/3.11.rst:1669 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!POP_JUMP_IF_TRUE`" msgstr ":opcode:`!POP_JUMP_IF_TRUE`" -#: ../../whatsnew/3.11.rst:1667 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`JUMP_BACKWARD`" msgstr ":opcode:`JUMP_BACKWARD`" -#: ../../whatsnew/3.11.rst:1668 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!POP_JUMP_BACKWARD_IF_*`" msgstr ":opcode:`!POP_JUMP_BACKWARD_IF_*`" -#: ../../whatsnew/3.11.rst:1669 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!POP_JUMP_FORWARD_IF_*`" msgstr ":opcode:`!POP_JUMP_FORWARD_IF_*`" @@ -3113,11 +3112,11 @@ msgstr "" "參見 [#bytecode-jump]_;每個方向的 ``TRUE``、``FALSE``、``NONE`` 和 " "``NOT_NONE`` 變體" -#: ../../whatsnew/3.11.rst:1673 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!SETUP_WITH`" msgstr ":opcode:`!SETUP_WITH`" -#: ../../whatsnew/3.11.rst:1674 +#: ../../whatsnew/3.11.rst:0 msgid ":opcode:`!SETUP_ASYNC_WITH`" msgstr ":opcode:`!SETUP_ASYNC_WITH`" @@ -4598,9 +4597,9 @@ msgid "" "method." msgstr "" ":c:func:`!PyCode_New` 和 :c:func:`!PyCode_NewWithPosOnlyArgs` 現在採用額外的 " -"``exception_table`` 引數。如果可能的話應該避免使用這些函式。要取得自訂程式" -"碼物件,使用編譯器建立一個程式碼物件,然後使用 ``replace`` 方法來得到修改後的" -"版本。" +"``exception_table`` 引數。如果可能的話應該避免使用這些函式。要取得自訂程式碼" +"物件,使用編譯器建立一個程式碼物件,然後使用 ``replace`` 方法來得到修改後的版" +"本。" #: ../../whatsnew/3.11.rst:2318 msgid "" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 54c4904499..dc6419a7dc 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-01 00:17+0000\n" +"POT-Creation-Date: 2026-01-22 16:55+0000\n" "PO-Revision-Date: 2018-07-15 18:56+0800\n" "Last-Translator: \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1048,7 +1048,7 @@ msgstr "" #: ../../whatsnew/3.7.rst:731 msgid "" -"The :meth:`loop.create_datagram_endpoint() ` method gained support for Unix sockets. " "(Contributed by Quentin Dawans in :issue:`31245`.)" msgstr "" From 72f9ed703bee5663ce777499a9290e0582ab02a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 24 Jan 2026 22:48:43 +0000 Subject: [PATCH 2/2] sync with cpython f3a6e8ed --- library/base64.po | 66 +++--- library/http.cookies.po | 75 ++++--- library/importlib.po | 455 +++++++++++++--------------------------- library/inspect.po | 11 +- whatsnew/3.7.po | 8 +- 5 files changed, 229 insertions(+), 386 deletions(-) diff --git a/library/base64.po b/library/base64.po index 9af6ca2344..c68ba96752 100644 --- a/library/base64.po +++ b/library/base64.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-27 07:36+0000\n" +"POT-Creation-Date: 2026-01-24 22:47+0000\n" "PO-Revision-Date: 2018-05-23 14:39+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -34,8 +34,8 @@ msgid "" "Base32 and Base16) and the non-standard :ref:`Base85 encodings `." msgstr "" -"這個模組提供將二進位資料編碼成可顯示 ASCII 字元以及解碼回原始資料的功能。這包括" -"了 :rfc:`4648` 中\\ :ref:`指定的編碼 `\\ (Base64、Base32 " +"這個模組提供將二進位資料編碼成可顯示 ASCII 字元以及解碼回原始資料的功能。這包" +"括了 :rfc:`4648` 中\\ :ref:`指定的編碼 `\\ (Base64、Base32 " "和 Base16)和非標準的 :ref:`Base85 編碼 `。" #: ../../library/base64.rst:22 @@ -61,10 +61,10 @@ msgid "" "`2045`. Note that if you are looking for :rfc:`2045` support you probably " "want to be looking at the :mod:`email` package instead." msgstr "" -":ref:`舊版介面 `\\ 不支援從字串解碼,但它提供對\\ :term:`檔案物件 `\\ 進行" -"編碼和解碼的函式。它僅支援 Base64 標準字母表,並且按照 :rfc:`2045` 每 76 個字" -"元添加換行字元。請注意,如果你需要 :rfc:`2045` 的支援,你可能會需要 :mod:" -"`email` 函式庫。" +":ref:`舊版介面 `\\ 不支援從字串解碼,但它提供對\\ :term:`檔案" +"物件 `\\ 進行編碼和解碼的函式。它僅支援 Base64 標準字母表,並且" +"按照 :rfc:`2045` 每 76 個字元添加換行字元。請注意,如果你需要 :rfc:`2045` 的" +"支援,你可能會需要 :mod:`email` 函式庫。" #: ../../library/base64.rst:36 msgid "" @@ -407,17 +407,17 @@ msgstr "" "``~>``)。" #: ../../library/base64.rst:242 +#, fuzzy msgid "" -"*ignorechars* should be a :term:`bytes-like object` or ASCII string " -"containing characters to ignore from the input. This should only contain " -"whitespace characters, and by default contains all whitespace characters in " -"ASCII." +"*ignorechars* should be a byte string containing characters to ignore from " +"the input. This should only contain whitespace characters, and by default " +"contains all whitespace characters in ASCII." msgstr "" "*ignorechars* 是一個包含要從輸入中忽略的字元的\\ :term:`類位元組物件 `\\ 或 ASCII 字串。這只包含空格字元,預設情況下包含 ASCII 中的所" "有空格字元。" -#: ../../library/base64.rst:252 +#: ../../library/base64.rst:251 msgid "" "Encode the :term:`bytes-like object` *b* using base85 (as used in e.g. git-" "style binary diffs) and return the encoded :class:`bytes`." @@ -425,7 +425,7 @@ msgstr "" "使用 Base85(例如,git 風格的二進位差異 (binary diff))對\\ :term:`類位元組物" "件 ` *b* 進行編碼,並回傳編碼後的 :class:`bytes`。" -#: ../../library/base64.rst:255 +#: ../../library/base64.rst:254 msgid "" "If *pad* is true, the input is padded with ``b'\\0'`` so its length is a " "multiple of 4 bytes before encoding." @@ -433,7 +433,7 @@ msgstr "" "如果 *pad* 為 true,則在編碼之前,輸入將使用 ``b'\\0'`` 進行填充,以使其長度" "為 4 的倍數。" -#: ../../library/base64.rst:263 +#: ../../library/base64.rst:262 msgid "" "Decode the base85-encoded :term:`bytes-like object` or ASCII string *b* and " "return the decoded :class:`bytes`. Padding is implicitly removed, if " @@ -442,29 +442,31 @@ msgstr "" "解碼經過 base85 編碼的\\ :term:`類位元組物件 `\\ 或 ASCII " "字串 *b*,並回傳解碼後的 :class:`bytes`。必要時會隱式移除填充。" -#: ../../library/base64.rst:272 +#: ../../library/base64.rst:271 msgid "" "Encode the :term:`bytes-like object` *s* using Z85 (as used in ZeroMQ) and " "return the encoded :class:`bytes`. See `Z85 specification `_ for more information." msgstr "" -"使用 Z85(如用於 ZeroMQ)對\\ :term:`類位元組物件 ` *s* 進行編碼,並回傳" -"編碼後的 :class:`bytes`。有關更多資訊,請參閱 `Z85 規格 `_。" +"使用 Z85(如用於 ZeroMQ)對\\ :term:`類位元組物件 ` *s* 進" +"行編碼,並回傳編碼後的 :class:`bytes`。有關更多資訊,請參閱 `Z85 規格 " +"`_。" -#: ../../library/base64.rst:281 +#: ../../library/base64.rst:280 msgid "" "Decode the Z85-encoded :term:`bytes-like object` or ASCII string *s* and " "return the decoded :class:`bytes`. See `Z85 specification `_ for more information." msgstr "" -"解碼經 Z85 編碼的\\ :term:`類位元組物件 `\\ 或 ASCII " -"字串 *s*,並回傳解碼後的 :class:`bytes`。有關更多資訊,請參閱 `Z85 規格 `_。" +"解碼經 Z85 編碼的\\ :term:`類位元組物件 `\\ 或 ASCII 字串 " +"*s*,並回傳解碼後的 :class:`bytes`。有關更多資訊,請參閱 `Z85 規格 `_。" -#: ../../library/base64.rst:291 +#: ../../library/base64.rst:290 msgid "Legacy Interface" msgstr "舊版介面" -#: ../../library/base64.rst:295 +#: ../../library/base64.rst:294 msgid "" "Decode the contents of the binary *input* file and write the resulting " "binary data to the *output* file. *input* and *output* must be :term:`file " @@ -475,7 +477,7 @@ msgstr "" "*input* 和 *output* 必須是\\ :term:`檔案物件 `。*input* 將被讀" "取,直到 ``input.readline()`` 回傳一個空的 bytes 物件為止。" -#: ../../library/base64.rst:303 +#: ../../library/base64.rst:302 msgid "" "Decode the :term:`bytes-like object` *s*, which must contain one or more " "lines of base64 encoded data, and return the decoded :class:`bytes`." @@ -483,7 +485,7 @@ msgstr "" "解碼必須包含一行或多行的 base64 編碼資料\\ :term:`類位元組物件 ` *s*,並回傳解碼後的 :class:`bytes`。" -#: ../../library/base64.rst:311 +#: ../../library/base64.rst:310 msgid "" "Encode the contents of the binary *input* file and write the resulting " "base64 encoded data to the *output* file. *input* and *output* must be :term:" @@ -498,7 +500,7 @@ msgstr "" "出的每 76 個位元組之後插入一個換行字元 (``b'\\n'``),並確保輸出始終以換行字元" "結尾,符合 :rfc:`2045` (MIME) 的規定。" -#: ../../library/base64.rst:321 +#: ../../library/base64.rst:320 msgid "" "Encode the :term:`bytes-like object` *s*, which can contain arbitrary binary " "data, and return :class:`bytes` containing the base64-encoded data, with " @@ -509,15 +511,15 @@ msgstr "" "碼,並回傳包含 base64 編碼資料 :class:`bytes`,在每 76 個輸出位元組後插入換行" "字元 (``b'\\n'``) ,並確保有尾隨換行字元,符合 :rfc:`2045` (MIME) 的規定。" -#: ../../library/base64.rst:329 +#: ../../library/base64.rst:328 msgid "An example usage of the module:" msgstr "模組的一個範例用法:" -#: ../../library/base64.rst:342 +#: ../../library/base64.rst:341 msgid "Security Considerations" msgstr "安全性注意事項" -#: ../../library/base64.rst:344 +#: ../../library/base64.rst:343 msgid "" "A new security considerations section was added to :rfc:`4648` (section 12); " "it's recommended to review the security section for any code deployed to " @@ -526,18 +528,18 @@ msgstr "" ":rfc:`4648`\\ (第 12 節)中添加了一個新的安全性考量部分;建議對部署到正式環" "境的任何程式碼進行安全性部分的審查。" -#: ../../library/base64.rst:349 +#: ../../library/base64.rst:348 msgid "Module :mod:`binascii`" msgstr ":mod:`binascii` 模組" -#: ../../library/base64.rst:350 +#: ../../library/base64.rst:349 msgid "" "Support module containing ASCII-to-binary and binary-to-ASCII conversions." msgstr "" "支援模組中包含 ASCII 到二進位 (ASCII-to-binary) 和二進位到 ASCII (binary-to-" "ASCII) 的轉換功能。" -#: ../../library/base64.rst:352 +#: ../../library/base64.rst:351 msgid "" ":rfc:`1521` - MIME (Multipurpose Internet Mail Extensions) Part One: " "Mechanisms for Specifying and Describing the Format of Internet Message " @@ -546,7 +548,7 @@ msgstr "" ":rfc:`1521` - MIME(多用途網際網路郵件擴展)第一部分:指定和描述網際網路主體" "格式的機制。" -#: ../../library/base64.rst:353 +#: ../../library/base64.rst:352 msgid "" "Section 5.2, \"Base64 Content-Transfer-Encoding,\" provides the definition " "of the base64 encoding." diff --git a/library/http.cookies.po b/library/http.cookies.po index 25cf3a3e44..79839e666f 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-09-08 15:25+0800\n" +"POT-Creation-Date: 2026-01-24 22:47+0000\n" "PO-Revision-Date: 2024-12-24 18:49+0800\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -38,12 +38,12 @@ msgstr "" #: ../../library/http.cookies.rst:19 msgid "" -"The module formerly strictly applied the parsing rules described in " -"the :rfc:`2109` and :rfc:`2068` specifications. It has since been " -"discovered that MSIE 3.0x didn't follow the character rules outlined in " -"those specs; many current-day browsers and servers have also relaxed parsing " -"rules when it comes to cookie handling. As a result, this module now uses " -"parsing rules that are a bit less strict than they once were." +"The module formerly strictly applied the parsing rules described in the :rfc:" +"`2109` and :rfc:`2068` specifications. It has since been discovered that " +"MSIE 3.0x didn't follow the character rules outlined in those specs; many " +"current-day browsers and servers have also relaxed parsing rules when it " +"comes to cookie handling. As a result, this module now uses parsing rules " +"that are a bit less strict than they once were." msgstr "" "此模組原先嚴格遵循了 :rfc:`2109` 和 :rfc:`2068` 規範所描述的剖析規則。自從發" "現 MSIE 3.0x 並不遵循這些規範所描述的字元規則,許多目前的瀏覽器和伺服器也在處" @@ -55,9 +55,8 @@ msgid "" "``!#$%&'*+-.^_`|~:`` denote the set of valid characters allowed by this " "module in a cookie name (as :attr:`~Morsel.key`)." msgstr "" -"字元集 :data:`string.ascii_letters`、:data:`string.digits` 和 ``!#$" -"%&'*+-.^_`|~`` 表示此模組在 cookie 名稱 (:attr:`~Morsel.key`) 中允許的合法字" -"元集合。" +"字元集 :data:`string.ascii_letters`、:data:`string.digits` 和 ``!#$%&'*+-." +"^_`|~`` 表示此模組在 cookie 名稱 (:attr:`~Morsel.key`) 中允許的合法字元集合。" #: ../../library/http.cookies.rst:30 msgid "Allowed ':' as a valid cookie name character." @@ -96,12 +95,11 @@ msgstr "如果有給定 *input*,它會被傳遞給 :meth:`load` 方法。" #: ../../library/http.cookies.rst:58 msgid "" -"This class derives from :class:`BaseCookie` and " -"overrides :meth:`~BaseCookie.value_decode` " -"and :meth:`~BaseCookie.value_encode`. :class:`!SimpleCookie` supports " -"strings as cookie values. When setting the value, :class:`!SimpleCookie` " -"calls the builtin :func:`str` to convert the value to a string. Values " -"received from HTTP are kept as strings." +"This class derives from :class:`BaseCookie` and overrides :meth:`~BaseCookie." +"value_decode` and :meth:`~BaseCookie.value_encode`. :class:`!SimpleCookie` " +"supports strings as cookie values. When setting the value, :class:`!" +"SimpleCookie` calls the builtin :func:`str` to convert the value to a " +"string. Values received from HTTP are kept as strings." msgstr "" "這個類別繼承自 :class:`BaseCookie` 並覆寫了 :meth:`~BaseCookie.value_decode` " "和 :meth:`~BaseCookie.value_encode`。:class:`!SimpleCookie` 支援字串作為 " @@ -114,11 +112,11 @@ msgstr ":mod:`http.cookiejar` 模組" #: ../../library/http.cookies.rst:67 msgid "" -"HTTP cookie handling for web *clients*. The :mod:`http.cookiejar` " -"and :mod:`http.cookies` modules do not depend on each other." +"HTTP cookie handling for web *clients*. The :mod:`http.cookiejar` and :mod:" +"`http.cookies` modules do not depend on each other." msgstr "" -"用於網路\\ *用戶端*\\ 的 HTTP cookie 處理。:mod:`http.cookiejar` " -"和 :mod:`http.cookies` 模組互不相依。" +"用於網路\\ *用戶端*\\ 的 HTTP cookie 處理。:mod:`http.cookiejar` 和 :mod:" +"`http.cookies` 模組互不相依。" #: ../../library/http.cookies.rst:70 msgid ":rfc:`2109` - HTTP State Management Mechanism" @@ -135,8 +133,8 @@ msgstr "Cookie 物件" #: ../../library/http.cookies.rst:82 msgid "" "Return a tuple ``(real_value, coded_value)`` from a string representation. " -"``real_value`` can be any type. This method does no decoding " -"in :class:`BaseCookie` --- it exists so it can be overridden." +"``real_value`` can be any type. This method does no decoding in :class:" +"`BaseCookie` --- it exists so it can be overridden." msgstr "" "從字串表示回傳 ``(real_value, coded_value)`` 的元組。``real_value`` 可以是任" "何型別。此方法在 :class:`BaseCookie` 中不做解碼 --- 它存在以便可以被覆寫。" @@ -153,8 +151,8 @@ msgstr "" #: ../../library/http.cookies.rst:94 msgid "" -"In general, it should be the case that :meth:`value_encode` " -"and :meth:`value_decode` are inverses on the range of *value_decode*." +"In general, it should be the case that :meth:`value_encode` and :meth:" +"`value_decode` are inverses on the range of *value_decode*." msgstr "" "一般來說,:meth:`value_encode` 和 :meth:`value_decode` 應該在 *value_decode* " "的範圍內是互逆的 (inverse)。" @@ -246,9 +244,9 @@ msgid "" "the cookie was first set in. For this to be accepted by the user agent, you " "**must** also set ``Secure``." msgstr "" -"屬性 :attr:`partitioned` 向 user agent(使用者代理)表明這些跨網站 cookie " -"*應該*\\ 只能在與首次設定 cookie 時相同的頂層情境中使用。要讓 user agent 接受" -"此設定,你\\ **必須**\\ 同時設定 ``Secure``。" +"屬性 :attr:`partitioned` 向 user agent(使用者代理)表明這些跨網站 cookie *應" +"該*\\ 只能在與首次設定 cookie 時相同的頂層情境中使用。要讓 user agent 接受此" +"設定,你\\ **必須**\\ 同時設定 ``Secure``。" #: ../../library/http.cookies.rst:163 msgid "" @@ -258,8 +256,8 @@ msgid "" "State)`_ for full details and examples." msgstr "" "此外,建議在設定 partitioned(分區)cookie 時使用 ``__Host`` 前綴,使其綁定到" -"主機名稱而非可註冊網域。請閱讀 `CHIPS (Cookies Having Independent Partitioned " -"State)`_ 以取得完整細節和範例。" +"主機名稱而非可註冊網域。請閱讀 `CHIPS (Cookies Having Independent " +"Partitioned State)`_ 以取得完整細節和範例。" #: ../../library/http.cookies.rst:171 msgid "The keys are case-insensitive and their default value is ``''``." @@ -274,13 +272,11 @@ msgstr "" #: ../../library/http.cookies.rst:177 msgid "" -"Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` " -"and :attr:`~Morsel.coded_value` are read-only. Use :meth:`~Morsel.set` for " -"setting them." +"Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and :attr:`~Morsel." +"coded_value` are read-only. Use :meth:`~Morsel.set` for setting them." msgstr "" -"屬性 :attr:`~Morsel.key`、:attr:`~Morsel.value` " -"和 :attr:`~Morsel.coded_value` 是唯讀的。請使用 :meth:`~Morsel.set` 來設定它" -"們。" +"屬性 :attr:`~Morsel.key`、:attr:`~Morsel.value` 和 :attr:`~Morsel." +"coded_value` 是唯讀的。請使用 :meth:`~Morsel.set` 來設定它們。" #: ../../library/http.cookies.rst:182 msgid "Added support for the :attr:`samesite` attribute." @@ -361,8 +357,8 @@ msgid "" "Raise an error if key is not a valid :rfc:`2109` attribute, otherwise behave " "the same as :meth:`dict.setdefault`." msgstr "" -"如果鍵不是一個有效的 :rfc:`2109` 屬性會引發錯誤,否則行為" -"與 :meth:`dict.setdefault` 相同。" +"如果鍵不是一個有效的 :rfc:`2109` 屬性會引發錯誤,否則行為與 :meth:`dict." +"setdefault` 相同。" #: ../../library/http.cookies.rst:265 msgid "Example" @@ -374,6 +370,7 @@ msgid "" msgstr "以下範例示範如何使用 :mod:`http.cookies` 模組。" #: ../../library/http.cookies.rst:269 +#, fuzzy msgid "" ">>> from http import cookies\n" ">>> C = cookies.SimpleCookie()\n" @@ -399,9 +396,9 @@ msgid "" "Set-Cookie: chips=ahoy\n" "Set-Cookie: vienna=finger\n" ">>> C = cookies.SimpleCookie()\n" -">>> C.load('keebler=\"E=everybody; L=\\\\\"Loves\\\\\"; fudge=\\\\012;\";')\n" +">>> C.load('keebler=\"E=everybody; L=\\\\\"Loves\\\\\"; fudge=;\";')\n" ">>> print(C)\n" -"Set-Cookie: keebler=\"E=everybody; L=\\\"Loves\\\"; fudge=\\012;\"\n" +"Set-Cookie: keebler=\"E=everybody; L=\\\"Loves\\\"; fudge=;\"\n" ">>> C = cookies.SimpleCookie()\n" ">>> C[\"oreo\"] = \"doublestuff\"\n" ">>> C[\"oreo\"][\"path\"] = \"/\"\n" diff --git a/library/importlib.po b/library/importlib.po index 714d1903ff..968b405316 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-17 00:14+0000\n" +"POT-Creation-Date: 2026-01-24 22:47+0000\n" "PO-Revision-Date: 2018-05-23 16:04+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -580,7 +580,7 @@ msgid "" "implemented." msgstr "" -#: ../../library/importlib.rst:387 ../../library/importlib.rst:642 +#: ../../library/importlib.rst:387 msgid "*Superseded by TraversableResources*" msgstr "" @@ -738,7 +738,7 @@ msgstr "" msgid "Use :meth:`Loader.exec_module` instead." msgstr "改用 :meth:`Loader.exec_module`。" -#: ../../library/importlib.rst:539 ../../library/importlib.rst:1146 +#: ../../library/importlib.rst:539 ../../library/importlib.rst:980 msgid "Returns :attr:`path`." msgstr "回傳 :attr:`path`。" @@ -864,228 +864,59 @@ msgid "" "``__init__``." msgstr "" -#: ../../library/importlib.rst:644 -msgid "" -"An :term:`abstract base class` to provide the ability to read *resources*." -msgstr "" - -#: ../../library/importlib.rst:647 -msgid "" -"From the perspective of this ABC, a *resource* is a binary artifact that is " -"shipped within a package. Typically this is something like a data file that " -"lives next to the ``__init__.py`` file of the package. The purpose of this " -"class is to help abstract out the accessing of such data files so that it " -"does not matter if the package and its data file(s) are stored e.g. in a zip " -"file versus on the file system." -msgstr "" - -#: ../../library/importlib.rst:655 -msgid "" -"For any of methods of this class, a *resource* argument is expected to be a :" -"term:`path-like object` which represents conceptually just a file name. This " -"means that no subdirectory paths should be included in the *resource* " -"argument. This is because the location of the package the reader is for, " -"acts as the \"directory\". Hence the metaphor for directories and file names " -"is packages and resources, respectively. This is also why instances of this " -"class are expected to directly correlate to a specific package (instead of " -"potentially representing multiple packages or a module)." -msgstr "" - -#: ../../library/importlib.rst:666 -msgid "" -"Loaders that wish to support resource reading are expected to provide a " -"method called ``get_resource_reader(fullname)`` which returns an object " -"implementing this ABC's interface. If the module specified by fullname is " -"not a package, this method should return :const:`None`. An object compatible " -"with this ABC should only be returned when the specified module is a package." -msgstr "" - -#: ../../library/importlib.rst:675 ../../library/importlib.rst:795 -msgid "Use :class:`importlib.resources.abc.TraversableResources` instead." -msgstr "" - -#: ../../library/importlib.rst:681 -msgid "" -"Returns an opened, :term:`file-like object` for binary reading of the " -"*resource*." -msgstr "" - -#: ../../library/importlib.rst:684 -msgid "If the resource cannot be found, :exc:`FileNotFoundError` is raised." -msgstr "" - -#: ../../library/importlib.rst:690 -msgid "Returns the file system path to the *resource*." -msgstr "" - -#: ../../library/importlib.rst:692 -msgid "" -"If the resource does not concretely exist on the file system, raise :exc:" -"`FileNotFoundError`." -msgstr "" - -#: ../../library/importlib.rst:698 -msgid "" -"Returns ``True`` if the named *name* is considered a resource. :exc:" -"`FileNotFoundError` is raised if *name* does not exist." -msgstr "" - -#: ../../library/importlib.rst:704 -msgid "" -"Returns an :term:`iterable` of strings over the contents of the package. Do " -"note that it is not required that all names returned by the iterator be " -"actual resources, e.g. it is acceptable to return names for which :meth:" -"`is_resource` would be false." -msgstr "" - -#: ../../library/importlib.rst:710 -msgid "" -"Allowing non-resource names to be returned is to allow for situations where " -"how a package and its resources are stored are known a priori and the non-" -"resource names would be useful. For instance, returning subdirectory names " -"is allowed so that when it is known that the package and resources are " -"stored on the file system then those subdirectory names can be used directly." -msgstr "" - -#: ../../library/importlib.rst:718 -msgid "The abstract method returns an iterable of no items." -msgstr "" - -#: ../../library/importlib.rst:723 -msgid "" -"An object with a subset of :class:`pathlib.Path` methods suitable for " -"traversing directories and opening files." -msgstr "" - -#: ../../library/importlib.rst:726 -msgid "" -"For a representation of the object on the file-system, use :meth:`importlib." -"resources.as_file`." -msgstr "" - -#: ../../library/importlib.rst:731 -msgid "Use :class:`importlib.resources.abc.Traversable` instead." -msgstr "" - -#: ../../library/importlib.rst:736 -msgid "Abstract. The base name of this object without any parent references." -msgstr "" - -#: ../../library/importlib.rst:741 -msgid "Yield ``Traversable`` objects in ``self``." -msgstr "" - -#: ../../library/importlib.rst:746 -msgid "Return ``True`` if ``self`` is a directory." -msgstr "" - -#: ../../library/importlib.rst:751 -msgid "Return ``True`` if ``self`` is a file." -msgstr "" - -#: ../../library/importlib.rst:756 -msgid "Return Traversable child in ``self``." -msgstr "" - -#: ../../library/importlib.rst:761 -msgid "Return ``Traversable`` child in ``self``." -msgstr "" - -#: ../../library/importlib.rst:766 -msgid "" -"*mode* may be 'r' or 'rb' to open as text or binary. Return a handle " -"suitable for reading (same as :attr:`pathlib.Path.open`)." -msgstr "" - -#: ../../library/importlib.rst:769 -msgid "" -"When opening as text, accepts encoding parameters such as those accepted by :" -"class:`io.TextIOWrapper`." -msgstr "" - -#: ../../library/importlib.rst:774 -msgid "Read contents of ``self`` as bytes." -msgstr "以位元組讀取 ``self`` 的內容。" - -#: ../../library/importlib.rst:778 -msgid "Read contents of ``self`` as text." -msgstr "以文字讀取 ``self`` 的內容。" - -#: ../../library/importlib.rst:783 -msgid "" -"An abstract base class for resource readers capable of serving the :meth:" -"`importlib.resources.files` interface. Subclasses :class:`importlib." -"resources.abc.ResourceReader` and provides concrete implementations of the :" -"class:`importlib.resources.abc.ResourceReader`'s abstract methods. " -"Therefore, any loader supplying :class:`importlib.abc.TraversableResources` " -"also supplies ResourceReader." -msgstr "" - -#: ../../library/importlib.rst:790 -msgid "" -"Loaders that wish to support resource reading are expected to implement this " -"interface." -msgstr "" - -#: ../../library/importlib.rst:801 -msgid "" -"Returns a :class:`importlib.resources.abc.Traversable` object for the loaded " -"package." -msgstr "" - -#: ../../library/importlib.rst:807 +#: ../../library/importlib.rst:641 msgid ":mod:`importlib.machinery` -- Importers and path hooks" msgstr "" -#: ../../library/importlib.rst:812 +#: ../../library/importlib.rst:646 msgid "**Source code:** :source:`Lib/importlib/machinery.py`" msgstr "**原始碼:**\\ :source:`Lib/importlib/machinery.py`" -#: ../../library/importlib.rst:816 +#: ../../library/importlib.rst:650 msgid "" "This module contains the various objects that help :keyword:`import` find " "and load modules." msgstr "" -#: ../../library/importlib.rst:821 +#: ../../library/importlib.rst:655 msgid "" "A list of strings representing the recognized file suffixes for source " "modules." msgstr "" -#: ../../library/importlib.rst:828 +#: ../../library/importlib.rst:662 msgid "" "A list of strings representing the file suffixes for non-optimized bytecode " "modules." msgstr "" -#: ../../library/importlib.rst:833 ../../library/importlib.rst:843 +#: ../../library/importlib.rst:667 ../../library/importlib.rst:677 msgid "Use :const:`BYTECODE_SUFFIXES` instead." msgstr "改用 :const:`BYTECODE_SUFFIXES`。" -#: ../../library/importlib.rst:838 +#: ../../library/importlib.rst:672 msgid "" "A list of strings representing the file suffixes for optimized bytecode " "modules." msgstr "" -#: ../../library/importlib.rst:848 +#: ../../library/importlib.rst:682 msgid "" "A list of strings representing the recognized file suffixes for bytecode " "modules (including the leading dot)." msgstr "" -#: ../../library/importlib.rst:853 +#: ../../library/importlib.rst:687 msgid "The value is no longer dependent on ``__debug__``." msgstr "" -#: ../../library/importlib.rst:858 +#: ../../library/importlib.rst:692 msgid "" "A list of strings representing the recognized file suffixes for extension " "modules." msgstr "" -#: ../../library/importlib.rst:865 +#: ../../library/importlib.rst:699 msgid "" "Returns a combined list of strings representing all file suffixes for " "modules recognized by the standard import machinery. This is a helper for " @@ -1094,57 +925,57 @@ msgid "" "`inspect.getmodulename`)." msgstr "" -#: ../../library/importlib.rst:876 +#: ../../library/importlib.rst:710 msgid "" "An :term:`importer` for built-in modules. All known built-in modules are " "listed in :data:`sys.builtin_module_names`. This class implements the :class:" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: ../../library/importlib.rst:881 ../../library/importlib.rst:895 -#: ../../library/importlib.rst:908 ../../library/importlib.rst:923 +#: ../../library/importlib.rst:715 ../../library/importlib.rst:729 +#: ../../library/importlib.rst:742 ../../library/importlib.rst:757 msgid "" "Only class methods are defined by this class to alleviate the need for " "instantiation." msgstr "" -#: ../../library/importlib.rst:884 +#: ../../library/importlib.rst:718 msgid "" "As part of :pep:`489`, the builtin importer now implements :meth:`Loader." "create_module` and :meth:`Loader.exec_module`" msgstr "" -#: ../../library/importlib.rst:891 +#: ../../library/importlib.rst:725 msgid "" "An :term:`importer` for frozen modules. This class implements the :class:" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: ../../library/importlib.rst:898 +#: ../../library/importlib.rst:732 msgid "" "Gained :meth:`~Loader.create_module` and :meth:`~Loader.exec_module` methods." msgstr "" -#: ../../library/importlib.rst:905 +#: ../../library/importlib.rst:739 msgid "" ":term:`Finder ` for modules declared in the Windows registry. This " "class implements the :class:`importlib.abc.MetaPathFinder` ABC." msgstr "" -#: ../../library/importlib.rst:913 +#: ../../library/importlib.rst:747 msgid "" "Use :mod:`site` configuration instead. Future versions of Python may not " "enable this finder by default." msgstr "" -#: ../../library/importlib.rst:920 +#: ../../library/importlib.rst:754 msgid "" "A :term:`Finder ` for :data:`sys.path` and package ``__path__`` " "attributes. This class implements the :class:`importlib.abc.MetaPathFinder` " "ABC." msgstr "" -#: ../../library/importlib.rst:928 +#: ../../library/importlib.rst:762 msgid "" "Class method that attempts to find a :term:`spec ` for the " "module specified by *fullname* on :data:`sys.path` or, if defined, on " @@ -1158,43 +989,43 @@ msgid "" "cache and returned." msgstr "" -#: ../../library/importlib.rst:942 +#: ../../library/importlib.rst:776 msgid "" "If the current working directory -- represented by an empty string -- is no " "longer valid then ``None`` is returned but no value is cached in :data:`sys." "path_importer_cache`." msgstr "" -#: ../../library/importlib.rst:949 +#: ../../library/importlib.rst:783 msgid "" "Calls :meth:`importlib.abc.PathEntryFinder.invalidate_caches` on all finders " "stored in :data:`sys.path_importer_cache` that define the method. Otherwise " "entries in :data:`sys.path_importer_cache` set to ``None`` are deleted." msgstr "" -#: ../../library/importlib.rst:954 +#: ../../library/importlib.rst:788 msgid "Entries of ``None`` in :data:`sys.path_importer_cache` are deleted." msgstr "" -#: ../../library/importlib.rst:957 +#: ../../library/importlib.rst:791 msgid "" "Calls objects in :data:`sys.path_hooks` with the current working directory " "for ``''`` (i.e. the empty string)." msgstr "" -#: ../../library/importlib.rst:964 +#: ../../library/importlib.rst:798 msgid "" "A concrete implementation of :class:`importlib.abc.PathEntryFinder` which " "caches results from the file system." msgstr "" -#: ../../library/importlib.rst:967 +#: ../../library/importlib.rst:801 msgid "" "The *path* argument is the directory for which the finder is in charge of " "searching." msgstr "" -#: ../../library/importlib.rst:970 +#: ../../library/importlib.rst:804 msgid "" "The *loader_details* argument is a variable number of 2-item tuples each " "containing a loader and a sequence of file suffixes the loader recognizes. " @@ -1202,7 +1033,7 @@ msgid "" "module's name and the path to the file found." msgstr "" -#: ../../library/importlib.rst:975 +#: ../../library/importlib.rst:809 msgid "" "The finder will cache the directory contents as necessary, making stat calls " "for each module search to verify the cache is not outdated. Because cache " @@ -1215,166 +1046,166 @@ msgid "" "to call :func:`importlib.invalidate_caches`." msgstr "" -#: ../../library/importlib.rst:989 +#: ../../library/importlib.rst:823 msgid "The path the finder will search in." msgstr "" -#: ../../library/importlib.rst:993 +#: ../../library/importlib.rst:827 msgid "Attempt to find the spec to handle *fullname* within :attr:`path`." msgstr "" -#: ../../library/importlib.rst:999 +#: ../../library/importlib.rst:833 msgid "Clear out the internal cache." msgstr "" -#: ../../library/importlib.rst:1003 +#: ../../library/importlib.rst:837 msgid "" "A class method which returns a closure for use on :data:`sys.path_hooks`. An " "instance of :class:`FileFinder` is returned by the closure using the path " "argument given to the closure directly and *loader_details* indirectly." msgstr "" -#: ../../library/importlib.rst:1008 +#: ../../library/importlib.rst:842 msgid "" "If the argument to the closure is not an existing directory, :exc:" "`ImportError` is raised." msgstr "" -#: ../../library/importlib.rst:1014 +#: ../../library/importlib.rst:848 msgid "" "A concrete implementation of :class:`importlib.abc.SourceLoader` by " "subclassing :class:`importlib.abc.FileLoader` and providing some concrete " "implementations of other methods." msgstr "" -#: ../../library/importlib.rst:1022 +#: ../../library/importlib.rst:856 msgid "The name of the module that this loader will handle." msgstr "" -#: ../../library/importlib.rst:1026 +#: ../../library/importlib.rst:860 msgid "The path to the source file." msgstr "" -#: ../../library/importlib.rst:1030 +#: ../../library/importlib.rst:864 msgid "Return ``True`` if :attr:`path` appears to be for a package." msgstr "" -#: ../../library/importlib.rst:1034 +#: ../../library/importlib.rst:868 msgid "" "Concrete implementation of :meth:`importlib.abc.SourceLoader.path_stats`." msgstr "" -#: ../../library/importlib.rst:1038 +#: ../../library/importlib.rst:872 msgid "Concrete implementation of :meth:`importlib.abc.SourceLoader.set_data`." msgstr "" -#: ../../library/importlib.rst:1042 ../../library/importlib.rst:1085 +#: ../../library/importlib.rst:876 ../../library/importlib.rst:919 msgid "" "Concrete implementation of :meth:`importlib.abc.Loader.load_module` where " "specifying the name of the module to load is optional." msgstr "" -#: ../../library/importlib.rst:1047 ../../library/importlib.rst:1090 +#: ../../library/importlib.rst:881 ../../library/importlib.rst:924 msgid "Use :meth:`importlib.abc.Loader.exec_module` instead." msgstr "" -#: ../../library/importlib.rst:1052 +#: ../../library/importlib.rst:886 msgid "" "A concrete implementation of :class:`importlib.abc.FileLoader` which can " "import bytecode files (i.e. no source code files exist)." msgstr "" -#: ../../library/importlib.rst:1055 +#: ../../library/importlib.rst:889 msgid "" "Please note that direct use of bytecode files (and thus not source code " "files) inhibits your modules from being usable by all Python implementations " "or new versions of Python which change the bytecode format." msgstr "" -#: ../../library/importlib.rst:1064 +#: ../../library/importlib.rst:898 msgid "The name of the module the loader will handle." msgstr "" -#: ../../library/importlib.rst:1068 +#: ../../library/importlib.rst:902 msgid "The path to the bytecode file." msgstr "" -#: ../../library/importlib.rst:1072 +#: ../../library/importlib.rst:906 msgid "Determines if the module is a package based on :attr:`path`." msgstr "" -#: ../../library/importlib.rst:1076 +#: ../../library/importlib.rst:910 msgid "Returns the code object for :attr:`name` created from :attr:`path`." msgstr "" -#: ../../library/importlib.rst:1080 +#: ../../library/importlib.rst:914 msgid "" "Returns ``None`` as bytecode files have no source when this loader is used." msgstr "" -#: ../../library/importlib.rst:1095 +#: ../../library/importlib.rst:929 msgid "" "A concrete implementation of :class:`importlib.abc.ExecutionLoader` for " "extension modules." msgstr "" -#: ../../library/importlib.rst:1098 +#: ../../library/importlib.rst:932 msgid "" "The *fullname* argument specifies the name of the module the loader is to " "support. The *path* argument is the path to the extension module's file." msgstr "" -#: ../../library/importlib.rst:1101 +#: ../../library/importlib.rst:935 msgid "" "Note that, by default, importing an extension module will fail in " "subinterpreters if it doesn't implement multi-phase init (see :pep:`489`), " "even if it would otherwise import successfully." msgstr "" -#: ../../library/importlib.rst:1107 +#: ../../library/importlib.rst:941 msgid "Multi-phase init is now required for use in subinterpreters." msgstr "" -#: ../../library/importlib.rst:1112 ../../library/importlib.rst:1298 +#: ../../library/importlib.rst:946 ../../library/importlib.rst:1132 msgid "Name of the module the loader supports." msgstr "" -#: ../../library/importlib.rst:1116 +#: ../../library/importlib.rst:950 msgid "Path to the extension module." msgstr "" -#: ../../library/importlib.rst:1120 +#: ../../library/importlib.rst:954 msgid "" "Creates the module object from the given specification in accordance with :" "pep:`489`." msgstr "" -#: ../../library/importlib.rst:1127 +#: ../../library/importlib.rst:961 msgid "Initializes the given module object in accordance with :pep:`489`." msgstr "" -#: ../../library/importlib.rst:1133 +#: ../../library/importlib.rst:967 msgid "" "Returns ``True`` if the file path points to a package's ``__init__`` module " "based on :const:`EXTENSION_SUFFIXES`." msgstr "" -#: ../../library/importlib.rst:1138 +#: ../../library/importlib.rst:972 msgid "Returns ``None`` as extension modules lack a code object." msgstr "" -#: ../../library/importlib.rst:1142 +#: ../../library/importlib.rst:976 msgid "Returns ``None`` as extension modules do not have source code." msgstr "" -#: ../../library/importlib.rst:1153 +#: ../../library/importlib.rst:987 msgid "" "A concrete implementation of :class:`importlib.abc.InspectLoader` for " "namespace packages. This is an alias for a private class and is only made " "public for introspecting the ``__loader__`` attribute on namespace packages::" msgstr "" -#: ../../library/importlib.rst:1158 +#: ../../library/importlib.rst:992 msgid "" ">>> from importlib.machinery import NamespaceLoader\n" ">>> import my_namespace\n" @@ -1392,7 +1223,7 @@ msgstr "" ">>> isinstance(my_namespace.__loader__, importlib.abc.Loader)\n" "True" -#: ../../library/importlib.rst:1171 +#: ../../library/importlib.rst:1005 msgid "" "A specification for a module's import-system-related state. This is " "typically exposed as the module's :attr:`~module.__spec__` attribute. Many " @@ -1405,19 +1236,19 @@ msgid "" "origin>`, and vice versa." msgstr "" -#: ../../library/importlib.rst:1185 +#: ../../library/importlib.rst:1019 msgid "" "The module's fully qualified name (see :attr:`module.__name__`). The :term:" "`finder` should always set this attribute to a non-empty string." msgstr "" -#: ../../library/importlib.rst:1190 +#: ../../library/importlib.rst:1024 msgid "" "The :term:`loader` used to load the module (see :attr:`module.__loader__`). " "The :term:`finder` should always set this attribute." msgstr "" -#: ../../library/importlib.rst:1195 +#: ../../library/importlib.rst:1029 msgid "" "The location the :term:`loader` should use to load the module (see :attr:" "`module.__file__`). For example, for modules loaded from a ``.py`` file this " @@ -1426,14 +1257,14 @@ msgid "" "there is not one (like for namespace packages), it should be set to ``None``." msgstr "" -#: ../../library/importlib.rst:1204 +#: ../../library/importlib.rst:1038 msgid "" "A (possibly empty) :term:`sequence` of strings enumerating the locations in " "which a package's submodules will be found (see :attr:`module.__path__`). " "Most of the time there will only be a single directory in this list." msgstr "" -#: ../../library/importlib.rst:1209 +#: ../../library/importlib.rst:1043 msgid "" "The :term:`finder` should set this attribute to a sequence, even an empty " "one, to indicate to the import system that the module is a package. It " @@ -1441,41 +1272,41 @@ msgid "" "later to a special object for namespace packages." msgstr "" -#: ../../library/importlib.rst:1217 +#: ../../library/importlib.rst:1051 msgid "" "The :term:`finder` may set this attribute to an object containing " "additional, module-specific data to use when loading the module. Otherwise " "it should be set to ``None``." msgstr "" -#: ../../library/importlib.rst:1223 +#: ../../library/importlib.rst:1057 msgid "" "The filename of a compiled version of the module's code (see :attr:`module." "__cached__`). The :term:`finder` should always set this attribute but it may " "be ``None`` for modules that do not need compiled code stored." msgstr "" -#: ../../library/importlib.rst:1230 +#: ../../library/importlib.rst:1064 msgid "" "(Read-only) The fully qualified name of the package the module is in (or the " "empty string for a top-level module). See :attr:`module.__package__`. If the " "module is a package then this is the same as :attr:`name`." msgstr "" -#: ../../library/importlib.rst:1237 +#: ../../library/importlib.rst:1071 msgid "" "``True`` if the spec's :attr:`origin` refers to a loadable location, " "``False`` otherwise. This value impacts how :attr:`!origin` is interpreted " "and how the module's :attr:`~module.__file__` is populated." msgstr "" -#: ../../library/importlib.rst:1244 +#: ../../library/importlib.rst:1078 msgid "" "A specialization of :class:`importlib.machinery.ExtensionFileLoader` that is " "able to load extension modules in Framework format." msgstr "" -#: ../../library/importlib.rst:1247 +#: ../../library/importlib.rst:1081 msgid "" "For compatibility with the iOS App Store, *all* binary modules in an iOS app " "must be dynamic libraries, contained in a framework with appropriate " @@ -1484,7 +1315,7 @@ msgid "" "material outside the Frameworks folder." msgstr "" -#: ../../library/importlib.rst:1253 +#: ../../library/importlib.rst:1087 msgid "" "To accommodate this requirement, when running on iOS, extension module " "binaries are *not* packaged as ``.so`` files on ``sys.path``, but as " @@ -1498,7 +1329,7 @@ msgid "" "fwork`` file, relative to the app bundle." msgstr "" -#: ../../library/importlib.rst:1264 +#: ../../library/importlib.rst:1098 msgid "" "For example, consider the case of an import ``from foo.bar import _whiz``, " "where ``_whiz`` is implemented with the binary module ``sources/foo/bar/" @@ -1514,7 +1345,7 @@ msgid "" "_whiz.origin``, containing the path to the ``.fwork`` file." msgstr "" -#: ../../library/importlib.rst:1278 +#: ../../library/importlib.rst:1112 msgid "" "When a module is loaded with this loader, the ``__file__`` for the module " "will report as the location of the ``.fwork`` file. This allows code to use " @@ -1523,7 +1354,7 @@ msgid "" "in the ``.framework`` folder." msgstr "" -#: ../../library/importlib.rst:1284 +#: ../../library/importlib.rst:1118 msgid "" "The Xcode project building the app is responsible for converting any ``.so`` " "files from wherever they exist in the ``PYTHONPATH`` into frameworks in the " @@ -1534,35 +1365,35 @@ msgid "" "details on how to construct this build step." msgstr "" -#: ../../library/importlib.rst:1294 +#: ../../library/importlib.rst:1128 msgid "Availability" msgstr "可用性" -#: ../../library/importlib.rst:1302 +#: ../../library/importlib.rst:1136 msgid "Path to the ``.fwork`` file for the extension module." msgstr "" -#: ../../library/importlib.rst:1306 +#: ../../library/importlib.rst:1140 msgid ":mod:`importlib.util` -- Utility code for importers" msgstr "" -#: ../../library/importlib.rst:1312 +#: ../../library/importlib.rst:1146 msgid "**Source code:** :source:`Lib/importlib/util.py`" msgstr "**原始碼:**\\ :source:`Lib/importlib/util.py`" -#: ../../library/importlib.rst:1316 +#: ../../library/importlib.rst:1150 msgid "" "This module contains the various objects that help in the construction of " "an :term:`importer`." msgstr "" -#: ../../library/importlib.rst:1321 +#: ../../library/importlib.rst:1155 msgid "" "The bytes which represent the bytecode version number. If you need help with " "loading/writing bytecode then consider :class:`importlib.abc.SourceLoader`." msgstr "" -#: ../../library/importlib.rst:1328 +#: ../../library/importlib.rst:1162 msgid "" "Return the :pep:`3147`/:pep:`488` path to the byte-compiled file associated " "with the source *path*. For example, if *path* is ``/foo/bar/baz.py`` the " @@ -1572,7 +1403,7 @@ msgid "" "`NotImplementedError` will be raised)." msgstr "" -#: ../../library/importlib.rst:1335 +#: ../../library/importlib.rst:1169 msgid "" "The *optimization* parameter is used to specify the optimization level of " "the bytecode file. An empty string represents no optimization, so ``/foo/bar/" @@ -1585,7 +1416,7 @@ msgid "" "be alphanumeric, else :exc:`ValueError` is raised." msgstr "" -#: ../../library/importlib.rst:1345 +#: ../../library/importlib.rst:1179 msgid "" "The *debug_override* parameter is deprecated and can be used to override the " "system's value for ``__debug__``. A ``True`` value is the equivalent of " @@ -1594,18 +1425,18 @@ msgid "" "are not ``None`` then :exc:`TypeError` is raised." msgstr "" -#: ../../library/importlib.rst:1353 +#: ../../library/importlib.rst:1187 msgid "" "The *optimization* parameter was added and the *debug_override* parameter " "was deprecated." msgstr "" -#: ../../library/importlib.rst:1357 ../../library/importlib.rst:1373 -#: ../../library/importlib.rst:1462 +#: ../../library/importlib.rst:1191 ../../library/importlib.rst:1207 +#: ../../library/importlib.rst:1296 msgid "Accepts a :term:`path-like object`." msgstr "接受一個 :term:`path-like object`。" -#: ../../library/importlib.rst:1363 +#: ../../library/importlib.rst:1197 msgid "" "Given the *path* to a :pep:`3147` file name, return the associated source " "code file path. For example, if *path* is ``/foo/bar/__pycache__/baz." @@ -1615,25 +1446,25 @@ msgid "" "cache_tag` is not defined, :exc:`NotImplementedError` is raised." msgstr "" -#: ../../library/importlib.rst:1378 +#: ../../library/importlib.rst:1212 msgid "" "Decode the given bytes representing source code and return it as a string " "with universal newlines (as required by :meth:`importlib.abc.InspectLoader." "get_source`)." msgstr "" -#: ../../library/importlib.rst:1386 +#: ../../library/importlib.rst:1220 msgid "Resolve a relative module name to an absolute one." msgstr "" -#: ../../library/importlib.rst:1388 +#: ../../library/importlib.rst:1222 msgid "" "If **name** has no leading dots, then **name** is simply returned. This " "allows for usage such as ``importlib.util.resolve_name('sys', __spec__." "parent)`` without doing a check to see if the **package** argument is needed." msgstr "" -#: ../../library/importlib.rst:1393 +#: ../../library/importlib.rst:1227 msgid "" ":exc:`ImportError` is raised if **name** is a relative module name but " "**package** is a false value (e.g. ``None`` or the empty string). :exc:" @@ -1641,13 +1472,13 @@ msgid "" "package (e.g. requesting ``..bacon`` from within the ``spam`` package)." msgstr "" -#: ../../library/importlib.rst:1401 +#: ../../library/importlib.rst:1235 msgid "" "To improve consistency with import statements, raise :exc:`ImportError` " "instead of :exc:`ValueError` for invalid relative import attempts." msgstr "" -#: ../../library/importlib.rst:1408 +#: ../../library/importlib.rst:1242 msgid "" "Find the :term:`spec ` for a module, optionally relative to the " "specified **package** name. If the module is in :data:`sys.modules`, then " @@ -1657,30 +1488,30 @@ msgid "" "if no spec is found." msgstr "" -#: ../../library/importlib.rst:1415 +#: ../../library/importlib.rst:1249 msgid "" "If **name** is for a submodule (contains a dot), the parent module is " "automatically imported." msgstr "" -#: ../../library/importlib.rst:1418 +#: ../../library/importlib.rst:1252 msgid "**name** and **package** work the same as for :func:`import_module`." msgstr "" -#: ../../library/importlib.rst:1422 +#: ../../library/importlib.rst:1256 msgid "" "Raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if " "**package** is in fact not a package (i.e. lacks a :attr:`~module.__path__` " "attribute)." msgstr "" -#: ../../library/importlib.rst:1429 +#: ../../library/importlib.rst:1263 msgid "" "Create a new module based on **spec** and :meth:`spec.loader.create_module " "`." msgstr "" -#: ../../library/importlib.rst:1432 +#: ../../library/importlib.rst:1266 msgid "" "If :meth:`spec.loader.create_module ` " "does not return ``None``, then any pre-existing attributes will not be " @@ -1688,14 +1519,14 @@ msgid "" "accessing **spec** or setting an attribute on the module." msgstr "" -#: ../../library/importlib.rst:1437 +#: ../../library/importlib.rst:1271 msgid "" "This function is preferred over using :class:`types.ModuleType` to create a " "new module as **spec** is used to set as many import-controlled attributes " "on the module as possible." msgstr "" -#: ../../library/importlib.rst:1445 +#: ../../library/importlib.rst:1279 msgid "" "A factory function for creating a :class:`~importlib.machinery.ModuleSpec` " "instance based on a loader. The parameters have the same meaning as they do " @@ -1704,7 +1535,7 @@ msgid "" "spec." msgstr "" -#: ../../library/importlib.rst:1455 +#: ../../library/importlib.rst:1289 msgid "" "A factory function for creating a :class:`~importlib.machinery.ModuleSpec` " "instance based on the path to a file. Missing information will be filled in " @@ -1712,14 +1543,14 @@ msgid "" "module will be file-based." msgstr "" -#: ../../library/importlib.rst:1467 +#: ../../library/importlib.rst:1301 msgid "" "Return the hash of *source_bytes* as bytes. A hash-based ``.pyc`` file " "embeds the :func:`source_hash` of the corresponding source file's contents " "in its header." msgstr "" -#: ../../library/importlib.rst:1475 +#: ../../library/importlib.rst:1309 msgid "" "A context manager that can temporarily skip the compatibility check for " "extension modules. By default the check is enabled and will fail when a " @@ -1728,14 +1559,14 @@ msgid "" "interpreter GIL, when imported in an interpreter with its own GIL." msgstr "" -#: ../../library/importlib.rst:1482 +#: ../../library/importlib.rst:1316 msgid "" "Note that this function is meant to accommodate an unusual case; one which " "is likely to eventually go away. There's is a pretty good chance this is " "not what you were looking for." msgstr "" -#: ../../library/importlib.rst:1486 +#: ../../library/importlib.rst:1320 msgid "" "You can get the same effect as this function by implementing the basic " "interface of multi-phase init (:pep:`489`) and lying about support for " @@ -1744,19 +1575,19 @@ msgstr "" "你可以透過實作多階段初始化的基本介面 (:pep:`489`) 並假稱有多個直譯器(或直譯" "器各別持有的 GIL)的支援,來達到與此函式相同的效果。" -#: ../../library/importlib.rst:1491 +#: ../../library/importlib.rst:1325 msgid "" "Using this function to disable the check can lead to unexpected behavior and " "even crashes. It should only be used during extension module development." msgstr "" -#: ../../library/importlib.rst:1499 +#: ../../library/importlib.rst:1333 msgid "" "A class which postpones the execution of the loader of a module until the " "module has an attribute accessed." msgstr "" -#: ../../library/importlib.rst:1502 +#: ../../library/importlib.rst:1336 msgid "" "This class **only** works with loaders that define :meth:`~importlib.abc." "Loader.exec_module` as control over what module type is used for the module " @@ -1769,7 +1600,7 @@ msgid "" "raised if such a substitution is detected." msgstr "" -#: ../../library/importlib.rst:1513 +#: ../../library/importlib.rst:1347 msgid "" "For projects where startup time is critical, this class allows for " "potentially minimizing the cost of loading a module if it is never used. For " @@ -1778,21 +1609,21 @@ msgid "" "postponed and thus occurring out of context." msgstr "" -#: ../../library/importlib.rst:1521 +#: ../../library/importlib.rst:1355 msgid "" "Began calling :meth:`~importlib.abc.Loader.create_module`, removing the " "compatibility warning for :class:`importlib.machinery.BuiltinImporter` and :" "class:`importlib.machinery.ExtensionFileLoader`." msgstr "" -#: ../../library/importlib.rst:1528 +#: ../../library/importlib.rst:1362 msgid "" "A class method which returns a callable that creates a lazy loader. This is " "meant to be used in situations where the loader is passed by class instead " "of by instance. ::" msgstr "" -#: ../../library/importlib.rst:1533 +#: ../../library/importlib.rst:1367 msgid "" "suffixes = importlib.machinery.SOURCE_SUFFIXES\n" "loader = importlib.machinery.SourceFileLoader\n" @@ -1804,20 +1635,20 @@ msgstr "" "lazy_loader = importlib.util.LazyLoader.factory(loader)\n" "finder = importlib.machinery.FileFinder(path, (lazy_loader, suffixes))" -#: ../../library/importlib.rst:1541 +#: ../../library/importlib.rst:1375 msgid "Examples" msgstr "範例" -#: ../../library/importlib.rst:1544 +#: ../../library/importlib.rst:1378 msgid "Importing programmatically" msgstr "" -#: ../../library/importlib.rst:1546 +#: ../../library/importlib.rst:1380 msgid "" "To programmatically import a module, use :func:`importlib.import_module`. ::" msgstr "" -#: ../../library/importlib.rst:1549 +#: ../../library/importlib.rst:1383 msgid "" "import importlib\n" "\n" @@ -1827,23 +1658,23 @@ msgstr "" "\n" "itertools = importlib.import_module('itertools')" -#: ../../library/importlib.rst:1555 +#: ../../library/importlib.rst:1389 msgid "Checking if a module can be imported" msgstr "" -#: ../../library/importlib.rst:1557 +#: ../../library/importlib.rst:1391 msgid "" "If you need to find out if a module can be imported without actually doing " "the import, then you should use :func:`importlib.util.find_spec`." msgstr "" -#: ../../library/importlib.rst:1560 +#: ../../library/importlib.rst:1394 msgid "" "Note that if ``name`` is a submodule (contains a dot), :func:`importlib.util." "find_spec` will import the parent module. ::" msgstr "" -#: ../../library/importlib.rst:1564 +#: ../../library/importlib.rst:1398 msgid "" "import importlib.util\n" "import sys\n" @@ -1863,11 +1694,11 @@ msgid "" " print(f\"can't find the {name!r} module\")" msgstr "" -#: ../../library/importlib.rst:1583 +#: ../../library/importlib.rst:1417 msgid "Importing a source file directly" msgstr "" -#: ../../library/importlib.rst:1585 +#: ../../library/importlib.rst:1419 msgid "" "This recipe should be used with caution: it is an approximation of an import " "statement where the file path is specified directly, rather than :data:`sys." @@ -1877,13 +1708,13 @@ msgid "" "file is appropriate." msgstr "" -#: ../../library/importlib.rst:1592 +#: ../../library/importlib.rst:1426 msgid "" "To import a Python source file directly from a path, use the following " "recipe::" msgstr "" -#: ../../library/importlib.rst:1594 +#: ../../library/importlib.rst:1428 msgid "" "import importlib.util\n" "import sys\n" @@ -1906,15 +1737,15 @@ msgid "" "json = import_from_path(module_name, file_path)" msgstr "" -#: ../../library/importlib.rst:1616 +#: ../../library/importlib.rst:1450 msgid "Implementing lazy imports" msgstr "" -#: ../../library/importlib.rst:1618 +#: ../../library/importlib.rst:1452 msgid "The example below shows how to implement lazy imports::" msgstr "" -#: ../../library/importlib.rst:1620 +#: ../../library/importlib.rst:1454 msgid "" ">>> import importlib.util\n" ">>> import sys\n" @@ -1950,11 +1781,11 @@ msgstr "" ">>> lazy_typing.TYPE_CHECKING\n" "False" -#: ../../library/importlib.rst:1639 +#: ../../library/importlib.rst:1473 msgid "Setting up an importer" msgstr "" -#: ../../library/importlib.rst:1641 +#: ../../library/importlib.rst:1475 msgid "" "For deep customizations of import, you typically want to implement an :term:" "`importer`. This means managing both the :term:`finder` and :term:`loader` " @@ -1968,7 +1799,7 @@ msgid "" "for the appropriate classes defined within this package)::" msgstr "" -#: ../../library/importlib.rst:1652 +#: ../../library/importlib.rst:1486 msgid "" "import importlib.machinery\n" "import sys\n" @@ -1992,11 +1823,11 @@ msgid "" "sys.path_hooks.append(SpamPathEntryFinder.path_hook(loader_details))" msgstr "" -#: ../../library/importlib.rst:1673 +#: ../../library/importlib.rst:1507 msgid "Approximating :func:`importlib.import_module`" msgstr "" -#: ../../library/importlib.rst:1675 +#: ../../library/importlib.rst:1509 msgid "" "Import itself is implemented in Python code, making it possible to expose " "most of the import machinery through importlib. The following helps " @@ -2004,7 +1835,7 @@ msgid "" "approximate implementation of :func:`importlib.import_module`::" msgstr "" -#: ../../library/importlib.rst:1681 +#: ../../library/importlib.rst:1515 msgid "" "import importlib.util\n" "import sys\n" @@ -2045,6 +1876,12 @@ msgstr "universal newlines" msgid "importlib.abc.InspectLoader.get_source method" msgstr "importlib.abc.InspectLoader.get_source 方法" +#~ msgid "Read contents of ``self`` as bytes." +#~ msgstr "以位元組讀取 ``self`` 的內容。" + +#~ msgid "Read contents of ``self`` as text." +#~ msgstr "以文字讀取 ``self`` 的內容。" + #~ msgid ":attr:`__cached__`" #~ msgstr ":attr:`__cached__`" diff --git a/library/inspect.po b/library/inspect.po index 1a82a11623..9444944dcd 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-12-29 00:16+0000\n" +"POT-Creation-Date: 2026-01-24 22:47+0000\n" "PO-Revision-Date: 2022-10-16 06:59+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -794,7 +794,7 @@ msgid "" "Sync functions marked with :func:`markcoroutinefunction` now return ``True``." msgstr "" -#: ../../library/inspect.rst:455 ../../library/inspect.rst:525 +#: ../../library/inspect.rst:455 msgid "" "Functions wrapped in :func:`functools.partialmethod` now return ``True`` if " "the wrapped function is a :term:`coroutine function`." @@ -886,6 +886,12 @@ msgid "" "wrapped function is an :term:`asynchronous generator` function." msgstr "" +#: ../../library/inspect.rst:525 +msgid "" +"Functions wrapped in :func:`functools.partialmethod` now return ``True`` if " +"the wrapped function is a :term:`asynchronous generator` function." +msgstr "" + #: ../../library/inspect.rst:531 msgid "" "Return ``True`` if the object is an :term:`asynchronous generator iterator` " @@ -2195,6 +2201,7 @@ msgstr "GEN_CREATED:等待開始執行。" #: ../../library/inspect.rst:1601 msgid "GEN_RUNNING: Currently being executed by the interpreter." msgstr "GEN_RUNNING:目前正在被直譯器執行。" + #: ../../library/inspect.rst:1602 msgid "GEN_SUSPENDED: Currently suspended at a yield expression." msgstr "" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index dc6419a7dc..024bd8d699 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-01-22 16:55+0000\n" +"POT-Creation-Date: 2026-01-24 22:47+0000\n" "PO-Revision-Date: 2018-07-15 18:56+0800\n" "Last-Translator: \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -875,7 +875,7 @@ msgid "" "new ABC for access to, opening, and reading *resources* inside packages. " "Resources are roughly similar to files inside packages, but they needn't be " "actual files on the physical file system. Module loaders can provide a :" -"meth:`!get_resource_reader` function which returns a :class:`importlib.abc." +"meth:`!get_resource_reader` function which returns a :class:`!importlib.abc." "ResourceReader` instance to support this new API. Built-in file path " "loaders and zip file loaders both support this." msgstr "" @@ -1500,7 +1500,7 @@ msgstr "importlib" #: ../../whatsnew/3.7.rst:1046 msgid "" -"The :class:`importlib.abc.ResourceReader` ABC was introduced to support the " +"The :class:`!importlib.abc.ResourceReader` ABC was introduced to support the " "loading of resources from packages. See also :ref:" "`whatsnew37_importlib_resources`. (Contributed by Barry Warsaw, Brett Cannon " "in :issue:`32248`.)" @@ -2911,7 +2911,7 @@ msgstr "" #: ../../whatsnew/3.7.rst:2034 msgid "" "The :class:`importlib.abc.ResourceLoader` ABC has been deprecated in favour " -"of :class:`importlib.abc.ResourceReader`." +"of :class:`!importlib.abc.ResourceReader`." msgstr "" #: ../../whatsnew/3.7.rst:2041