diff --git a/library/functions.po b/library/functions.po index 20c0583c73..6a8b4731c2 100644 --- a/library/functions.po +++ b/library/functions.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-02-26 00:03+0000\n" -"PO-Revision-Date: 2024-05-02 18:41+0800\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-" "tw)\n" @@ -726,6 +726,8 @@ msgid "" "Class methods can now wrap other :term:`descriptors ` such as :" "func:`property`." msgstr "" +"Class methods 現在可以包裝其他\\ :term:`描述器 ` ,例如 :func:" +"`property`" #: ../../library/functions.rst:284 msgid "" @@ -733,12 +735,17 @@ msgid "" "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and " "have a new ``__wrapped__`` attribute." msgstr "" +"Class method 現在繼承了 method 屬性(``__module__``、``__name__``、" +"``__qualname__``、``__doc__`` 和 ``__annotations__``),並擁有一個新的 " +"``__wrapped__`` 屬性。" #: ../../library/functions.rst:289 msgid "" "Class methods can no longer wrap other :term:`descriptors ` such " "as :func:`property`." msgstr "" +"Class methods 不能再包裝其他的\\ :term:`描述器 `,例如 :func:" +"`property`。" #: ../../library/functions.rst:296 msgid "" @@ -786,6 +793,12 @@ msgid "" "*flags* argument is it -- the flags (future features and compiler options) " "in the surrounding code are ignored." msgstr "" +"可選引數 *flags* 和 *dont_inherit* 控制啟用哪個\\ :ref:`編譯器選項 `\\ 以及允許哪個\\ :ref:`未來功能 `。如果兩者都不存在" +"(或兩者都為零),則會呼叫與 :func:`compile` 相同旗標的程式碼來編譯。如果給" +"定 *flags* 引數而未給定 *dont_inherit*(或為零)則無論如何都會使用由 *flags* " +"引數所指定的編譯器選項和未來陳述式。如果 *dont_inherit* 是一個非零整數,則使" +"用 *flags* 引數 -- 周圍程式碼中的旗標(未來功能和編譯器選項)將被忽略。" #: ../../library/functions.rst:322 msgid "" @@ -885,6 +898,8 @@ msgid "" "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable " "support for top-level ``await``, ``async for``, and ``async with``." msgstr "" +"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` 現在可以傳遞旗標以啟用對頂層 ``await``、" +"``async for`` 和 ``async with`` 的支援。" #: ../../library/functions.rst:377 msgid "" @@ -1128,7 +1143,7 @@ msgstr "" msgid "" "The return value is the result of the evaluated expression. Syntax errors " "are reported as exceptions. Example:" -msgstr "" +msgstr "回傳值是計算運算式的結果。語法錯誤將被報告為例外。例如:" #: ../../library/functions.rst:555 msgid "" @@ -1156,7 +1171,7 @@ msgstr "" msgid "" "If the given source is a string, then leading and trailing spaces and tabs " "are stripped." -msgstr "" +msgstr "如果給定來源是一個字串,那麼其前後的空格和定位字元會被移除。" #: ../../library/functions.rst:568 msgid ""