diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-23 21:57:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 21:57:40 (GMT) |
commit | 4890f65ecf119a18df926d42982c8c6d02f0b9fd (patch) | |
tree | 4ecc13c619feaae8dda67c5315bfb9c59b34c272 /Lib/test/test_multiprocessing_fork/test_threads.py | |
parent | 592bacb6fc0833336c0453e818e9b95016e9fd47 (diff) | |
download | cpython-4890f65ecf119a18df926d42982c8c6d02f0b9fd.zip cpython-4890f65ecf119a18df926d42982c8c6d02f0b9fd.tar.gz cpython-4890f65ecf119a18df926d42982c8c6d02f0b9fd.tar.bz2 |
gh-108308: Use PyDict_GetItemRef() in moduleobject.c (#108381)
Replace PyDict_GetItemWithError() with PyDict_GetItemRef() which
returns a strong reference.
Cleanup also the function: move variable definition to their first
assignation, rename variable names to use name longer than 1
character.
Diffstat (limited to 'Lib/test/test_multiprocessing_fork/test_threads.py')
0 files changed, 0 insertions, 0 deletions