Namedtuples: TypeError: 'str' object is not callable

Chris Angelico rosuav at gmail.com
Sat Jan 7 00:14:27 EST 2017


On Sat, Jan 7, 2017 at 4:07 PM, Deborah Swanson
<python at deborahswanson.net> wrote:
> And you would be precisely correct. I have a variable named 'map', and I
> intended to delete it and the code that used it, but totally forgot
> about it. It's still in there somewhere, but a simple search will find
> it.
>
> I really don't know how long it would've taken me to think of that, so
> thank you!

I have a well-trained crystal ball :)

ChrisA



More information about the Python-list mailing list