11.. highlight :: c
22
3- Frame Objects
3+ Frame objects
44-------------
55
66.. c :type :: PyFrameObject
@@ -147,7 +147,7 @@ See also :ref:`Reflection <reflection>`.
147147 Return the line number that *frame * is currently executing.
148148
149149
150- Frame Locals Proxies
150+ Frame locals proxies
151151^^^^^^^^^^^^^^^^^^^^
152152
153153.. versionadded :: 3.13
@@ -169,7 +169,7 @@ See :pep:`667` for more information.
169169 Return non-zero if *obj * is a frame :func: `locals ` proxy.
170170
171171
172- Legacy Local Variable APIs
172+ Legacy local variable APIs
173173^^^^^^^^^^^^^^^^^^^^^^^^^^
174174
175175These APIs are :term: `soft deprecated `. As of Python 3.13, they do nothing.
@@ -178,48 +178,42 @@ They exist solely for backwards compatibility.
178178
179179.. c :function :: void PyFrame_LocalsToFast (PyFrameObject *f, int clear)
180180
181- This function is :term: `soft deprecated ` and does nothing.
182-
183181 Prior to Python 3.13, this function would copy the :attr: `~frame.f_locals `
184182 attribute of *f * to the internal "fast" array of local variables, allowing
185183 changes in frame objects to be visible to the interpreter. If *clear * was
186184 true, this function would process variables that were unset in the locals
187185 dictionary.
188186
189- .. versionchanged :: 3.13
187+ .. soft-deprecated :: 3.13
190188 This function now does nothing.
191189
192190
193191.. c :function :: void PyFrame_FastToLocals (PyFrameObject *f)
194192
195- This function is :term: `soft deprecated ` and does nothing.
196-
197193 Prior to Python 3.13, this function would copy the internal "fast" array
198194 of local variables (which is used by the interpreter) to the
199195 :attr:`~frame.f_locals` attribute of *f*, allowing changes in local
200196 variables to be visible to frame objects.
201197
202- .. versionchanged :: 3.13
198+ .. soft-deprecated :: 3.13
203199 This function now does nothing.
204200
205201
206202.. c:function:: int PyFrame_FastToLocalsWithError(PyFrameObject *f)
207203
208- This function is :term: `soft deprecated ` and does nothing.
209-
210204 Prior to Python 3.13, this function was similar to
211205 :c:func: `PyFrame_FastToLocals `, but would return ``0 `` on success, and
212206 ``-1 `` with an exception set on failure.
213207
214- .. versionchanged :: 3.13
208+ .. soft-deprecated :: 3.13
215209 This function now does nothing.
216210
217211
218212.. seealso ::
219213 :pep: `667 `
220214
221215
222- Internal Frames
216+ Internal frames
223217^^^^^^^^^^^^^^^
224218
225219Unless using :pep: `523 `, you will not need this.
@@ -249,5 +243,3 @@ Unless using :pep:`523`, you will not need this.
249243 Return the currently executing line number, or -1 if there is no line number.
250244
251245 .. versionadded :: 3.12
252-
253-
0 commit comments