"member thudfoo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | On 5/10/08, Gandalf <[EMAIL PROTECTED]> wrote: | > my manual contain chapter about lists with python. when i try to copy | > paste : | > | > li = ["a", "b", "mpilgrim", "z", "example"] (1) | > | > | > it i get this errore: | > | > "TypeError: 'list' object is not callable"
| Remove the "(1)" The '(1)' was almost certainly an 'equation number' or 'line label' added so the author could refer it in the text, like 'type line (1) into the interpreter and... . This is a standard mathematical idiom, but sometimes confusing when there is not enough space between the equation and the label, and especially when the equation label *could* be part of the equation, as with Python. -- http://mail.python.org/mailman/listinfo/python-list
