@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.13\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2024-10-04 14:17 +0000\n "
19+ "POT-Creation-Date : 2024-12-13 14:18 +0000\n "
2020"PO-Revision-Date : 2022-11-05 19:48+0000\n "
2121"Last-Translator : Freesand Leo <yuqinju@163.com>, 2024\n "
2222"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -175,34 +175,61 @@ msgstr ""
175175"所描述的)。"
176176
177177#: ../../c-api/frame.rst:134
178- msgid "As part of :pep:`667`, return a proxy object for optimized scopes."
179- msgstr "作为 :pep:`667` 的组成部分,为已优化作用域返回一个代理对象。"
178+ msgid ""
179+ "As part of :pep:`667`, return an instance of "
180+ ":c:var:`PyFrameLocalsProxy_Type`."
181+ msgstr "作为 :pep:`667` 的组成部分,返回一个 :c:var:`PyFrameLocalsProxy_Type` 的实例。"
180182
181183#: ../../c-api/frame.rst:140
182184msgid "Return the line number that *frame* is currently executing."
183185msgstr "返回 *frame* 当前正在执行的行号。"
184186
185- #: ../../c-api/frame.rst:145
187+ #: ../../c-api/frame.rst:144
188+ msgid "Frame Locals Proxies"
189+ msgstr "帧 locals 代理"
190+
191+ #: ../../c-api/frame.rst:148
192+ msgid ""
193+ "The :attr:`~frame.f_locals` attribute on a :ref:`frame object <frame-"
194+ "objects>` is an instance of a \" frame-locals proxy\" . The proxy object "
195+ "exposes a write-through view of the underlying locals dictionary for the "
196+ "frame. This ensures that the variables exposed by ``f_locals`` are always up"
197+ " to date with the live local variables in the frame itself."
198+ msgstr ""
199+
200+ #: ../../c-api/frame.rst:154
201+ msgid "See :pep:`667` for more information."
202+ msgstr "请参阅 :pep:`667` 了解详情。"
203+
204+ #: ../../c-api/frame.rst:158
205+ msgid "The type of frame :func:`locals` proxy objects."
206+ msgstr "帧 :func:`locals` 代理对象的类型。"
207+
208+ #: ../../c-api/frame.rst:162
209+ msgid "Return non-zero if *obj* is a frame :func:`locals` proxy."
210+ msgstr "如果 *obj* 是一个帧 :func:`locals` 代理则返回非零值。"
211+
212+ #: ../../c-api/frame.rst:165
186213msgid "Internal Frames"
187214msgstr "内部帧"
188215
189- #: ../../c-api/frame.rst:147
216+ #: ../../c-api/frame.rst:167
190217msgid "Unless using :pep:`523`, you will not need this."
191218msgstr "除非使用:pep:`523`,否则你不会需要它。"
192219
193- #: ../../c-api/frame.rst:151
220+ #: ../../c-api/frame.rst:171
194221msgid "The interpreter's internal frame representation."
195222msgstr "解释器的内部帧表示。"
196223
197- #: ../../c-api/frame.rst:157
224+ #: ../../c-api/frame.rst:177
198225msgid "Return a :term:`strong reference` to the code object for the frame."
199226msgstr "返回一个指向帧的代码对象的 :term:`strong reference`。"
200227
201- #: ../../c-api/frame.rst:164
228+ #: ../../c-api/frame.rst:184
202229msgid "Return the byte offset into the last executed instruction."
203230msgstr "将字节偏移量返回到最后执行的指令中。"
204231
205- #: ../../c-api/frame.rst:171
232+ #: ../../c-api/frame.rst:191
206233msgid ""
207234"Return the currently executing line number, or -1 if there is no line "
208235"number."
0 commit comments