如果我在Python中创建自己的类,我应该定义哪个函数来允许使用in运算符,例如:
in
class MyClass(object): ... m = MyClass() if 54 in m: ...
用户名或邮箱地址
密码