count strangeness
James Stroud
jstroud at mbi.ucla.edu
Sun May 22 03:03:05 EDT 2011
Chris Rebert wrote:
> On Sat, May 21, 2011 at 11:32 PM, James Stroud <jstroud at mbi.ucla.edu> wrote:
>> Chris Rebert wrote:
>>>> WTF?
>>> Assuming your question is "Why is 1024 there twice?", the answer is
>> The question is "Why is 1024 there at all?" It should be 10.
>
> Ah. This is why it's better to be more explicit about what your
> question is than a mere "WTF?".
>
> In that case, I believe you meant to write:
> count += c.doit()
> rather than:
> count += c.doit(count)
I get it. Thank you.
James
More information about the Python-list
mailing list