@monorail to be fair a lot of dunderscore shit is fucked up and weird in python (i love dunderscore python shit)
@wallhackio well, i say i want __contains__
to work but really i want in
to work. that's just how it's implemented
@monorail I actually don't know any specifics about what __contains__
does so I don't know what this means
@monorail i love python
@wallhackio me too :3
@wallhackio in python in general. that's what
in
"always" does (with the usual caveats about stuff that's defined in C rather than raw python, etc)for some reason, before 3.12,
Enum__contains__
raises aValueError
if a non-enum-member is passed in