]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98627: Use a Switch in PyModule_FromDefAndSpec2() (gh-98734)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 27 Oct 2022 03:20:54 +0000 (21:20 -0600)
committerGitHub <noreply@github.com>
Thu, 27 Oct 2022 03:20:54 +0000 (21:20 -0600)
commit731909ebef3add602374e8a10002c4574bb24d4b
tree92c1b2dab288c04429d67a25c4d4c594bd2d5815
parent96ae80f1d004f2df4a707919853f0745c9c352d1
gh-98627: Use a Switch in PyModule_FromDefAndSpec2() (gh-98734)

This helps simplify some changes in follow-up PRs.  It also matches what we're doing in PyModule_ExecDef().
Objects/moduleobject.c