diff options
author | Mark Shannon <mark@hotpy.org> | 2024-06-19 16:54:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 16:54:13 (GMT) |
commit | d1c673b658977a8e6236feee579308e0ed6a0187 (patch) | |
tree | 7202eaae095a36918a8d72503c9bbf9af9786205 /Misc/NEWS.d | |
parent | 00257c746c447a2e026b5a2a618f0e033fb90111 (diff) | |
download | cpython-d1c673b658977a8e6236feee579308e0ed6a0187.zip cpython-d1c673b658977a8e6236feee579308e0ed6a0187.tar.gz cpython-d1c673b658977a8e6236feee579308e0ed6a0187.tar.bz2 |
GH-120097: Make FrameLocalsProxy a mapping (#120101)
* Register FrameLocalsProxy as a subclass of collections.abc.Mapping
* Allow FrameLocalsProxy to matching mapping patterns
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2024-06-05-10-32-44.gh-issue-120097.9S2klk.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-06-05-10-32-44.gh-issue-120097.9S2klk.rst b/Misc/NEWS.d/next/Core and Builtins/2024-06-05-10-32-44.gh-issue-120097.9S2klk.rst new file mode 100644 index 0000000..39d829b --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-06-05-10-32-44.gh-issue-120097.9S2klk.rst @@ -0,0 +1,2 @@ +``FrameLocalsProxy`` now subclasses ``collections.abc.Mapping`` and can be +matched as a mapping in ``match`` statements |