diff options
author | Beomsoo Kim <beoms424@gmail.com> | 2024-11-12 00:11:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 00:11:40 (GMT) |
commit | 494360afd00dc8f6b549f160525c3e86ec14905d (patch) | |
tree | 4a8c722e9a664ee5118680e7c8c32960bfcefd80 /Python/pystrcmp.c | |
parent | a6d48e8f8323758771f5e130f67c9bdf7b4f25c5 (diff) | |
download | cpython-494360afd00dc8f6b549f160525c3e86ec14905d.zip cpython-494360afd00dc8f6b549f160525c3e86ec14905d.tar.gz cpython-494360afd00dc8f6b549f160525c3e86ec14905d.tar.bz2 |
gh-58749: Remove incorrect language spec claims about the global statement (GH-126523)
* Removes erroneous explanation of the `global` statement restrictions; a name declared as global can be subsequently bound using any kind of name binding operation.
* Updates `test_global.py` to also test various name-binding scenarios for global
variables to ensure correct behavior
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions