@@ -10,7 +10,7 @@ msgstr ""
10
10
"Project-Id-Version :Python 3.12\n "
11
11
"Report-Msgid-Bugs-To :\n "
12
12
"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 "
14
14
"Last-Translator :KNChiu <y9760210@gmail.com>\n "
15
15
"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
16
16
"tw)\n "
@@ -726,19 +726,26 @@ msgid ""
726
726
"Class methods can now wrap other :term:`descriptors <descriptor>` such as :"
727
727
"func:`property`."
728
728
msgstr ""
729
+ "Class methods 現在可以包裝其他\\ :term:`描述器 <descriptor>` ,例如 :func:"
730
+ "`property`"
729
731
730
732
#: ../../library/functions.rst:284
731
733
msgid ""
732
734
"Class methods now inherit the method attributes (``__module__``, "
733
735
"``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and "
734
736
"have a new ``__wrapped__`` attribute."
735
737
msgstr ""
738
+ "Class method 現在繼承了 method 屬性(``__module__``、``__name__``、"
739
+ "``__qualname__``、``__doc__`` 和 ``__annotations__``),並擁有一個新的 "
740
+ "``__wrapped__`` 屬性。"
736
741
737
742
#: ../../library/functions.rst:289
738
743
msgid ""
739
744
"Class methods can no longer wrap other :term:`descriptors <descriptor>` such "
740
745
"as :func:`property`."
741
746
msgstr ""
747
+ "Class methods 不能再包裝其他的\\ :term:`描述器 <descriptor>`,例如 :func:"
748
+ "`property`。"
742
749
743
750
#: ../../library/functions.rst:296
744
751
msgid ""
@@ -786,6 +793,12 @@ msgid ""
786
793
"*flags* argument is it -- the flags (future features and compiler options) "
787
794
"in the surrounding code are ignored."
788
795
msgstr ""
796
+ "可選引數 *flags* 和 *dont_inherit* 控制啟用哪個\\ :ref:`編譯器選項 <ast-"
797
+ "compiler-flags>`\\ 以及允許哪個\\ :ref:`未來功能 <future>`。如果兩者都不存在"
798
+ "(或兩者都為零),則會呼叫與 :func:`compile` 相同旗標的程式碼來編譯。如果給"
799
+ "定 *flags* 引數而未給定 *dont_inherit*(或為零)則無論如何都會使用由 *flags* "
800
+ "引數所指定的編譯器選項和未來陳述式。如果 *dont_inherit* 是一個非零整數,則使"
801
+ "用 *flags* 引數 -- 周圍程式碼中的旗標(未來功能和編譯器選項)將被忽略。"
789
802
790
803
#: ../../library/functions.rst:322
791
804
msgid ""
@@ -885,6 +898,8 @@ msgid ""
885
898
"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable "
886
899
"support for top-level ``await``, ``async for``, and ``async with``."
887
900
msgstr ""
901
+ "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` 現在可以傳遞旗標以啟用對頂層 ``await``、"
902
+ "``async for`` 和 ``async with`` 的支援。"
888
903
889
904
#: ../../library/functions.rst:377
890
905
msgid ""
@@ -1128,7 +1143,7 @@ msgstr ""
1128
1143
msgid ""
1129
1144
"The return value is the result of the evaluated expression. Syntax errors "
1130
1145
"are reported as exceptions. Example:"
1131
- msgstr ""
1146
+ msgstr "回傳值是計算運算式的結果。語法錯誤將被報告為例外。例如: "
1132
1147
1133
1148
#: ../../library/functions.rst:555
1134
1149
msgid ""
@@ -1156,7 +1171,7 @@ msgstr ""
1156
1171
msgid ""
1157
1172
"If the given source is a string, then leading and trailing spaces and tabs "
1158
1173
"are stripped."
1159
- msgstr ""
1174
+ msgstr "如果給定來源是一個字串,那麼其前後的空格和定位字元會被移除。 "
1160
1175
1161
1176
#: ../../library/functions.rst:568
1162
1177
msgid ""