]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-148675: Reuse typecodes for array.array() error message (#149779)
authorVictor Stinner <vstinner@python.org>
Fri, 15 May 2026 11:22:40 +0000 (13:22 +0200)
committerGitHub <noreply@github.com>
Fri, 15 May 2026 11:22:40 +0000 (13:22 +0200)
commita8ef4679cba11470cfe2677cdd585d6822c80b0a
tree0fbad97d6a69ff35cf310f6c062f1dfe05755734
parent5465b69255890650df99debb8256e0a7bc68138b
gh-148675: Reuse typecodes for array.array() error message (#149779)

array.array() error message now reuses array.typecodes, instead of
maintaining an hardcoded list of valid type codes.
Modules/arraymodule.c