4 ms·
This would need to be done in Python itself, not Maya. I'd be strongly in favor of it though.
by AdamN 10y ago
This would need to be done in Python itself, not Maya. I'd be strongly in favor of it though.
- yunruse 10y agoNot necessarily. Python objects can declare a `__contains__` function (such that `x in y` corresponds to `x.__contains__(y)`): https://docs.python.org/3.5/reference/datamodel.html#object.__contains__ https://docs.python.org/3.5/reference/datamodel.html#object....