Fix operator for python3