[Python-Dev] New operations in Decimal
Facundo Batista
facundo at taniquetil.com.ar
Tue May 1 22:06:50 CEST 2007
Ronald Oussoren wrote:
>> - and (and), or (or), xor (xor) [CD]: Takes two logical operands, the
>> result is the logical operation applied between each digit.
>
> "and" and "or" are keywords, you can't have methods with those names:
You're right. I'll name them logical_and, logical_or, and logical_xor.
Regards,
--
. Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-Dev
mailing list