Repository navigation
Commit 3e9dbce
committed
Don't rely on Python 3.12+ enum
Turns out the old implementation here relied on a feature added
in Python 3.12. Converting that to a version that will work on
older Pythons, too. This fixes bug #1.
See: python/cpython#88123__contains__
1 parent 4214448 commit 3e9dbce
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
349 | 353 | | |
350 | | - | |
| 354 | + | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
| |||
0 commit comments