Closed ayaka14732 closed 4 months ago
So StrEnum
a new Python feature introduced in 3.11 and currently the package is covering support from 3.6+. This means we will drop support for older Python versions.
I would suggest extending the class with (str, Enum)
instead or polyfilling by the StrEnum
package for better compatibility.
P.S. Our python-jyutping currently does not extend anything at all.
Use StrEnum in Python 3.11+ to return the result