what the heck does this mean?

Calvin Spealman ironfroggy at socialserve.com
Thu Dec 13 12:18:08 EST 2007


On Dec 12, 2007, at 10:57 PM, katie smith wrote:

> Traceback (most recent call last):
>   File "C:\Python25\empire\Empire Strategy.pyw", line 322
>     Maty = Searched(number)

Look, you're calling Searched right here with Searched(number)

> TypeError: 'list' object is not callable
...
>         Maty = Searched[number]

But, here you obviously think you are actually subscripting. The WTF  
here is that you rewrote all this code into the email instead of just  
copy and pasting it to get exactly the same. Do not trust your eyes.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071213/b167fcb0/attachment.html>


More information about the Python-list mailing list