[SciPy-Dev] {True, False} should be replaced w/ bool, correct?

Vincent Davis vincent@vincentdavis....
Thu Jun 3 09:10:25 CDT 2010


On Thu, Jun 3, 2010 at 4:40 AM, Ralf Gommers
<ralf.gommers@googlemail.com> wrote:
>
>
> On Thu, Jun 3, 2010 at 1:04 PM, David Goldsmith <d.l.goldsmith@gmail.com>
> wrote:
>>
>> Just checking; see, e.g., scipy.io.matlab.mio.savemat appendmat
>> parameter.  (Or is it possible that the function really needs to see either
>> the word True or the word False?)
>
> Correct, {True, False} should always be changed to bool in the docs.

I didn't see how the "defualt" should be noted on bool options. I
think in most cases it should be clear but it might be nice is it was
explicit.

Vincent

>
> Cheers,
> Ralf
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>


More information about the SciPy-Dev mailing list