|
6 | 6 | msgstr ""
|
7 | 7 | "Project-Id-Version: Python 3.13\n"
|
8 | 8 | "Report-Msgid-Bugs-To: \n"
|
9 |
| -"POT-Creation-Date: 2024-09-23 07:52+0800\n" |
| 9 | +"POT-Creation-Date: 2024-12-12 00:15+0000\n" |
10 | 10 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
11 | 11 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
12 | 12 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
|
@@ -154,34 +154,61 @@ msgid ""
|
154 | 154 | msgstr ""
|
155 | 155 |
|
156 | 156 | #: ../../c-api/frame.rst:134
|
157 |
| -msgid "As part of :pep:`667`, return a proxy object for optimized scopes." |
| 157 | +msgid "" |
| 158 | +"As part of :pep:`667`, return an instance of :c:var:" |
| 159 | +"`PyFrameLocalsProxy_Type`." |
158 | 160 | msgstr ""
|
159 | 161 |
|
160 | 162 | #: ../../c-api/frame.rst:140
|
161 | 163 | msgid "Return the line number that *frame* is currently executing."
|
162 | 164 | msgstr ""
|
163 | 165 |
|
164 |
| -#: ../../c-api/frame.rst:145 |
| 166 | +#: ../../c-api/frame.rst:144 |
| 167 | +msgid "Frame Locals Proxies" |
| 168 | +msgstr "" |
| 169 | + |
| 170 | +#: ../../c-api/frame.rst:148 |
| 171 | +msgid "" |
| 172 | +"The :attr:`~frame.f_locals` attribute on a :ref:`frame object <frame-" |
| 173 | +"objects>` is an instance of a \"frame-locals proxy\". The proxy object " |
| 174 | +"exposes a write-through view of the underlying locals dictionary for the " |
| 175 | +"frame. This ensures that the variables exposed by ``f_locals`` are always up " |
| 176 | +"to date with the live local variables in the frame itself." |
| 177 | +msgstr "" |
| 178 | + |
| 179 | +#: ../../c-api/frame.rst:154 |
| 180 | +msgid "See :pep:`667` for more information." |
| 181 | +msgstr "" |
| 182 | + |
| 183 | +#: ../../c-api/frame.rst:158 |
| 184 | +msgid "The type of frame :func:`locals` proxy objects." |
| 185 | +msgstr "" |
| 186 | + |
| 187 | +#: ../../c-api/frame.rst:162 |
| 188 | +msgid "Return non-zero if *obj* is a frame :func:`locals` proxy." |
| 189 | +msgstr "" |
| 190 | + |
| 191 | +#: ../../c-api/frame.rst:165 |
165 | 192 | msgid "Internal Frames"
|
166 | 193 | msgstr ""
|
167 | 194 |
|
168 |
| -#: ../../c-api/frame.rst:147 |
| 195 | +#: ../../c-api/frame.rst:167 |
169 | 196 | msgid "Unless using :pep:`523`, you will not need this."
|
170 | 197 | msgstr ""
|
171 | 198 |
|
172 |
| -#: ../../c-api/frame.rst:151 |
| 199 | +#: ../../c-api/frame.rst:171 |
173 | 200 | msgid "The interpreter's internal frame representation."
|
174 | 201 | msgstr ""
|
175 | 202 |
|
176 |
| -#: ../../c-api/frame.rst:157 |
| 203 | +#: ../../c-api/frame.rst:177 |
177 | 204 | msgid "Return a :term:`strong reference` to the code object for the frame."
|
178 | 205 | msgstr ""
|
179 | 206 |
|
180 |
| -#: ../../c-api/frame.rst:164 |
| 207 | +#: ../../c-api/frame.rst:184 |
181 | 208 | msgid "Return the byte offset into the last executed instruction."
|
182 | 209 | msgstr ""
|
183 | 210 |
|
184 |
| -#: ../../c-api/frame.rst:171 |
| 211 | +#: ../../c-api/frame.rst:191 |
185 | 212 | msgid ""
|
186 | 213 | "Return the currently executing line number, or -1 if there is no line number."
|
187 | 214 | msgstr ""
|
0 commit comments