@@ -10,7 +10,7 @@ msgstr ""
1010"Project-Id-Version : Python 3.12\n "
1111"Report-Msgid-Bugs-To : \n "
1212"POT-Creation-Date : 2024-02-26 00:03+0000\n "
13- "PO-Revision-Date : 2024-05-02 18:41 +0800\n "
13+ "PO-Revision-Date : 2024-05-06 17:06 +0800\n "
1414"Last-Translator : KNChiu <y9760210@gmail.com>\n "
1515"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1616"tw)\n "
@@ -726,19 +726,26 @@ msgid ""
726726"Class methods can now wrap other :term:`descriptors <descriptor>` such as :"
727727"func:`property`."
728728msgstr ""
729+ "Class methods 現在可以包裝其他\\ :term:`描述器 <descriptor>` ,例如 :func:"
730+ "`property`"
729731
730732#: ../../library/functions.rst:284
731733msgid ""
732734"Class methods now inherit the method attributes (``__module__``, "
733735"``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and "
734736"have a new ``__wrapped__`` attribute."
735737msgstr ""
738+ "Class method 現在繼承了 method 屬性(``__module__``、``__name__``、"
739+ "``__qualname__``、``__doc__`` 和 ``__annotations__``),並擁有一個新的 "
740+ "``__wrapped__`` 屬性。"
736741
737742#: ../../library/functions.rst:289
738743msgid ""
739744"Class methods can no longer wrap other :term:`descriptors <descriptor>` such "
740745"as :func:`property`."
741746msgstr ""
747+ "Class methods 不能再包裝其他的\\ :term:`描述器 <descriptor>`,例如 :func:"
748+ "`property`。"
742749
743750#: ../../library/functions.rst:296
744751msgid ""
@@ -786,6 +793,12 @@ msgid ""
786793"*flags* argument is it -- the flags (future features and compiler options) "
787794"in the surrounding code are ignored."
788795msgstr ""
796+ "可選引數 *flags* 和 *dont_inherit* 控制啟用哪個\\ :ref:`編譯器選項 <ast-"
797+ "compiler-flags>`\\ 以及允許哪個\\ :ref:`未來功能 <future>`。如果兩者都不存在"
798+ "(或兩者都為零),則會呼叫與 :func:`compile` 相同旗標的程式碼來編譯。如果給"
799+ "定 *flags* 引數而未給定 *dont_inherit*(或為零)則無論如何都會使用由 *flags* "
800+ "引數所指定的編譯器選項和未來陳述式。如果 *dont_inherit* 是一個非零整數,則使"
801+ "用 *flags* 引數 -- 周圍程式碼中的旗標(未來功能和編譯器選項)將被忽略。"
789802
790803#: ../../library/functions.rst:322
791804msgid ""
@@ -885,6 +898,8 @@ msgid ""
885898"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable "
886899"support for top-level ``await``, ``async for``, and ``async with``."
887900msgstr ""
901+ "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` 現在可以傳遞旗標以啟用對頂層 ``await``、"
902+ "``async for`` 和 ``async with`` 的支援。"
888903
889904#: ../../library/functions.rst:377
890905msgid ""
@@ -1128,7 +1143,7 @@ msgstr ""
11281143msgid ""
11291144"The return value is the result of the evaluated expression. Syntax errors "
11301145"are reported as exceptions. Example:"
1131- msgstr ""
1146+ msgstr "回傳值是計算運算式的結果。語法錯誤將被報告為例外。例如: "
11321147
11331148#: ../../library/functions.rst:555
11341149msgid ""
@@ -1156,7 +1171,7 @@ msgstr ""
11561171msgid ""
11571172"If the given source is a string, then leading and trailing spaces and tabs "
11581173"are stripped."
1159- msgstr ""
1174+ msgstr "如果給定來源是一個字串,那麼其前後的空格和定位字元會被移除。 "
11601175
11611176#: ../../library/functions.rst:568
11621177msgid ""
0 commit comments