diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-02 05:57:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-02 05:57:17 (GMT) |
commit | cf8f292a362c3715c536ff90d3e5d0c98ecf2bf0 (patch) | |
tree | 8363ac3fe6a451824e3a995872cb1976f03b25cb /Python/frozenmain.c | |
parent | 36ca00f44d0136384f3f89b7fe2632bc802ec64d (diff) | |
download | cpython-cf8f292a362c3715c536ff90d3e5d0c98ecf2bf0.zip cpython-cf8f292a362c3715c536ff90d3e5d0c98ecf2bf0.tar.gz cpython-cf8f292a362c3715c536ff90d3e5d0c98ecf2bf0.tar.bz2 |
[3.13] gh-118934: Fix PyEval_GetLocals docs (PEP 667) (GH-119934)
PEP 667's description of the planned changes to PyEval_GetLocals
was internally inconsistent when accepted, so the docs added for
gh-74929 didn't match either the current behaviour or the intended
behaviour once gh-118934 is fixed.
This PR updates the documentation and 3.13 What's New to match the
intended behaviour (once gh-118934 is fixed).
It also tidies up lingering references to `f_locals` always being a
dictionary (this hasn't been true since at least when custom
namespace support for class statement execution was added)
(cherry picked from commit fd6cd621e0cce6ba2e737103d2a62b5ade90f41f)
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Diffstat (limited to 'Python/frozenmain.c')
0 files changed, 0 insertions, 0 deletions