相关疑难解决方法(0)

有没有办法在Python中覆盖和运算符?

我试图重写__and__,但这是&操作,不 -这是我想要的.我可以覆盖

python

29
推荐指数
2
解决办法
7418
查看次数

标签 统计

python ×1