66msgstr ""
77"Project-Id-Version :Python 3.14\n "
88"Report-Msgid-Bugs-To :\n "
9- "POT-Creation-Date :2024-12-12 00:15+0000\n "
9+ "POT-Creation-Date :2025-11-11 00:15+0000\n "
1010"PO-Revision-Date :YEAR-MO-DA HO:MI+ZONE\n "
1111"Last-Translator :FULL NAME <EMAIL@ADDRESS>\n "
1212"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -56,95 +56,102 @@ msgid ""
5656msgstr ""
5757
5858#: ../../c-api/frame.rst:34
59+ msgid ""
60+ "Create a new frame object. This function returns a :term:`strong reference` "
61+ "to the new frame object on success, and returns ``NULL`` with an exception "
62+ "set on failure."
63+ msgstr ""
64+
65+ #: ../../c-api/frame.rst:40
5966msgid "Return non-zero if *obj* is a frame object."
6067msgstr ""
6168
62- #: ../../c-api/frame.rst:38
69+ #: ../../c-api/frame.rst:44
6370msgid ""
6471"Previously, this function was only available after including ``<frameobject."
6572"h>``."
6673msgstr ""
6774
68- #: ../../c-api/frame.rst:43
75+ #: ../../c-api/frame.rst:49
6976msgid "Get the *frame* next outer frame."
7077msgstr ""
7178
72- #: ../../c-api/frame.rst:45
79+ #: ../../c-api/frame.rst:51
7380msgid ""
7481"Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer frame."
7582msgstr ""
7683
77- #: ../../c-api/frame.rst:53
84+ #: ../../c-api/frame.rst:59
7885msgid "Get the *frame*'s :attr:`~frame.f_builtins` attribute."
7986msgstr "取得 *frame* 的 :attr:`~frame.f_builtins` 屬性。"
8087
81- #: ../../c-api/frame.rst:55 ../../c-api/frame.rst:86
88+ #: ../../c-api/frame.rst:61 ../../c-api/frame.rst:92
8289msgid "Return a :term:`strong reference`. The result cannot be ``NULL``."
8390msgstr "回傳 :term:`strong reference`。結果不能為 ``NULL``。"
8491
85- #: ../../c-api/frame.rst:62
92+ #: ../../c-api/frame.rst:68
8693msgid "Get the *frame* code."
8794msgstr ""
8895
89- #: ../../c-api/frame.rst:64 ../../c-api/frame.rst:130
96+ #: ../../c-api/frame.rst:70 ../../c-api/frame.rst:136
9097msgid "Return a :term:`strong reference`."
9198msgstr "回傳 :term:`strong reference`。"
9299
93- #: ../../c-api/frame.rst:66
100+ #: ../../c-api/frame.rst:72
94101msgid "The result (frame code) cannot be ``NULL``."
95102msgstr ""
96103
97- #: ../../c-api/frame.rst:73
104+ #: ../../c-api/frame.rst:79
98105msgid ""
99106"Get the generator, coroutine, or async generator that owns this frame, or "
100107"``NULL`` if this frame is not owned by a generator. Does not raise an "
101108"exception, even if the return value is ``NULL``."
102109msgstr ""
103110
104- #: ../../c-api/frame.rst:77
111+ #: ../../c-api/frame.rst:83
105112msgid "Return a :term:`strong reference`, or ``NULL``."
106113msgstr "回傳 :term:`strong reference` 或 ``NULL``。"
107114
108- #: ../../c-api/frame.rst:84
115+ #: ../../c-api/frame.rst:90
109116msgid "Get the *frame*'s :attr:`~frame.f_globals` attribute."
110117msgstr "取得 *frame* 的 :attr:`~frame.f_globals` 屬性。"
111118
112- #: ../../c-api/frame.rst:93
119+ #: ../../c-api/frame.rst:99
113120msgid "Get the *frame*'s :attr:`~frame.f_lasti` attribute."
114121msgstr "取得 *frame* 的 :attr:`~frame.f_lasti` 屬性。"
115122
116- #: ../../c-api/frame.rst:95
123+ #: ../../c-api/frame.rst:101
117124msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
118125msgstr "如果 ``frame.f_lasti`` 是 ``None`` 則回傳 -1。"
119126
120- #: ../../c-api/frame.rst:102
127+ #: ../../c-api/frame.rst:108
121128msgid "Get the variable *name* of *frame*."
122129msgstr "取得 *frame* 的變數 *name*。"
123130
124- #: ../../c-api/frame.rst:104
131+ #: ../../c-api/frame.rst:110
125132msgid "Return a :term:`strong reference` to the variable value on success."
126133msgstr "在成功時回傳變數值的 :term:`strong reference`。"
127134
128- #: ../../c-api/frame.rst:105
135+ #: ../../c-api/frame.rst:111
129136msgid ""
130137"Raise :exc:`NameError` and return ``NULL`` if the variable does not exist."
131138msgstr "如果變數不存在,則引發 :exc:`NameError` 並回傳 ``NULL``。"
132139
133- #: ../../c-api/frame.rst:106
140+ #: ../../c-api/frame.rst:112
134141msgid "Raise an exception and return ``NULL`` on error."
135142msgstr "在錯誤時引發例外並回傳 ``NULL``。"
136143
137- #: ../../c-api/frame.rst:108
144+ #: ../../c-api/frame.rst:114
138145msgid "*name* type must be a :class:`str`."
139146msgstr "*name* 的型別必須是 :class:`str`。"
140147
141- #: ../../c-api/frame.rst:115
148+ #: ../../c-api/frame.rst:121
142149msgid ""
143150"Similar to :c:func:`PyFrame_GetVar`, but the variable name is a C string "
144151"encoded in UTF-8."
145152msgstr ""
146153
147- #: ../../c-api/frame.rst:123
154+ #: ../../c-api/frame.rst:129
148155msgid ""
149156"Get the *frame*'s :attr:`~frame.f_locals` attribute. If the frame refers to "
150157"an :term:`optimized scope`, this returns a write-through proxy object that "
@@ -153,21 +160,21 @@ msgid ""
153160"directly (as described for :func:`locals`)."
154161msgstr ""
155162
156- #: ../../c-api/frame.rst:134
163+ #: ../../c-api/frame.rst:140
157164msgid ""
158165"As part of :pep:`667`, return an instance of :c:var:"
159166"`PyFrameLocalsProxy_Type`."
160167msgstr ""
161168
162- #: ../../c-api/frame.rst:140
169+ #: ../../c-api/frame.rst:146
163170msgid "Return the line number that *frame* is currently executing."
164171msgstr ""
165172
166- #: ../../c-api/frame.rst:144
173+ #: ../../c-api/frame.rst:150
167174msgid "Frame Locals Proxies"
168175msgstr ""
169176
170- #: ../../c-api/frame.rst:148
177+ #: ../../c-api/frame.rst:154
171178msgid ""
172179"The :attr:`~frame.f_locals` attribute on a :ref:`frame object <frame-"
173180"objects>` is an instance of a\" frame-locals proxy\" . The proxy object "
@@ -176,39 +183,87 @@ msgid ""
176183"to date with the live local variables in the frame itself."
177184msgstr ""
178185
179- #: ../../c-api/frame.rst:154
186+ #: ../../c-api/frame.rst:160
180187msgid "See :pep:`667` for more information."
181188msgstr ""
182189
183- #: ../../c-api/frame.rst:158
190+ #: ../../c-api/frame.rst:164
184191msgid "The type of frame :func:`locals` proxy objects."
185192msgstr ""
186193
187- #: ../../c-api/frame.rst:162
194+ #: ../../c-api/frame.rst:168
188195msgid "Return non-zero if *obj* is a frame :func:`locals` proxy."
189196msgstr ""
190197
191- #: ../../c-api/frame.rst:165
198+ #: ../../c-api/frame.rst:172
199+ msgid "Legacy Local Variable APIs"
200+ msgstr ""
201+
202+ #: ../../c-api/frame.rst:174
203+ msgid ""
204+ "These APIs are :term:`soft deprecated`. As of Python 3.13, they do nothing. "
205+ "They exist solely for backwards compatibility."
206+ msgstr ""
207+
208+ #: ../../c-api/frame.rst:180 ../../c-api/frame.rst:194
209+ #: ../../c-api/frame.rst:207
210+ msgid "This function is :term:`soft deprecated` and does nothing."
211+ msgstr ""
212+
213+ #: ../../c-api/frame.rst:182
214+ msgid ""
215+ "Prior to Python 3.13, this function would copy the :attr:`~frame.f_locals` "
216+ "attribute of *f* to the internal\" fast\" array of local variables, allowing "
217+ "changes in frame objects to be visible to the interpreter. If *clear* was "
218+ "true, this function would process variables that were unset in the locals "
219+ "dictionary."
220+ msgstr ""
221+
222+ #: ../../c-api/frame.rst:188 ../../c-api/frame.rst:201
223+ #: ../../c-api/frame.rst:213
224+ msgid "This function now does nothing."
225+ msgstr ""
226+
227+ #: ../../c-api/frame.rst:196
228+ msgid ""
229+ "Prior to Python 3.13, this function would copy the internal\" fast\" array "
230+ "of local variables (which is used by the interpreter) to the :attr:`~frame."
231+ "f_locals` attribute of *f*, allowing changes in local variables to be "
232+ "visible to frame objects."
233+ msgstr ""
234+
235+ #: ../../c-api/frame.rst:209
236+ msgid ""
237+ "Prior to Python 3.13, this function was similar to :c:func:"
238+ "`PyFrame_FastToLocals`, but would return ``0`` on success, and ``-1`` with "
239+ "an exception set on failure."
240+ msgstr ""
241+
242+ #: ../../c-api/frame.rst:218
243+ msgid ":pep:`667`"
244+ msgstr ""
245+
246+ #: ../../c-api/frame.rst:222
192247msgid "Internal Frames"
193248msgstr ""
194249
195- #: ../../c-api/frame.rst:167
250+ #: ../../c-api/frame.rst:224
196251msgid "Unless using :pep:`523`, you will not need this."
197252msgstr ""
198253
199- #: ../../c-api/frame.rst:171
254+ #: ../../c-api/frame.rst:228
200255msgid "The interpreter's internal frame representation."
201256msgstr ""
202257
203- #: ../../c-api/frame.rst:177
258+ #: ../../c-api/frame.rst:234
204259msgid "Return a :term:`strong reference` to the code object for the frame."
205260msgstr ""
206261
207- #: ../../c-api/frame.rst:184
262+ #: ../../c-api/frame.rst:241
208263msgid "Return the byte offset into the last executed instruction."
209264msgstr ""
210265
211- #: ../../c-api/frame.rst:191
266+ #: ../../c-api/frame.rst:248
212267msgid ""
213268"Return the currently executing line number, or -1 if there is no line number."
214269msgstr ""