13 Oct
2019
13 Oct
'19
5:51 p.m.
That's neat! I did not know about __contains__. In that case, I'm really just suggesting some additional implementations of __contains__ in builtin and standard lib classes. PS: Sorry for the missing "return" in the __rin__ example.