]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93035: [Enum] Fix IntFlag crash when no single-bit members (GH-93076)
authorTobin Yehle <tobinyehle@gmail.com>
Wed, 25 May 2022 01:16:20 +0000 (19:16 -0600)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 01:16:20 +0000 (18:16 -0700)
commit08cfc3dabf0f81a4494cd0d697befc7d0dec77b7
treee4930c454df936dfc2b4510846c547356aa20e78
parent4a31ed8a32699973ae1f779022794fdab9fa08ee
gh-93035: [Enum] Fix IntFlag crash when no single-bit members (GH-93076)

`EnumType` attempts to create a custom docstring for each enum/flag, but that was failing with pathological flags that had no members (only multi-bit aliases).
Lib/enum.py