Possible Duplicate:
TypeError: 'str' object is not callable (Python)
I'm torchuring Python 3.2.3. But my textbook is about 2.7 and 3.0. Judging from the textbook this is pretty Ok:
dict1 = {'one':1, 'two':2, 'three': {'three.1': 3.1, 'three.2': 3.2 }}
str1 = str(dict1)
Why should my Python shout: TypeError: 'str' object is not callable