[Python-checkins] r55138 - python/branches/decimal-branch/Lib/decimal.py

Facundo Batista facundobatista at gmail.com
Mon May 7 19:08:44 CEST 2007


2007/5/4, Neal Norwitz <nnorwitz at gmail.com>:

> Why not use a boolean instead of 0/1?

Because of the spec, there says we must return a 0 or a 1 (actually, I
first coded it returning bool, then had the doubt, re-read the spect,
changed the code, :p).

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


More information about the Python-checkins mailing list