py-slippi
py-slippi copied to clipboard
Fix repr of IntFlag enums (issue 47)
Fixes #47
The enum._decompose method has been removed in newer versions of Python (at least >=3.11). The name indicates that it was private and should not have been used in the first place. The new implementation uses only documented public methods of the enum library. The repr format should be the exact same.