来源:https://stackoverflow.com/questions/10445819/overriding-contains-method-for-a-class 标签 python python-3.x metaclass