Commit 37a7f1b
[3.11] pythongh-93035: [Enum] Fix IntFlag crash when no single-bit members (pythonGH-93076) (pythonGH-93197)
`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).
(cherry picked from commit 08cfc3d)
Co-authored-by: Tobin Yehle <[email protected]>1 parent 0fb70ce commit 37a7f1b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| |||
0 commit comments