python3的魔法方法 比较运算 __cmp__ : 比较大小 python3中已弃用 案例 __eq__ : == 案例 __ne__ : != __lt__ : < __gt__ : > __le__ : <= __ge__ : >= 数字运算 __add__ : + __sub__ : - __mul__ : * __floordiv__ : // python2 和 python3 有所区别 __truediv__ : / __and__ : & __xor__ : ^ __or__ : | 关键字 __contains__ : in