summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r--Doc/reference/datamodel.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 5e15583..f9438a1 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1341,7 +1341,12 @@ Special read-only attributes
* - .. attribute:: frame.f_locals
- The dictionary used by the frame to look up
- :ref:`local variables <naming>`
+ :ref:`local variables <naming>`.
+ If the frame refers to a function or comprehension,
+ this may return a write-through proxy object.
+
+ .. versionchanged:: 3.13
+ Return a proxy for functions and comprehensions.
* - .. attribute:: frame.f_globals
- The dictionary used by the frame to look up