For Python running in the console:
TypeError: '' object is not callable
The semantics of this statement is: an object cannot be called
For this type of quoted parameter object cannot be called, the possible problems are:
··· The variable name of the defined parameter is the same as the name of the defined function
··· The name of the parameter type is wrong and does not match the actual
··· No return value
TypeError: ‘NoneType ’ object is not callable
The possible problems are
··· def definition does not return return value
··· return does not adjust indentation