The existing code can be made more idiomatic and to match the RFC wording better. Mainly creating this issue since I think https://github.com/python/cpython/pull/99588 should have a news entry <!-- gh-linked-prs --> ### Linked PRs * gh-99588 <!-- /gh-linked-prs -->